PSP Variable VI and Functions

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 ObjectDescription
Flush Shared Variable DataFlushes 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 ConnectionOpens a connection to a shared variable and verifies that the connection is opened successfully.
Open Variable Connection in BackgroundOpens 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 TimeoutReads 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.


Data Communication Methods Home