NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Test numeric limit with Ui64 TestStand number

Is there a way to perform this test, Step.Result.Number is a Ui64 numeric instead of a double precision 64bit number.  I could use String Comparison test but I don't what any conversions.

 

I could do this Step.Result.Numeric=Float64(limit_number) but this is what I'm trying to avoid.

0 Kudos
Message 1 of 2
(225 Views)

Yes, the type for Step.Result.Numeric test is double precision 64bit number.  So, you do need to convert your number using Step.Result.Numeric=Float64(limit_number)

Then, if you need to represent it as an unsigned integer, just set the Limits numeric format of the Step properties to unsigned integer. The test report will print the result and the limits in unsigned integer format.

eejallen_0-1726598670241.png

 

0 Kudos
Message 2 of 2
(178 Views)