03-19-2010 02:34 PM
LabVIEW v9.0f3 - This is a VI for two machine controls and indicators controlled by a PLC. The two machines are in different locations both use the same PLC. I need to be able to copy and paste the controls and indicators of the TAB 1 page to the TAB 2 page, relocating the unit that is being tested. I would like to know the best way to move the data from one machine to the other, move to an existing TAB page. I have attached the VI that I have so far to do this. Thanks for the help.
Solved! Go to Solution.
03-19-2010 10:29 PM
03-20-2010 07:39 AM
I think, Alabama RickP need to relocate control's/indicator's data between panels and over TCP/IP, but not controls/indicators selves.
And he search for optimal solution.
03-20-2010 11:52 AM
kolan wrote:I think, Alabama RickP need to relocate control's/indicator's data between panels and over TCP/IP, but not controls/indicators selves.
And he search for optimal solution.
If you got that out of the limited information that RickP gave in the original post, you must be a mind reader then. Nowhere in that post was TCP/IP even hinted at.
03-21-2010 04:10 AM
No magic, I've read his previous posts.
03-22-2010 08:05 AM
03-22-2010 08:12 AM
On the "Master machine" keep all of the data in an Action Engine.
Set that VI as served to the clients that want the data and use VI Server "Call by reference" nodes to invoke methods of the Action Engine to read the values etc.
Using this approach you build on the under-lying TCP/IP and data conversion that comes with VI Server. The AE can act as a protected section to cordinate what could be conflicting actions from the various clients.
Ben
03-22-2010 09:23 AM
I am a little confused and new to this functional global programming technique or as Ben calls it "Action Engine" or "AE". I do not understand the Shift Register (SR) being “Initialized” and “un-initialized”.
Could someone give me an example with functional globals or "AE's" using the code I supplied to either read from or write to a control or indicator on different TAB Pages? These controls and indicators are exactly the same on all TAB pages of my VI. Each TAB page runs a different machine but I need to move machines or relocate machines around so shifting the controls and indicators is a requirement. Thanks for the introduction Ben.
03-23-2010 01:59 PM
Just use property nodes.
Kristen helped me out - KUDOS Kristen!!!!!
03-23-2010 02:04 PM
Oh!
Both of the tabs are on the SAME PC. I read the question as seperate PCs.
My bad.
ben