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: 

Set value to NaN with VBA using TestStand API

Hello,

Can I set the variable to NaN with VBA? For example in such case: qStep.AsPropertyObject.SetValNumber "Limits.High", 0, "NaN".

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

Hi,

 

you can use NaN.

 

https://www.ni.com/docs/en-US/bundle/teststand/page/special-constant-values.html

 

NaN is a valid option here.

 

Best wishes

--------------------------------------------------------------------------------------------------------
Work with NI Hard- and Software for about 15 years now.

Certified LabVIEW Developer & TestStand Developer/Architect

--------------------------------------------------------------------------------------------------------

There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Message 2 of 2
(2,377 Views)