LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using "New VI Object" function to create a while loop with a wired conditional terminal AND a "wait (ms)" function

Hi,

 

when I do the above, the VI only contains the wired conditional terminal. If I remove the code to wire the conditional terminal, the "wait (ms)" appears within the while loop. So there's obviously a conflict between these two. Is it even possible to do both within one while loop and if so, how?

 

Thanks.

0 Kudos
Message 1 of 4
(2,480 Views)

Hello SnowLord,

 

VI Scripting is a NI Labs Product, like mentioned here:

 

https://www.ni.com/en/support/downloads/tools-network/download.labview-vi-scripting.html

 

it is only supported through the API Group.

You should post your question there.

 

Best Regards!

 

Moritz M.

 

 

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

I replaced your reference control with this:

 

partialVI[1]_BD.png

 

When I run it I get a VI with this:

 

Example_VI_BD.png

 

It appears to work correctly for me.  Perhaps I misunderstood your situation?

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

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

@Wetzer wrote:

VI Scripting is a NI Labs Product, like mentioned here:

 

https://www.ni.com/en/support/downloads/tools-network/download.labview-vi-scripting.html

 

it is only supported through the API Group.

You should post your question there.


Scripting has been an official part of LabVIEW since LV 2010 (accessible through the options dialog and documented). There's no problem with the LV APIs group, but there's no reason it shouldn't be supported here as well. I would suggest you update your procedures to reflect this.


___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,437 Views)