Owning Palette: Shared Variable Node, VI, and Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the PSP Variable VI and functions to access PSP variables programmatically.
Palette Object | Description |
---|---|
Flush Shared Variable Data | Flushes the buffer of all network-published shared variables immediately. LabVIEW uses an 8 kilobyte buffer for all shared variable values, and LabVIEW automatically flushes the 8 kilobyte buffer either when the buffer fills up or after 10 ms have passed. |
Open and Verify Variable Connection | Opens a connection to a shared variable and verifies that the connection is opened successfully. |
Open Variable Connection in Background | Opens a connection to a shared variable in the background. This function does not wait to verify that the connection is opened successfully. |
Read Variable with Timeout | Reads a new value from a network-published shared variable. Instead of returning the latest data value, which might have been read already, this function performs a blocking read, which means the function does not finish executing until a new value arrives or the timeout you specify expires. |