LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Variables with TPC-2106 using LabVIEW 2009

Hi, I got a trouble, I'm working with LabVIEW 2009 and TPC-2106, I can't share variables in the Touch Panel, there's no Support for Shared Variables option to install in the TPC just Support for NI VISA. I'm using TPC-2106 as HMI for SCADA system. This problem is new for me, because I was working with LabVIEW 8.6 before without any inconvenient, maybe is a bug or I need to update something but I don't know what.

 

I hope you can help.

 

Thanks.

Message 1 of 8
(3,091 Views)

Hi,

 

With TPC 2106/T there is no option to install the Shared Variable Engine per default via right-clicking the target under the lvproj, because the shared variable engine is pre-installed.

 

Since it's working on my system (using TPC-2106T with LV2009) without problems I assume something wrong with the IP or subnet configuration of your TPC. Is the TPC placed in the same SubNet like the system publishing the shared variable?

 

 

Christian

0 Kudos
Message 2 of 8
(3,077 Views)

Hi, I'm working with him, there's no problem with the configuration because we can download VIs in TPC-2106, however our shared variables don't work. We're using Ethernet to download and communicate with TPC-2106. Any suggestion?

0 Kudos
Message 3 of 8
(3,067 Views)

Hi,

 

"The Shared Variables don't work" is too little information for any usefull suggestions.

 

Does it mean that you cannot place Shared Variables at the TPC vi at all, or can you place shared variables there, but you cannot read/write them?

Is the library deployed on another embedded system, e.g. cRIO or on a Host PC?

 

 

Christian

0 Kudos
Message 4 of 8
(3,065 Views)

I'm sorry for give them few information :$

 

Well, the library deployed is on a Host PC and we placed shared variables there, but cannot read/write them from TPC-2106.

 

Thanks for your answers.

 

 

PD. (Sorry, but my english isn't very well)

0 Kudos
Message 5 of 8
(3,042 Views)

So you are able to place the Shared Variable Nodes at the TPC VI, but you don't get any readings and writing takes no effect?

Did you allready build a little example just with a variable get written in a host vi and get read in the TPC vi?

 

 

Christian

0 Kudos
Message 6 of 8
(3,036 Views)

Thanks a lot Christian_M, there was a little detail we can't take in count: Firewall and Antivirus, both didn't allow to read and write shared variables. Some too simple was having us a headache.

 

Bytes.

0 Kudos
Message 7 of 8
(3,031 Views)

This would have been my next questions after you had answered the last one with "yes"! Smiley Wink

 

I'm happy to hear you got it running now!

0 Kudos
Message 8 of 8
(3,024 Views)