NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I log an Labview XY graph (cluster of 2 arrays) in TestStand 2010 SP1 and have it display correctly in the report?

Solved!
Go to solution

The default TestStand 2010 SP1 data logging schemas split this cluster into two arrays stored as binary data, resulting in two graphs being displayed in the report: one for X data and one for Y data. We need the X and Y elements paired on the same graph. This cluster is flagged for logging as a output variable from the step. It seems possible to add a table "PROP_XYGRAPH" (similar to the PROP_ANALOGWAVEFORM) to the schema to simplify other processing after data base logging, but how can we get the report generator to accept and display this data type correctly? The XY Graphs come from LabVIEW 2013 SP1 exclusively as a cluster of two arrays, typically 500 to 1000 elements long.

...Geoff.

0 Kudos
Message 1 of 3
(4,399 Views)
Solution
Accepted by Dennis_Knutson

Hello Geoff,

 

Got a couple resources for you to check out. Let us know if any of them work for you.

 

Inserting a LabVIEW control image:

< http://www.ni.com/example/30736/en/ >

 

Displaying graphs in TestStand:

< https://decibel.ni.com/content/docs/DOC-38945 >

 

Displaying Measurement Data as Graphs:

< http://zone.ni.com/reference/en-XX/help/370052J-01/tsref/infotopics/measurement_data/ >

 

Cheers!

Message 2 of 3
(4,334 Views)

Thanks for the links, J.

I loaded TestStand 2014 and took a close look at the "Displaying graphs in TestStand" example. The LabView graph output with X data in the first row, then Y data in the second and following rows. This requires array attributes values TestStand.DataLayout="SingleX-MultipleY" and TestStand.DataOrientation="Column Based". Everything plots nicely now.

...Geoff

0 Kudos
Message 3 of 3
(4,286 Views)