Now TestStand 2016 supports enums, I found myself in need of an Enum Step Type to check the value of a Enum.
I have VI that returns the UUT's current status as an enum. E.g. Booted OK, Bootloader, Timeout or Error.
In this case I want to check the UUT has got to the Bootloader...
I intially worked around using numeric limit test with Datasource set to "Val( Enum("Boot_State","Bootloader"))". But then in results it would be nicer to see "error" than the enum constant.
Then I relaised I could use the String test instead.... which is better. Example attached, casting to Str instead of Val.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.