LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple XML - Generation

Solved!
Go to solution

Hi all,

 

I would like to generate an XML file as shown in below fig.

 

1.JPG

 

I can able to generate all the items except which is marked in red and attached vi for ref. (There is an invoke node called insert XML but I am not able to succeed with that). Please can anyone help to solve this issue.

 

Thanks in advance..

---
Silver_Shaper | CLD
0 Kudos
Message 1 of 6
(2,927 Views)

You need to treat <Actual Status> as a attribute rather then element, so to create attribute example VI attached.

0 Kudos
Message 2 of 6
(2,915 Views)

Hi punnet thanks for you reply. 

 

I want exactly like this <Actual Status="Fail">0</Actual>. How can i do that?

---
Silver_Shaper | CLD
0 Kudos
Message 3 of 6
(2,900 Views)

As noted, "Status" is an attribute of the "Actual" node. Did you look at the VI that was posted?

0 Kudos
Message 4 of 6
(2,892 Views)
Solution
Accepted by topic author Silver_Shaper

I can't open the posted vi since I'm still uisng LV2009 so this may duplicate what was already posted. As was specified Status is an attribute of the Actual node.

 

Ben64

Message 5 of 6
(2,889 Views)

Hi,

 

Please can anyone help me to combine both xml's together attached vi and solutioned vi. I want exactly same on the asked question format (Img).

I am not familliar on XML's.

---
Silver_Shaper | CLD
0 Kudos
Message 6 of 6
(2,838 Views)