From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-27-2013 03:05 PM
I am having trouble parsing this XML file. I swear it was working but now the DC_Source and DC_Load sections return nothing.
Solved! Go to Solution.
03-27-2013 04:15 PM
I can't run your VI as I am missing ctl-DevHandle In.ctl
If you are using newer versions of LabVIEW which support XPath the code will be much much clearer and easier! Just a thought. Which version of LabVIEW are you using?
03-27-2013 04:22 PM - edited 03-27-2013 04:22 PM
Here is the zip file with the NHR llb included. Stupid NHR, I hate that company and all their devices...
But anyway I am using LabView 2012, but I have no idea what XPath is, in factt this is the first I heard of it.
03-27-2013 04:36 PM
In XML Tag Parser (SubVI).vi, look at the Results out terminal. The wire which connects to the terminal should be using a shift register.
03-27-2013 04:39 PM - edited 03-27-2013 04:41 PM
Thanks!
I jusr read he help secion on XPath and XML parsing. Makes sense to me. I am really new to XML and have zero training so I am learning as I go...
03-27-2013 04:53 PM - edited 03-27-2013 04:54 PM
Awesome. If you are dealing with XML parsing, XPath is a MUST. You should spend sometime for the basic and save time in the long run.
04-18-2013 08:36 AM
is it possible to attach the same file for labview 2010 version....
thanks,
chethan
04-18-2013 10:16 AM - edited 04-18-2013 10:16 AM
Okay I think I have saved everything in LabView 10 format. But I am not sure becuase quite frankly I never have had good luck saving for a previous version. If something does not work there is a thread on this board or possible another baord here dedicated to converting vi's between LabView versions
I also included the now fixed XML Tag Parser sub vi.
04-18-2013 02:34 PM - edited 04-18-2013 02:34 PM
Thanks for updating to 2010 verison.....
can u pls attach the VI which converts into different version......
I have added the attachement .....I want to kno why i am not getting the value from the result array which is shown in the atatched file......
When i execute the attached VI I am not getting any error or any result....could you pls help how to print the value .......
04-18-2013 03:05 PM
I do not understand what you are trying to do in your program.
As for converting different versions. There is no 'vi" that does that.
LabView it's self can "save for a previous version" in the file menu.
As you see the new "Sliver" controlls look rather odd when saved to a previous version. Also you can end up with a broken arrow if you use a function (like conditional terminals on for loops) that is not available in the older version.
LabView will open older versions limited to LV6i and up and save as the curent version.