Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplexing a display using a datatable

I've got several motors in a system and want to use one panel and a datatable.  I've downloaded the "datatable" example, but am confused as to why when I add a switch in the "Client" panel and set it's position source to "DataTable.C.Logical", it will not toggle the "motor" switch in the server panel.  The switch will change positions when the corresponding switch on the server panel is changed.  I've attached the process.  It is version 6.02.

Thanks,
Bryan
0 Kudos
Message 1 of 4
(3,667 Views)

Don't create a new switch. Just drag the switch_site1 to the client panel.
If the client is running on different machine, use the symbolic link.

Ryan Shi
National Instruments
0 Kudos
Message 2 of 4
(3,648 Views)

If I use the "Switch_Site1", it will always be connected to site 1.  I need to have a generic switch that is configured by the datatable, just like the display objects on the "Client" panel.

Bryan

0 Kudos
Message 3 of 4
(3,646 Views)
What you did is right, but the problem is that switch_sitex is a control.
C1.logical = switch_site1 just means if switch_site1 is true, C1.logical will be true. but if C1.logical turns to false, switch_site1 won't change.
So, switch_site1 isn't an indicator, but just a control.
If you create a logical expression for DataTable.C1.logical, you will see that it will change with switch1.

Message Edited by Ryan.S on 12-12-2006 04:13 AM

Ryan Shi
National Instruments
0 Kudos
Message 4 of 4
(3,637 Views)