ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Import XML und calculate with MathScript

First how can I import my XML file to LabView. And second, how to calculate with the Data from XML with constant number. (e.g. XML Number * constant number = x)

0 Kudos
Message 1 of 3
(6,111 Views)
  • Look in the "file i/o...XML" palette.
  • Why does it have to be Mathscript. Scaling with a constant is trivial in plain LabVIEW.
0 Kudos
Message 2 of 3
(6,101 Views)

Hi,

 

I have no expierence with import XML and reading the XML data. Even some examples I couldn't use it for my problem. I hope that someone can help me.

I need to get every Data from XML and save every number as a local variable in LabView. So that I can work with the numbers.

 

XML:

<Numbers>
<figure>50</figure>
<figure2>100</figure2>
<figure3>150</figure3>
<figure4>200</figure4>
<figure5>250</figure5>
</Numbers>

0 Kudos
Message 3 of 3
(6,090 Views)