Outputting Numeric Values in TestStand as Binary Values

Updated Oct 24, 2020

Environment

Software

  • TestStand 2017

I have a set of steps that output numeric values, but I need to output these as binary values.

Add an expression calling the Str() function in TestStand to convert the numeric value to a binary string:

Locals.string = Str(Locals.number, "%b")