LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

controls

I'm dessigning an oscilloscope with LabWindows 4.0.1, using the sound card of the PC as an A/D converter ,with the API of Windows.
When the program is running, and processing the buffers that return the sound card, sometimes, when i press any button, this button dissapears from the graphical user interface.

I do not Know why this happens. Could someone get me the answer?
0 Kudos
Message 1 of 2
(2,889 Views)
I had problems with disappearing controls when I used a fixed reference to a control ID, and not the defined one (as it appeared within the header file).
When I made a subsequent change to my UIR, the reference was incorrect, and it only appeared when certain UIR operations were performed.

Or, it maybe that you require to re-draw the UIR panel (after pressing the btn, does your code enter some processing loop ?). If so, add a re-draw (ProcessDraw?? I haven't got my CVI runninng at the moment and the function name escapes me, just type Process in a source window and press Ctrl P).

Regards

Chris
Message 2 of 2
(2,889 Views)