ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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,792 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,763 Views)