Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Programatically change port and line

Good afternoon,

 

I am trying to figure out how to programatically change the port and line setting depending on a predefined array.

 Capture.PNG

0 Kudos
Message 1 of 3
(2,811 Views)

The lines/physical channels input will accept a string.  You'll get a coercion dot but it works just fine.


--Using LV8.2, 8.6, 2009, 2012--
0 Kudos
Message 2 of 3
(2,792 Views)

You could use a multiple case, case structure with different versions of that DAQmx Create Virtual Channel. 

 

Depending on how many configurations you need, make that many cases and let it determine which virtual channel, with different port and lines, is used.  

Applications Engineer
National Instruments
CLD Certified
0 Kudos
Message 3 of 3
(2,772 Views)