LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication between cRIO-9004 and TPC-2206 by using shared variable

Hi~

 

I am using shared variable to communicate between cRIO-9004 and TPC-2206,for example a boolean value.

 

The HostPC, 9004 and TPC-2206 are connected by Ethernet switch, and all three of them are set up on the same subnet by configuring their IPs.

 

Everything is fine if I run the RT program in the development mode, but after the RT program is downloaded to the 9004, and the RTexe is set up to "run as startup operation" ,the shared variable doesn't work(I installed every software I can on 9004 include "Network Variable Engine 12.0.0" and "Variable Client Support for LabVIEW RT 12.0.0").

 

When I replace 9004 by sbRIO-9632, and make some necessary changes in the setting and program, everything is OK.

 

Maybe 9004 is too old to support something, but I wonder what the "something" is.

 

Thank you and best regards !

 

Zhe Zhang

Pansino.Beijing

0 Kudos
Message 1 of 7
(3,198 Views)

if such a problem exist you can see the page related issues with particular labview and rt versions on ni.com.... just search it u will find possible solutions

0 Kudos
Message 2 of 7
(3,167 Views)

I'm sorry I still don't understand...

 

Which keywords should I search for on ni.com? I have tried the words "rt version" "labview and rt versions".

 

 

0 Kudos
Message 3 of 7
(3,146 Views)

NI provides related issues in each of its versions and module.As an example,

 

http://www.ni.com/white-paper/13164/en

http://digital.ni.com/public.nsf/allkb/41BC2BB8032FA28986257474005B28B6

 

you will find a page showing the issues just type the RIO version and related issues in NI search.I hope you will find it.

 

 

 

0 Kudos
Message 4 of 7
(3,142 Views)

I didn't find any useful information, but I learned a method to solve problems.

 

Thank you! 

 

I'm so unlucky, the communication between sbRIO-9632 and TPC-2206 using network shared variable need a service named "NITaggerService" on PC, the description of the service is" NI Variable Engine". It means if I want to use NSV like this,I must keep the PC on(no matter if LabVIEW is running or not).

 

Here is the demo...

 

 

0 Kudos
Message 5 of 7
(3,130 Views)

If it helped you please mark it .This helps in getting more into the LabVIEW Community.

0 Kudos
Message 6 of 7
(3,127 Views)

sorry, this is my first post, I didn't find where to mark...

0 Kudos
Message 7 of 7
(3,115 Views)