LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

execution priority for application

The executable of my application doesn't reflect the priority I set in VI Properties (Win XP). Is there an .ini setting I can make to have the exe run at background priority (lowest)?
0 Kudos
Message 1 of 5
(3,542 Views)
Also, the name of the exe is ftp_aigo.exe

I tried putting this in the .ini file but it has no effect:

[ftp_aigo]
ESys.Bgrnd=True


Do i need to explicitly set the open config and readkey in the exe, and if so where do I write the value to?

Thanks for any help,

Paul.S
0 Kudos
Message 2 of 5
(3,542 Views)
You may want to take a look at this. Setting the priority within the options of LabVIEW will not affect its priority within XP. LabVIEW is given priority when it starts running on XP. You can programmatically call an XP DLL and make it give you higher priority. This KnowledgeBase on NI's website describes how to do that.
J.R. Allen
Message 3 of 5
(3,542 Views)
Thanks JRA, that looks like what I want

Paul.S
0 Kudos
Message 4 of 5
(3,542 Views)
The documents mentioned have been updated and moved to Developer Zone at:

Program Process Priorities in Windows

http://zone.ni.com/devzone/cda/tut/p/id/6871

Regards,

John H
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,222 Views)