Jump to content

Recommended Posts

I was trying to get a little XML data file going for a bit of data I need to save and wanted to use the built in labview tools. However, to create the name of a number, it comes from the wire label. See attached.

I've right clicked on a wire and added the description, but that doesn't link into the XML data. The label has to end up in the location shown in the attachment, not in the area below as a description. How does one change the wire label? I just can't seem to find the correct word to search on how to do this.

Thanks!

Link to comment

QUOTE (jdunham @ May 7 2009, 06:48 PM)

It's true that there doesn't appear to be a good way to make it happen. Following that thought, I looked in the LV sample file Write Data to XML File.vi, and found there is a little trick NI uses. Placing a variable as the input to the Flatten to XML, the wire receives a name and that data is transmitted as a label in the XML file. You can see the attached. This works quite well for me since I have the file writes in a different location as the numeric input.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.