LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable files

Hi everyone

 

First sorry my english!

 

Well, I would like to open the notepad and then immediately open the edit option, all automatically.

 

But,  is it possible?

 

thank you

0 Kudos
Message 1 of 9
(3,369 Views)

What do you mean by open the edit option - do you mean open the edit menu at the top? That isn't anything I've ever seen done before so I'm not sure if it's possible. Maybe you could simulate pressing the Alt+E keys to open the menu?

 

I had a quick google and it might be possible with calls to the Windows API (call library function node) - see here for details http://www.vbforums.com/showthread.php?345259-Use-API-to-programmatically-click-button-of-another-ap...


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 9
(3,362 Views)

I'm tempted to ask "Why do you want to do that?".  If what you want to do is to write a text file, LabVIEW can do that directly without using NotePad.

 

BS

0 Kudos
Message 3 of 9
(3,356 Views)

I have a software that collects data from a multimeter (by Minipa)

need to run this software in conjunction with the labview.

But first, this software must be configured manually.

I would like the labview configuring it for me automatically.

0 Kudos
Message 4 of 9
(3,348 Views)
That still does not make much sense. What is the relationship with Notepad and this other program? If this other program requires a text file, you can easily create/edit the file with LabVIEW. Opening Notepad would be manually changing the content.
0 Kudos
Message 5 of 9
(3,340 Views)

I think he doesn't want to do anything with notepad, he uses it as an example.

 

He wants to change settings in Minipa menu, right?

 

If I'd be you, I'd simulate keyboard strokes https://decibel.ni.com/content/docs/DOC-9001

 

 

0 Kudos
Message 6 of 9
(3,333 Views)

sorry but forget Notepad, Notepad will not be used

0 Kudos
Message 7 of 9
(3,332 Views)

I would like the labview open the program and configure it to me

below and manual configuration

0 Kudos
Message 8 of 9
(3,320 Views)
So why aren't you using the VISA serial functions to directly communicate to the instrument? You've selected a pretty indirect way.

In any case, you might also want to look at a program called AutoIT for controlling an external exe. It will even work with Notepad.;-)
Message 9 of 9
(3,314 Views)