Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

How to Manage Multiple Hardware or auto select a sequence according to a condition?

$
0
0

How can we manage mutiple types of devices in TestStand?

 

I have 2 types of DMMs since some are not available anymore (AG34410 that needs to be replaced for a 34465A when it goes to calibration or breaks down).

Each DMM is structured in its own *.seq file which includes all the hardware calls.

Example: Normally the TS developer adds a sequence call and links it to 34465.seq and selects the sub module 34465 Read Multiple Voltage.

 

What I try to do is an automatic selection to to the correct DMM according to the DMM string in StationGlobals:

34410.seq and selects the sub module 34410 Read Multiple Voltage

34465.seq and selects the sub module 34465 Read Multiple Voltage.

 

All of the submodules of the same "measurement" have the same parameters, so calling which ever wouldn't cause any issues.

Is this possible without having to implement a ton of if/else conditions for each measument type or function in a DMM.seq shell?

 

We are still at the start of a new project so I can change around some ways to call my sequences or rename all the subsequences to the same name. A LabVIEW call to TestStand API could be a viable option (though I haven't worked with TS API in LV yet).

 

Thanks.


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>