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: 

Control another software menu by LabView

Solved!
Go to solution

Hello everybody,

 

I got an issue and it's about controlling by LabView another software menu :

 

-There are 2 open windows (LabView front panel and GenICam software window that captures video images)

 

-On the GenICam window, it is possible to capture and save an image with the keyboard shortcut Ctrl + I, what I want to do in my Labview code is to order the GenICam window to run this keyboard shortcut automatically.

 

In summary, I would like to control my Image Acquisition window (GENICAM) from Labview !

 

I don't capture or save images directly from LabVIEW because this software already supports it, it's just that I want to automate the fact of running the keyboard shortcut by ordering from LabVIEW.

 

 

Thank you for helping me 😉

 

 

best,

 

Y_Rif

 

0 Kudos
Message 1 of 6
(4,161 Views)

did you actually search for you problem?

 

e.g. https://forums.ni.com/t5/LabVIEW/Can-LabVIEW-control-another-program-or-emulate-keys-pressed-on/m-p/...

 

also is your cam software possibly controllable via commmandline, that might make it easier for you.


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
Message 2 of 6
(4,145 Views)
Solution
Accepted by Y_rif

If you need just Ctr+I, use Simulate Keyboard Events

Message 3 of 6
(4,141 Views)

Thank you guys !

0 Kudos
Message 4 of 6
(4,118 Views)

Did you solve this problem? I do have the exact problem. I would like to know whether it is done. If so, could you share the VI?

 

Thanks.

0 Kudos
Message 5 of 6
(3,749 Views)

@Nanodogs wrote:

Did you solve this problem? I do have the exact problem. I would like to know whether it is done. If so, could you share the VI?

 

Thanks.


You can open link from my post and find the code

0 Kudos
Message 6 of 6
(3,739 Views)