12-19-2008 03:23 AM
Hello, This is the first time using LabWindows CVI (version 9) and I've noticed that on all "printf's" the console is brought to the foreground. This makes it impossible to use the computer during my tests that print state out to the console. Minimising the console doesn't help, it comes to the foreground. Piping output to a file, while no output on the console, still brings the console window to the foreground on every printf.
Is there anyway to turn this feature off, so it behaves like normal console programs?
Thanks,
Jason.
Solved! Go to Solution.
12-19-2008 04:05 AM
you can use SetStdioWindowOptions() function, passing 0 as the second parameter to correct this problem. (this default setting has also been bugging me since a long time).
03-28-2013 09:07 PM
Sorry, I am confronted with this problem also, Can you tell me when would this function be cited? Whether does it be cited before each pfintf ()and scanf()?