LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to export acquired data via XML to a remote URL/web service. Is there some online reference for EXACTLY what XML features are available in 6.1?

Is there any online reference to the XML methods available in 6.1?

I would like to set up a LabView system that acquires data from local hardware, and then sends acquired data as XML "packets" to a remote web service. I can't seem to find any online reference to this when I search the site. I don't want the "gee golly 6.1 is cool" marketing stuff. Just a simple technical reference to abilities.
0 Kudos
Message 1 of 5
(3,287 Views)
LabVIEW 6.1 has two primitive functions (flatten/unflatten to/from XML), a few higer-level VIs (escape/unescape XML chars, and a write XML file that adds header and footer), and a LabVIEW data schema. This is all that is offered right now. You should check out the LabXML project at SourceForge. This is an Open Source Tool that uses the Microsoft XML parser.
0 Kudos
Message 2 of 5
(3,287 Views)
Hmm so the best bet would be me creating my own TCP/IP client that connencts to a web server, simulate a POST to a "web service", and shift my data to XML before sending then.

The "* Now, you can import or export XML-formatted data using LabVIEW, to easily share data with Web or database applications. " line in the "what's new" made me think it would be much more than that.
0 Kudos
Message 3 of 5
(3,287 Views)
Yeah, the marketing folks really ran with it. Dr T. even used a line similar to that in a conference speech. However, NI is on the right path...
0 Kudos
Message 4 of 5
(3,287 Views)

If you're looking for more technical information about all the new features of 6.1, try the LabVIEW 6.1 Upgrade Notes. Here's what they say about the XML functions:

"Use the Flatten to XML function located on the Functions»Advanced»Data Manipulation palette to convert any LabVIEW data type to the XML format according to the LabVIEW XML schema. Use the Unflatten from XML function located on the same palette to convert a data type in the XML format into LabVIEW data.

For these conversions, LabVIEW uses a predefined XML schema that is described in labview\help\LVXMLSchema.xsd."

Kelly Holmes
LabVIEW Documentation

Kelly H
LabVIEW Documentation
National Instruments
0 Kudos
Message 5 of 5
(3,287 Views)