Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

auto port configuration

i have a problem in configuring the auto port configuration . As due to my program there is more than one aplication so there will be more than 1 port used but the visa configure serial port only allow to have one COM input selection at a time. i am thinking is it posible to have all the possible COMs available to loop one by one on its own ...
0 Kudos
Message 1 of 4
(3,522 Views)

Not sure what programming language you have, but I'm sure whatever it is, there is a loop function. You can get an array of VISA resources with the VISA Find Resource function.

0 Kudos
Message 2 of 4
(3,508 Views)

thanks for the reply ...

i am using labview 8.5 and i can get the source from visa find resource but the output array can only be view i don know how to extrate the value and also the visa serial can only connect to the visa resourse name and can only select one source at a time . wad i wan is to have a loop to continueously input the source one by one without manual slection ... thanks alot if it can be solved ... 

0 Kudos
Message 3 of 4
(3,468 Views)
If you wire the array of resources through a for loop, the for loop will auto-index the array. That's LabVIEW basics. Place your code inside the for loop to sequentially do what ever you want.
0 Kudos
Message 4 of 4
(3,460 Views)