From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Programmatically Set CVI Adapter (TestStand 4.2.1)

Using TestStand 4.2.1 is there a way to programmatically set the LabWindows/CVI adapter as one of the first steps in a sequence?

0 Kudos
Message 1 of 2
(2,412 Views)

It appears the adapter type can be changed on a per step level but not on a "global" level for the entire sequence.  Using the following in a pre-expression statement will work for each step.

 

(Step.CanChangeAdapter( "C/CVI Flexible Prototype Adapter") ) ? (Step.ChangeAdapter("C/CVI Flexible Prototype Adapter") 😞 1

0 Kudos
Message 2 of 2
(2,383 Views)