LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read XML file using Automatic ref No

I need to get the data from the xml file using Automatic reference No.I am a beginner .help me out
0 Kudos
Message 1 of 28
(4,704 Views)
Unfortunately I do not understand what you mean by "using Automatic reference No", since I have no idea what you are referring to. Can you please provide more information. Without anything more to go on I would suggest looking at LabXML as one method to read generic XML files.
Message 2 of 28
(4,685 Views)

Hi Parthipan,

 

An easy way to get started with using XML in LabVIEW is a toolkit called EasyXML -- it's a product from JKI that I helped create 🙂

 

Thanks,

 

-Jim

Message 3 of 28
(4,674 Views)
Hi can you give details about Automatic reference number and how it can be used to access the object.I need to use this Automatic reference no to access the data through out the project
0 Kudos
Message 4 of 28
(4,652 Views)

Hi parthipan,

                    What exactly do you mean by "automatic ref num"? 

0 Kudos
Message 5 of 28
(4,645 Views)
I also need to know about automatic reference of Class.how to creat it and access it
0 Kudos
Message 6 of 28
(4,640 Views)

Hi muks

            In ActiveX tool palleet -Automatic open VI input data is automatic reference number.how can i create that .this is my problem

0 Kudos
Message 7 of 28
(4,639 Views)

Hi parthipan,

insert the Automation open vi into your vi and right click on the ActiveX Refnum input. Create a constant and select the type you need.

 

Hope it helps.

Mike

Message 8 of 28
(4,637 Views)

Hi muks,

           ya i tried it out but it is not suitable for my application.For my thing input is xml path it should create the automatic reference no.and automatic reference c;ass to access the data in the xml file suce as getting the nodes under  root parent node,attribute etc.

0 Kudos
Message 9 of 28
(4,617 Views)
I see now. You are actually talking about the automation reference, not the "automatic reference no", which is meaningless. To access the XML file this way then you need to use ActiveX. Have you looked at LabXML? That uses ActiveX and you can look at all the code and see how it's done. It is pointless to try to do this from scratch as the XML spec, while not being excessively complicated, can be difficult for the beginner, as you clearly are. Therefore, it is best to try to use a set of functions that are pre-written for  your use.
Message 10 of 28
(4,597 Views)