06-12-2012 07:05 AM
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:
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.
Solved! Go to Solution.
06-15-2012 03:38 AM
You can also Create HTML table from LabVIEW array and use it in Teststand
06-22-2012 03:50 AM
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.
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.
06-25-2012 11:45 AM
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.
10-12-2012 06:41 AM - edited 10-12-2012 06:43 AM
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?
10-22-2012 10:08 PM
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.