Owning Palette: DSC Module VIs and Functions
Requires: DSC Module. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Shared Variables VIs to interact with a shared variable, convert a string to a shared variable and back, and create an invalid shared variable name.
The Shared Variables palette also contains the Shared Variable node, which represents a shared variable on the block diagram, and the DataSocket functions, which you can use to read and write to shared variables.
The VIs on this palette can return general LabVIEW error codes or specific DSC Module error codes.
| Palette Object | Description |
|---|---|
| Cancel Value Change Notifications | Stops value change events for the specified shared variables and closes the associated PSP connections. |
| Disable Value Change Notifications | Releases an event reference created by the Enable Value Change Notifications VI and cleans up all resources associated with the event. Any Event Structures registered for this event stop receiving value change notifications. |
| Enable Value Change Notifications | Returns a reference to a user event that you can use to monitor changes in the values of shared variables. |
| Not a Shared Variable | Creates a shared variable name that is guaranteed to not be a valid shared variable name. |
| Request Value Change Notifications | Subscribes to the specified shared variables and begins generating notifications. Call this VI multiple times to add to the list of shared variables being monitored for value changes. |
| Shared Variable Constant | A constant input for a shared variable and/or a VI. |
| Shared Variable Error from Quality | Converts status and quality codes to an error I/O cluster. |
| Shared Variable to String | Converts a shared variable to a string. |
| String to Shared Variable | Converts a string to a shared variable. valid shared variable? is TRUE if the resulting shared variable is deployed. valid shared variable? is FALSE when the resulting shared variable does not exist or is created in the buffer. |