03-29-2012 04:01 AM
I'm displaying a number of resistance values. To make the results easier to read for the operator I'd like to format the measurement and limits so that the exponent is stepped at 3 intervals (engineering format).
i.e. by default TestStand will display measurements and limits in scientific notation; 1.0e+005, I'd like to format this to 100.0e+003.
Can this be done?
03-29-2012 05:26 AM - edited 03-29-2012 05:27 AM
When you say 'displayed', where exactly is the value presented; on screen as part of the thread execution, in the report or some other dialog?
03-29-2012 05:28 AM
Sorry, I should've have stated.... in the report.
03-29-2012 09:25 AM
Set the numeric format to a custom one and use whatever C language style format string will give you the format you want. The numeric format can be set for numeric limit steps on the numeric limit settings tab or you can directly set numeric formats on variables. Also you can use the Str() expression function to specify a format when converting a value to a string.
Hope this helps,
-Doug