LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling an executable using LabVIEW

I have an external application which I want to control using LabVIEW. That application reads inputs from a file, and passes outputs. I want to use LabVIEW to automate this. I am thinking of using System Exec.vi or automation open to achieve this. Can someone help me out in this ? Also when I use system exec.vi to open executables, even if choose the option "hide", the window still pops up. Can someone help me in this issue ? I want the window to be hidden and processing taken place in the background.

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 3
(2,631 Views)
There is a library of functions called Winutil.llb here in LV Zone somewhere. With these you can get a handle to w window and then move it off screen or minimize it.

Yours Sincerely
John www.tradersmicro.com
0 Kudos
Message 2 of 3
(2,631 Views)
Maximus00 wrote in message news:<50650000000800000020FF0000-1079395200000@exchange.ni.com>...
> I have an external application which I want to control using LabVIEW.
> That application reads inputs from a file, and passes outputs. I want
> to use LabVIEW to automate this. I am thinking of using System Exec.vi
> or automation open to achieve this. Can someone help me out in this ?
> Also when I use system exec.vi to open executables, even if choose the
> option "hide", the window still pops up. Can someone help me in this
> issue ? I want the window to be hidden and processing taken place in
> the background.

Normally, when you wire TRUE to the 'run minimized? (F)' input, the
window will not pop up. However an application can, on it's own,
force
it's window to be visible. If this is what's happening, check
the help for the application to find out if there's a command line
option to run minimized.

Paul Cardinale
0 Kudos
Message 3 of 3
(2,631 Views)