From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Additional NI Software Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
LucD

Automatic (dynamic) generation of a Veristand Model from a VI

Status: Already Implemented
Functionality available with LVSV Batch Build VI.

Hello,

 

Today I have a need that is a bit difficult to perform: I developped a soft that convert a xml file into a VI, but I'd like this soft to create a VeriStand model from this VI.

So it would be very interesting to be able to dynamically create a Veristand model in Labview, wheter thanks to an API or an invoke node, ...

I appears that for the moment the only way to do it would be to open the LVSV Dialog.vi by script.

 

Thanks,

Luc.

5 Comments
GregMo
NI Employee (retired)

If you look in the LLB that contains the LVSV Dialog.vi (look in <LabVIEW>/project/NI VeriStand/,) you will find a vi called "LVSV Batch Build.vi". This VI performs the same build that the dialog does, but does so programmatically.

NAKeel
Member
Status changed to: Already Implemented
Functionality available with LVSV Batch Build VI.
Nick Keel
Product Manager - NI VeriStand and Model Interface Toolkit
National Instruments
clendon.gibson@canrig.com
Member

I have been trying "LVSV Batch Build.vi" in LabVIEW 2012 with Veristand 2012, and it does not work. It errors out with a reference type mismatch error.

 

Is there a fix?

PWoodward
NI Employee (retired)

This seems to have disappeared from the library. What is the new method in VS2023?

Certified LabVIEW Architect
PWoodward
NI Employee (retired)

For some reason I can't edit or delete my last post but I have found the function, not sure why I missed it yesterday.

Certified LabVIEW Architect