LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using LabVIEW scanning vi with SCXI-1175 switch

We are currently using the LabVIEW Scanning vi supplied with the National Instruments SCXI-1175 switch (with SCXI-1000 chassis). What we would like to do is modify this to suit our application.
 
We have modified this to scan automatically through the channel scan list instead of using the front panel toggle. Is there a way of determining in the s/w which channel is active within the list at any one time? I could record a counter in the while loop but I would prefer to be able to know the actual channel number within the list. 
0 Kudos
Message 1 of 3
(2,806 Views)
Hi Datalog,

Unfortunatly there is no way of programatically getting the active scan channel back from either the board or the driver that I know of. As the property node is read protected (write-only).

You would have to implement some type of array lookup table using the iteration count of the while loop as an index.

Sorry for the news
Regards
JamesC
NIUK and Ireland
0 Kudos
Message 2 of 3
(2,797 Views)
Thank for your reply. After writing the original question I went and wrote a vi using an array of strings, loaded with the relay id's, ie K2 K6 etc, then used it in a while loop to sequentially close then open each channel. Similar to what you have now suggested, which is reassuring!  
0 Kudos
Message 3 of 3
(2,794 Views)