LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search informations about using XML to create scripts (automate tests)

Hello,

 

I search some (A LOT OF...) informations  about using XML in Labview. I know that Labview use a specific schema for XML, but I search examples or tutorials.

My aim is to control a VI with a script in XML, I would know if I can generate "while loop", modified attributes etc... with my XML file?

 

Bye

 

 

0 Kudos
Message 1 of 5
(2,763 Views)

Hi leo,

 

first for all others: this is related to this thread!

 

Then:

Your script should be handled by LabView in an interpreter-style. So you read in the script and parse the commands. For each command that is supported you have to provide the functionality in a state-machine like handling routine.

I would stay away from the before mentioned "LabView scripting", atleast for production-type programs as LV-Scripting is not supported by NI (and not easy to handle...)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,755 Views)

Hello,

 

I know this thread because I'm the author of this thread 🙂

So I would have more precise informations and documentation.

 

Interpreter-style? (schema?) I would have some informations about this schema I have found the code files, but I have no explications and I don't know how to use it well.

 

State-machine? 

XML use command and this command execute a state machine?

 

I have some questons I am novice that the reason why I need some documentations more precise.

 

bye

 

 

0 Kudos
Message 3 of 5
(2,752 Views)

Please see the response in your other thread.

 

Please keep the discussion to that thread so that people don't have to rehash the same thing, and have all the information available when answering. 

0 Kudos
Message 4 of 5
(2,746 Views)

ok no problem 🙂

I had create this post because with the other thread people don't see "XML" in the title, so I think people who have informations about XML don't click necessary on the other thread.

 

Here we go on the other thread !

 

 

0 Kudos
Message 5 of 5
(2,740 Views)