LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing GUI in real time

Hi there,
 
I am in the process of using LabWindows 6.0 to write a program to control a microwave synthesiser via GPIB, which then plots the data in real time.  When the program is running a dos dialog appears on the screen and the GUI can no longer be accessed.  I would appreciate it very much if somebody knows how to get around this problem i.e. how I can change it so that I can access the GUI when the program is plotting data.
 
Many thanks, Nicholas Fletcher,
University of Sussex
 
 
0 Kudos
Message 1 of 3
(2,794 Views)

It sounds as if somewhere in your program you are calling the system() function to carry out the DOS based task. This function will wait until the shell has finished before your CVI program (and its GUI) can continue. Try using the LaunchExecutable() function instead - this will allow the main program to continue without waiting for the DOS shell to finish.

JR

0 Kudos
Message 2 of 3
(2,792 Views)
Another possibility is that a printf ( ) function has been used somewhere to display debug informations: CVI 6 hase a more confortable DebugPrintf ( ) function that can be used for debug purposes: it is automatically ignored whe the program is executed in compiled version.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(2,787 Views)