ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Network-Shared Variable - 1 subscriber / variable?

I have been reading into the NSV Subscriber example that comes with CVI.  My question is: does each variable require 1 subscriber, or can 1 subcriber be used to read multiple NSV?  Better yet, can anyone explain to me how NSV read and write can be done?

0 Kudos
Message 1 of 2
(4,619 Views)

Hi hn_sofec,

 

Each network variable requires its own subscriber, reader, or writer. The CNVCreate... functions accept a reference to the network variable in the form of the networkVariablePathName parameter. Please refer to the CVI Function help for these functions to find further information and links to examples.

Regards,

Kristen M

Automated Test Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 2
(4,568 Views)