FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Touch Panel is resetting numerical values!

I hope someone else has had this problem and can help.  I'm running LabVIEW 8.5 with a cFP-2100 controller and a TPC-2006 touch panel computer.  I have a VI running on the TPC that has some numerical controls that pass their information to the VI on the cFP-2100 via shared variables.  I'm using an Event Structure with an "Enter" button to tell the VI on the TPC when to write.  The VI on the controller monitors and displays those values on my host computer.  Here's the problem: when I exit the VI on the TPC, the numerical values are reset to zero momentarily, and then go back to their previous values.  I cannot for the life of me figure out what is causing that.  I even wrote a simple VI to just write a number to a single shared variable, and it still happens.  This is causing problems in the larger VI that I'm trying to troubleshoot.  Anyone have any suggestions how to fix this?

Thanks,
Eric
0 Kudos
Message 1 of 6
(10,404 Views)

Eric,

 

It would be helpful to know where the shared variables are being hosted.

 
 
Charlie M. CLD
0 Kudos
Message 2 of 6
(10,385 Views)
The shared variables are being hosted on the cFP-2100.  The laptop is just reading them from there.
0 Kudos
Message 3 of 6
(10,383 Views)

Eric,

 

I wrote a similar project to what you described using a cRIO and a TCP 2012. I did not see the behavior you described. Can you post just the PDA VI and just the RT VI?  

Charlie M. CLD
0 Kudos
Message 4 of 6
(10,377 Views)
Sure, here they are.
Download All
0 Kudos
Message 5 of 6
(10,375 Views)

Eric,

 

I have found that this behavior is repeatable with my equipment. Interestingly, if I copy your PDA code over to a VI running on the PC, this behavior will not occur. I will investigate this further. What you can do is handle your errors. The error terminals of the shared variables on the RT will through errors and you can use this to work around this issue.

Charlie M. CLD
0 Kudos
Message 6 of 6
(10,368 Views)