ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using command prompt to control labview program without opening it

Solved!
Go to solution

So I jsut wrote a labview programm I wanted to know how can I control some of its function without opening it.

It's already in an .exe foramat

Thanks

0 Kudos
Message 1 of 18
(4,203 Views)

For control on start use Application:Command Line Arguments Property.
If you want control during working, you can use ini/xml file for write/read parameters

Message 2 of 18
(4,180 Views)

Thank you for your response.

Sadly I didn't find the example in my LabVIEW folder.

May I ask you if you could upload one ( one for example where you activate a function or button that is in LabVIEW.exe program from the cmd).

0 Kudos
Message 3 of 18
(4,165 Views)

Thanks you but sadly I couldn't open it as my version is11.0.1 and yours 16.

 

0 Kudos
Message 5 of 18
(4,153 Views)
Solution
Accepted by topic author 77maxmustermann
Message 6 of 18
(4,141 Views)

Thanks you man I implemented it in my program and it work BUT when I use the command one other time with a different value it doesn't always change it why is that?

0 Kudos
Message 7 of 18
(4,132 Views)

Make a simple "not working" example.

Message 8 of 18
(4,130 Views)

For example the program you gave me if I rapidly change the value of numeric it wont change every single time. the first time it'll always work after that sometimes it work sometimes it don't

0 Kudos
Message 9 of 18
(4,127 Views)

Nvm the problem I was just too fast.

Last question I have a integer that I gave a default value meaning it wont change even when use the cmd any tip for that?

0 Kudos
Message 10 of 18
(4,121 Views)