Committing a Single Shared Variable

Complete the following steps to commit a single shared variable to the Shared Variable Engine (SVE).

  1. Wire a shared variable reference number to the Property Set Mode property of the SharedVariableIO class.
  2. Set the Property Set Mode property to buffer.
    Note If you are creating a new shared variable, set the set mode input of the Create Shared Variable VI to buffer.
  3. Wire the shared variable output of the Property Set Mode property or of the Create Shared Variable VI to the shared variable input of another SharedVariableIO class Property Node.
  4. Use the second Property Node to enable other SharedVariableIO properties for the shared variable.
  5. Wire the shared variable output of the second Property Node to the shared variable input of a Property Set Mode property.
  6. Set the Property Set Mode property to commit.
  7. Run the VI.

Committing Multiple Shared Variables

Complete the following steps to commit multiple shared variables to the SVE simultaneously.

  1. Wire a shared variable refnum to the Property Set Mode property of the SharedVariableIO class.
  2. Set the Property Set Mode property to buffer.
    Note If you are creating a new shared variable, set the set mode input of the Create Shared Variable VI to buffer.
  3. Wire the shared variable output of the Property Set Mode property or of the Create Shared Variable VI to the shared variable input of another SharedVariableIO class Property Node.
  4. Use the second Property Node to enable other SharedVariableIO properties for the shared variable.
  5. Repeat steps 1-4 for each shared variable you want to commit.
  6. Wire an array of the shared variable references you created or modified to the shared variables input of the Commit Shared Variables VI.
  7. Run the VI.