LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TestSTAND question

We are having a problem with teststand and would appreciate help. Here is
the problem:

We are controlling a scanning (multiplexer) instrument and want to be able
to select certain channels for scanning from within teststand. Right now the
driver for the instrument scans all the channels. I can be more specific if
needed. Any experts out there?

My colleague wants to know if we can use local variables to represent the
elements in step.numericarray? And then use the some of the local variables
in multiple numeric limit tests.

thanks in advance
0 Kudos
Message 1 of 2
(2,495 Views)
You'd probably get more responses if you posted your question to the TestStand discussion group but I can try to answer it here.

The way I do it is to first create a TestStand array of channels. I then insert a LabVIEW step of type Multiple Numeric Limit Test. In the step I use the TestStand - Get Property Value (Numeric Array).vi function to get the list of channels and pass this to the instrument driver. I'm assuming that your driver has the ability to accept a channel list. I then write the results to Step.NumericArray. If your're stuck with a driver that doesn't allow for flexibility in choosing channels, you can still write to an array and use individual numeric limit test steps using the None adapter and in the Data Source, just index the element o
f the measurment array that you want. Good luck.
0 Kudos
Message 2 of 2
(2,495 Views)