10-03-2006 02:31 PM
10-04-2006 06:24 AM
10-04-2006 08:18 AM
Hi Ralph
I just looked your VI and it seems that you can improve your timing. Instead of using the "WAIT VI"
try the "wait until next ms VI" this VI , in my opinion, is the best way to release computer resources.
Try to change this and tell me your results.
I hope that you can run your application very soon
![]()
10-04-2006 08:53 AM
10-04-2006 09:20 AM - edited 10-04-2006 09:20 AM

Message Edited by TonP on 10-04-2006 04:21 PM
10-04-2006 09:51 AM
I do not have the time to do a detailed analysis of the code, but I can drop a hint to let others run.
The observation that "moving the screen around" causes a problem COULD indicate an issue with the UI thread, so make sure screen updates are not in any DAQ loop.
Ben
10-04-2006 10:54 AM
10-06-2006 10:56 AM
Using the 'wait for next ms' vi helped a lot!
One thing that doesn't make sense to me, though. While I was in the process of changing all my 'wait' VI's to 'next ms' VI's, I also increased the timer values, figuring if I slowed the whole process down enough that it would also help.
Boy, was I ever wrong! I had it where it was only sampling every 4 sec, and the timers were marking off 8 sec intervals, and it had the previous 'missed sample clock' error every time I turned around! Speeding it back up eased it... I don't understand that one, can anyone help? Do I have my DAQ assistant setting for acquisition wrong?
Thanks again, so much.
Ralph
PS Kenn... I'm intrigued by your post. Can you shed a bit more light on some of the detail of which you speak regarding event structures and polling?
10-06-2006 11:29 AM
10-06-2006 11:40 AM