LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MSXML2.IXMLDOMNode

Hello,
 
I'm using MSXML version 3. I'm  trying to create a Node but something is wrong. I get the error 97 (see the picture below)
I tried the LabXML-Code but i get the same error.
Anyone have an idea?
 
Thanks
 
Achiles
Gnaoui Bouchachiya
Download All
0 Kudos
Message 1 of 5
(3,234 Views)

hi there

you have to open a reference to the node object. place a "Automation open" function INSIDE the for loop, open a reference to the DOMNode object, and close that reference INSIDE the for loop. after that close the reference to the XML obeject OUTSIDE the for loop.

 

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 5
(3,228 Views)
Now i get  another Error (3005)
 
Gnaoui Bouchachiya
0 Kudos
Message 3 of 5
(3,226 Views)

hi there

there's an error "(Hex 0x80070057) Invalid argument (src/dst cannot be the same or blank; product must be blank or a valid entry)" after the CreateNode invoke node. thus the resulting Node reference is NULL.

use all error clusters as pass through parameters to avoid error leakage.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 5
(3,220 Views)
I don't know. It does not function Smiley Sad
Gnaoui Bouchachiya
0 Kudos
Message 5 of 5
(3,212 Views)