Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Using GetFormattedValue with Boolean Array to create ReportText

$
0
0

What is the C (printf) style format for outputting a Boolean array?

 

I currently use to get 

Step.Result.ReportText = Locals.Outlets.GetFormattedValue("",0,"",False,"\n")

 

Outlet State
Status: Done
Module Time: 1.6116278
False
True
False
False
False
False
False
False  

 

 

I would like to format the output to show:

 

Outlet State
Status: Done
Module Time: 1.6116278
OFF
ON
OFF
OFF
OFF
OFF
OFF
OFF

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>