06-24-2008 08:11 AM
06-24-2008 01:31 PM
Hello tstanley,
The CVI debugger sets that option based on the following registry setting:
Key: HKEY_CURRENT_USER\Software\National Instruments\CVI\7.1\Environment
Item: SetForegroundLockTimeOut
Try changing that item's value in the registry to see if it fixes your problem.
Luis
06-24-2008 03:19 PM
06-25-2008 10:41 AM
Hi, Todd.
When you run your application by itself, you shouldn't have any problem, since it is the CVI debugger -- not the application -- that is setting that flag (so that it can bring itself to the foreground when your application hits a breakpoint). That registry key doesn't even exist in a machine where CVI isn't installed.
Luis
08-06-2008 02:49 PM
08-07-2008 10:28 AM
08-07-2008 01:49 PM
08-08-2008 10:52 AM
08-15-2008 07:55 AM
09-20-2011 11:53 AM
Does CVI 2010 no longer look at this registry key? I have 'SetForegroundLockTimeOut' set to 'False', yet it seems that CVI 2010 sets my ForegroundLockoutTime to 0 every single time I click on "Debug Project". Thanks.