NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling "Move Window To Top.vi" Does not work if called from Teststand

I have a simple requirement. I have to call Notepad.exe and send some key strokes  from Teststand. I downloaded an example from NI webiste. The example works fine if i call in Labview. If i call the same VI from Teststand, it does not work. I think the problem is getting the Notepad window to focus.

Also i tried setting the "Show Front Panel WHen Called". It works sometimes. But i don't want the front panel window to show. I have attached the example i downloaded.

0 Kudos
Message 1 of 3
(3,702 Views)

Hi Nathan,

 

I will test to see if I can reproduce this issue.  What OS are you using and which version of LabVIEW and TestStand?

0 Kudos
Message 2 of 3
(3,662 Views)

Hi,

 

I am using WinXP, Labview 2009 and Teststand 4.2

 

I have solved this probelem by calling user32.dll directly from Teststand rather than calling it thro Labview.

 

 

0 Kudos
Message 3 of 3
(3,659 Views)