LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Oen third party appliaction

Hello,

 

currently í´m making VI, that should open another appliaction which is not a VI.

 

I manage to do this by using System exec vi. 

Application opens and then ask to enter password. 

pass.PNG

 

How i can enter a pasword automaticaly from labview program? Also i need to simulate pressing OK button...

 

Thank you

0 Kudos
Message 1 of 6
(2,893 Views)

Hi milan,

 

use AutoIt. Or try to fiddle with Windows API function calls to manipulate windows of other applications…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(2,879 Views)

Thanks for a fast answer...

 

How i can implement this code... It write hello as it should be, but i cannot to connect with field i want to type...

Can you advise?

 

Thanks.

Best regards.

0 Kudos
Message 4 of 6
(2,860 Views)

You need to activate that field somehow. Most applications support TAB. Try manually first too see what key-presses you need.

Certified LabVIEW Architect
0 Kudos
Message 5 of 6
(2,801 Views)

Oh, and you may want/need to activate that application window too:

https://forums.ni.com/t5/LabVIEW/Bring-Window-Forward-Executable/m-p/3923832/highlight/true#M1114785

Certified LabVIEW Architect
0 Kudos
Message 6 of 6
(2,796 Views)