Configure Network VI

LabVIEW 2013 Datalogging and Supervisory Control Module Help

Edition Date: June 2013

Part Number: 371618J-01

»View Product Info
Download Help (Windows Only)

Owning Palette: Variables & I/O Servers VIs

Requires: DSC Module

Configures the network settings of a shared variable.
Note  You can configure network settings of network-published shared variables only.

variable reference in specifies a reference number for a shared variable. Use the Create Shared Variable VI to create a refnum for a shared variable.
network settings specifies the network settings for the shared variable.
use binding? specifies whether LabVIEW binds the shared variable to the URL that you specify in the URL text box. The default is FALSE.
URL specifies the path to the shared variable or data item to which you want to bind the shared variable. The format of the path to an NI Publish-Subscribe Protocol (NI-PSP) data item is \\computer\process\data_item.
access type specifies how you want to access the shared variable.

0Read only
1Write only
2Read/write (default)
buffer size specifies the size, in bytes, of the NI-PSP buffer. The default is 50.

You must set use buffering? to TRUE before using this input.
use buffering? specifies whether LabVIEW enables NI-PSP buffering for the shared variable. The default is FALSE.
single writer? specifies whether the shared variable accepts value changes from only one target at a time. The default is FALSE.

By default, multiple targets can write to a single shared variable at the same time. The Shared Variable Engine (SVE) processes the requests to write to the shared variable in the order in which the requests arrive. If this input is TRUE, the SVE restricts writing to a single VI on a single computer. The first writer that connects to the shared variable can write values and any subsequent writers cannot. When the first writer disconnects, the next writer in the queue can write values to the shared variable. LabVIEW notifies writers that cannot write to the shared variable.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
variable reference out returns the shared variable refnum that you wire to the variable reference in input.
error out contains error information. This output provides standard error out functionality.


Not Helpful