08-16-2020 10:22 AM
Hi team ,
I am writing the array data content as xml file .
In the XML file , test parameters name also ( Caption ) i need to Write .
I gave as 1d array as output , so all caption / Parameters are all listed as " Status " .
But parameter name i need to write first , after that i need to write the parameter value in the file
For eg :
Parameter name : Testcase name
Parameter value : Voltage Test
Parameter Name : Higher limit Value
Parameter value : 5
Attached the screenshot of xml file and Test vi .
Please advise and suggest
Thanks in advance
08-16-2020 05:24 PM - edited 08-16-2020 05:26 PM
@Mrtechie wrote:
But parameter name i need to write first , after that i need to write the parameter value in the file
use a cluster instead of an array, because in an array, every element has the same name
is this related to this post?
https://forums.ni.com/t5/LabVIEW/Format-XML-data/td-p/4075392
08-17-2020 04:13 AM - edited 08-17-2020 04:18 AM
08-30-2020 04:09 AM
Hi team ,
After a googling and workout i used a parser method and content was written .
Please find attachment and refer image
But i need to change a format little bit .
Testcase details need to printed in 1 line ( Horizontal manner )
Next testcase details ( name , offset , parameters ) to be printed in the next line .
In existing format i attached , every parameter are printed in a every new line
Thanks in advance !
Please advise