LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xml-file doesnt change at first time

"my problem is that the vi doenst read texml file correct. when you press the folder-button and choose one xml file i had to choose it two times. why?
when i choose another file the choosen file will displayed correctly when i choose it a second time.
so i had to choose the file two times."
Download All
0 Kudos
Message 1 of 3
(2,534 Views)
Hi Weber,
The reason why you are seeing this behavior is because the file path 'pfad' that you are passing to the 'Read from XML.vi' is sending the old value (it's current value right when you value change happens). To ensure that the new value is sent, please see my attached VI. I am using the newValue input node from the event structure to send it to the 'Read from XML.vi'.

I hope this helps.
Feroz
Message 2 of 3
(2,534 Views)
thats it . thanks
0 Kudos
Message 3 of 3
(2,534 Views)