NI Distributed System Manager for LabVIEW 2012 Help
»View Product Info
Requires: NI Distributed System Manager (Windows)
In the Shared Variable Properties dialog box, select Network to display this page.
Use this page to set the network options for a variable. This page includes the following components:
- Use Buffering—Enables you to store data from the variable in a first-in-first-out (FIFO) buffer. The variable overwrites the first value in the FIFO if the FIFO reaches capacity.
- Number of arrays—Specifies the number of arrays of elements the buffer can contain. This control appears only for array data types.
- Number of elements (type: xxx)—Specifies the number of shared variables the buffer can contain. The data type you select in the Data Type pull-down menu determines the variable xxx. For array data types, this control specifies the number of elements within each array that the buffer can contain. This control does not appear for all data types.
- Single Writer—Sets the variable to accept changes in value from only one target at a time. In LabVIEW, selecting this option ensures that the shared variable write operation is not affected by another instance of LabVIEW.exe. The Shared Variable Engine restricts writing to a single VI on a single computer. The first instance of LabVIEW that connects to the shared variable can write values, and any subsequent instances cannot. When the first instance disconnects, the next instance in the queue can write values to the shared variable. LabVIEW notifies writers that are not allowed to write to the shared variable.
|Note (Windows) You can create, configure, and host variables only on Windows systems. In LabVIEW, you can use the DataSocket VIs and functions to read or write shared variables from Mac or Linux. If you have a VI with a Shared Variable node that was configured on a Windows system, you also can move that VI to another platform.|