LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Timers stop when you move panels

I am using 5.0
Does anyone know of a workaround for the timers stopping when someone clocks
on a panel and moves it?

Best regards,
Giles
0 Kudos
Message 1 of 5
(3,376 Views)
Hello Giles,
I haven't tried the case you described here, however if you wanna work with
timers there's a better way to so: The CVI has an interface functions library
to the Win32 multimedia timers, where the timers handles are independed from
the panel: In your CVI project, choose add file -> *.fp then go to C:\cvi\toolslib\toolbox
and select the asynchtimers.fp file or some file with a simillar name, (
I don't remember exactly the filename)


"Giles" wrote:
>I am using 5.0>Does anyone know of a workaround for the timers stopping
when someone clocks>on a panel and moves it?>>Best regards,>Giles>>
0 Kudos
Message 2 of 5
(3,376 Views)
I will try your suggestion tomorrow, and let you know of the result.
Right now, I finished up programming for the evening and will start again
tomorrow.

Best regards,
Giles

> I haven't tried the case you described here, however if you wanna work
with
> timers there's a better way to so: The CVI has an interface functions
library
> to the Win32 multimedia timers, where the timers handles are independed
from
> the panel: In your CVI project, choose add file -> *.fp then go to
C:\cvi\toolslib\toolbox
> and select the asynchtimers.fp file or some file with a simillar name, (
0 Kudos
Message 4 of 5
(3,376 Views)
> Does anyone know of a workaround for the timers stopping when someone
clocks
> on a panel and moves it?
=============================================================
Hi,
It appears to me that it may not be possible (at all) not to lose data (and.
keep timer working)
while you click on a panel with intent to move it and move it.
But someone/others may disagree.

Rishipa
Reply to this newsgroup
=============================================================
0 Kudos
Message 3 of 5
(3,376 Views)
The reason it happens (in case anyone's curious!) is because of a vagary of how Windows works - it essentially "locks up" your computer whenever you move, resize, or zoom a window. This causes me all kinds of headaches when trying to write "real-time-enough" software.
0 Kudos
Message 5 of 5
(3,376 Views)