LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application development

Hi All,
 
Is there any way to handle the different Instrument handler with single wire. Suppose we have 2 switch cards available in the system, can i access the both card with same instrument handler.
 
Also if in future i am adding some more devices (Like Serial/COM port) to the system. Is it possible to operate the new device with same handler .
 
Thanks in Advance
HKT
0 Kudos
Message 1 of 5
(3,150 Views)
Each device or session of use of the device has it's own session reference.
 
If you wish to group the, you could use a cluster of references.  You can then select the reference by name.
 
R
0 Kudos
Message 2 of 5
(3,130 Views)
Hi ,
 
I need to change the Cluster control whenever new device is added to system . Also device like CAN instrument handler is some numeric number (i.e. object IN) & switch is of some other type , is it possible to use both the device with same wire? 
0 Kudos
Message 3 of 5
(3,111 Views)

Variant and LVOOP will allow diferent data types on the same wire.

Varienat put the work on the developer to interpret the data in the wire correctly.

LVOOP does it for you but you must adhere to the LVOOP rules.

Ben

BTW "LVOOP Rules!" Smiley Very Happy

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(3,086 Views)
If you will need to make changes to a cluster, you should create a Type Definition of that cluster. Changes to the typdef control will propagate to all VIs that use that typdef control...

http://zone.ni.com/reference/en-XX/help/371361B-01/lvhowto/creating_type_defs/

I'm not familiar with CAN instrumentation.
0 Kudos
Message 5 of 5
(3,084 Views)