NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand Waveform Graph adding own graphics

Solved!
Go to solution

Hello everyone,

I just started using NI Teststand to verify if it will suite my needs. My aim is to make a simple leaktest machine that will take measure from few sensors and display it in a fancy report.. I am gathering data with AI modules cRio, do some analysis, check for PASS/FAIL, usual stuff...

 

I was wondering - is it possible to plot additional graphics on Waveform graph plot in teststand html report. This is an example report that I created (just a sin wave): report.PNGThe data are coming from my VI as 1D array. This is the VI:pic_plot.PNG

And this is how the front panel looks like:graphwaveform.PNG

As you can see by creating a Property node I can draw an image on the Waveform Graph. I can display a pass/fail window directly on the graph. That image can be also assigned to an output from VI to teststand. Marked with red arrow in second picture on the right.

picture.PNGteststand_input.PNG

Is there a way to plot that picture on Teststand report? Is it there any expression (function) that could join both values and plot it on the same graph?

 

Any help would be much appreciated! 

Cheers!

0 Kudos
Message 1 of 4
(196 Views)
Highlighted
Solution
Accepted by WalorKojtyla

Call the attached VI and assign the output to your report text for the step (Step.Result.ReportText).  Run the sequence and see if you like what is on the report.  Then analyze what I have done in the VI and apply that same stuff to your code.

 

Hopet his helps,

jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
Message 2 of 4
(127 Views)

0 Kudos
Message 3 of 4
(114 Views)

Probably a better way to do it is to use an additional result but the reporttext is just an easy way to do it without much thought.  The advantage of additional result is that you can name the graph instead of it just saying ReportText.

jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(100 Views)