NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Where to set "DataLayout" (2D data in report)?

Solved!
Go to solution

Hello,

 

Im using Teststand 2010 SP1 and Labview 2011. My question is about plotting 2d-array data into the Teststand HTML report.

 

I try to retrieve a 2D array with x-y data of measurement and to plot it within the report file. Unfortuntly the data is interpreted as "multiple-Y" which means each x-y pair generates a new curve in the plot instead of having one curve following the x-y pairs. I found the following in TS documentation:

 

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

 

The problem is: I do not know WHERE to set the property objects attributes. Has someone an running code snippet as example setting the attributes at the right point and generating a x-y-plot correctly?

 

Thanks for help in advance.

lv4ever

0 Kudos
Message 1 of 8
(3,960 Views)

You can log a 2D Array to a Teststand Result Database and export this result to a Report as HTML.

http://digital.ni.com/public.nsf/allkb/1307679F845B162286257160000510ED?OpenDocument

 

You can also Create HTML table from LabVIEW array and use it in Teststand

https://decibel.ni.com/content/docs/DOC-5552

 

Only Some of the Elements in Large 3D Boolean Array Are Filled in TestStand 1.0.2

http://digital.ni.com/public.nsf/allkb/6CD5056EFB198972C1256B870064AB42?OpenDocument

Kais Mekacher
Applications Engineer
Germany - Munich
0 Kudos
Message 2 of 8
(3,941 Views)

Follow the following link to learn how to create attributes in TestStand - PropertyObject Attributes

 

Regards

Anand Jain

National Instruments

0 Kudos
Message 3 of 8
(3,925 Views)

Thanks for replays - but they are answering not my question.

 

@mkin75: I have realized thats possible to customize the reports with effort in many ways. But I expected Teststand to have such a very basic test sequencer function to have it build in. And as I understood the manuals it is build in.

 

@Anand Jain

I understood that a have to add a property object attribute and how is also clear to me. The question is again where is the property object "Teststand.DataLayout" to be added?

I tried to add to

- the testsequence

- to the test step which retrieves the xy-data

-the paramter which gets the xy-data

None of this resulted in the required plot appearence.

 

That was the reason I ask for a running example. For convience I have added my effectless tries.

 

Regards

lv4ever

Download All
0 Kudos
Message 4 of 8
(3,908 Views)
Solution
Accepted by topic author lv4ever

lv4ever, 

 

I reviewed the documentation and I agree that it is not clear where the attributes should be added. I will write a bug report to fix this issue. 

 

The recommended approach for you is to create local variables that have the approriate attribute and use these local variables in the value expresions for each parameter.

 

I have attached an updated files with the proposed solution. 

 

Regards

Anand Jain

National Instruments

 

Download All
Message 5 of 8
(3,890 Views)

Thanks, that was what I looked for. I appriciate your support very much.Smiley Happy

0 Kudos
Message 6 of 8
(3,872 Views)

Hi,

 

I guess there might be something that needs to be configured.


I'm trying exactly the same (X-Y graph form 2d-array), but Attributes are not affecting my output.

 

I created a very simple test file, with a defined array with fixed values. Added the attributes Datalayout/Dataorientation.


The attached example earlier in this thread is also not working for me.

 

Any ideas what I'm doing wrong?

Download All
0 Kudos
Message 7 of 8
(3,757 Views)

Hi, 

 

I am able to create a 2D graph using the files you attahced.See attached JPEG.

 

Can you please attach files that you are using that exhibit the problem.  

 

Regards

Anand Jain

National Instruments

 

0 Kudos
Message 8 of 8
(3,690 Views)