I have one sequence with an output variable. i would like to print my output variable value in the test report.
for ex: my variable name is locals.Voltage and value is 28. i want to add some custom words to it and print in the report like "Input Voltage: 28"
how can i achieve this in teststand.
You can use a post expression in the step which acquires the value to set a ReportText.
E.g. Step.Result.ReportText = "Input Voltage: "+Str(Step.Result.Numeric)
I'd use an "Additional Results" step and configure it as below:
This will add the Input Voltage into the report:
I hope this helps,
Thanks for the response.. I have an output variable of ASCII String from LabVIEW VI which I have to print it in the report.
I used the same way as you did.. My Actual output from the VI will have more than 1000 words. but in teststand report it is printing only initial 5 -6 words. it is not printing all the words from LabVIEW VI.
Do you have some special characters after these words? I haven't tested this but things like new line, line break, line feed could stop the plugin to add the text.... (which i wouldn't expect, but other special character could result in that behavior)