LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create controls/constants/indicators from XML parser

Solved!
Go to solution

Is there any reason I cannot create (by right clicking) a control/constant/indicator of a XML ref from the XML parser function? I need to make subvi's to build/read xml files, and that is really impossible without that ability.

 

Labview 2012 f3

Message 1 of 4
(2,705 Views)
Solution
Accepted by topic author thutch79

This bug has already been reported (CAR 357092), and is scheduled to be fixed in the next service pack release. For now, here's a workaround:

 

1. Create a reference indicator from Functions » Programming » File I/O » XML » XML Parser » New.vi.
2. Right click on the new "DOM Document Out" indicator terminal and select Create > Control (or Indicator).

3. Right click on the new control/indicator and choose Select XML Parser Class. Then, you can select whatever class you need.

Message 2 of 4
(2,701 Views)

Thanks. I found an old reference to this problem in Labview for Linux, but it indicated it was fixed in 2011. I didn't see anything associated with 2012. 

0 Kudos
Message 3 of 4
(2,697 Views)

@thutch79 wrote:

Thanks. I found an old reference to this problem in Labview for Linux, but it indicated it was fixed in 2011. I didn't see anything associated with 2012. 


I believe the problem occurred several releases ago...it was fixed in 2011, but unfixed in 2012. 😉

0 Kudos
Message 4 of 4
(2,695 Views)