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: 

Str function for 64-bit Numbers

Solved!
Go to solution

If you want it to look exactly like the numeric limit test, that is going to be a bit trickier. You could use the additional results settings for the step to log the limits and value, however they will not show up in the table the same way that they do for numeric limit test steps. If that's not acceptable, then another thing you could do is make your own private copy of the NumericLimitTest step type and call it something like MyCompanyName_NumericLimitTestUI64. Then, in your new step type, change the representation of Result.Numeric, Limits.Low, and Limits.High to UI64. Whenever, you select the step though you will get an error dialog because the edit pane for the limits does not know how to handle UI64 representation, but it seems to be harmless to just press OK on the error dialog. You however cannot specify the step with the limits pane, you instead have to specify it in the variables view by setting Step.Limits.LowExpr, Step.Limits.UseLowExpr, Step.Limits.HighExpr, and Step.Limits.UseHighExpr. I verified that it does seem to execute ok if you do this. I'm not sure if there are any other problems with this, so you might want to test around it a bit to make sure it works well enough for your purposes.

 

Hope this helps,

-Doug

0 Kudos
Message 11 of 11
(616 Views)