LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy TAB Front Panel Controls and Indicators to another Tab page

Solved!
Go to solution

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.

0 Kudos
Message 1 of 11
(5,223 Views)
It looks like you've already copied the controls from tab 1 to tab 2.
0 Kudos
Message 2 of 11
(5,194 Views)

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.

0 Kudos
Message 3 of 11
(5,183 Views)

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.
0 Kudos
Message 4 of 11
(5,171 Views)

No magic, I've read his previous posts.

0 Kudos
Message 5 of 11
(5,159 Views)
Sorry, I guess I should have said that I want to do this data transfer - PROGRAMMATICALLY - while this VI is running.  BTW - There are more than two TAB pages (38 exactly) in my large applicaton;  I thought this would be enough for you to see my question clearly.  Thanks for the response so far, this question has not been solved or answered so, back into the que.  Thanks again. 
0 Kudos
Message 6 of 11
(5,137 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 11
(5,132 Views)

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.   

0 Kudos
Message 8 of 11
(5,122 Views)
Solution
Accepted by topic author TMC-RickP

Just use property nodes. 

 

Kristen helped me out - KUDOS Kristen!!!!!

0 Kudos
Message 9 of 11
(5,065 Views)

Oh!

 

Both of the tabs are on the SAME PC. I read the question as seperate PCs.

 

My bad.

 

ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 10 of 11
(5,061 Views)