PSP Variable下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 1 分鐘LabVIEWAPI 參考LabVIEW G Use the PSP Variable VI and functions to access PSP variables programmatically. 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.Flush Shared Variable Data VIFlushes 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.Parent topic: Shared Variable
Use the PSP Variable VI and functions to access PSP variables programmatically. 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.Flush Shared Variable Data VIFlushes 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.Parent topic: Shared Variable
Use the PSP Variable VI and functions to access PSP variables programmatically. 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.Flush Shared Variable Data VIFlushes 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.Parent topic: Shared Variable