LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does my DAQ program "stutter" in Windows, not in Linux?

Bill,

Program Process Priorities in Windows should help you out. Along with the directions, please see the example VI at the bottom of the tutorial.
Message Edited by Support on 09-29-2008 02:05 PM
David L.
Systems Engineering
National Instruments
0 Kudos
Message 11 of 16
(1,245 Views)
Hi,
 
I'm having the problem again, even with priority set to realtime. It happens when I activate part of the code that reads samples from a digital input channel. It only happens when I try to synchronize the digital input with the analog input. Is the attached code fragment the correct way to do this?
 
I want them synchronized is so that I know that the digital input samples were read at the same time as the analog input samples, because timing between the two signals is important in the experiment I'm performing. Am I going about this correctly?
 
Thanks,
Bill 
0 Kudos
Message 12 of 16
(1,231 Views)

Bill,

Your setup is great. You can find a shipping example (Help >> Find Examples >> Hardware Input and Output >> Synchronization >> Multi-Function >> ‘Multi-Function-Synch AI-Read Dig Chan.vi’),  which is identical.

David L.
Systems Engineering
National Instruments
0 Kudos
Message 13 of 16
(1,212 Views)

What was the resolution on this?  I'm having the same stuttering chart problem and can't figure out what the cause is.  The KB link didn't work for me.

Thanks,

Keith. 

0 Kudos
Message 14 of 16
(1,103 Views)

Well, this thread is 1.5 years old, so you should provide a bit more detail. (LabVIEW version, OS, computer specs, etc.).

 

Is your code identical to what was shows above? If not, please show us your code.


knicewar wrote:

The KB link didn't work for me.


 

 Did the link not work, or did you actually follow the instruction in the link but it did not help?

 

0 Kudos
Message 15 of 16
(1,089 Views)

Sorry -- the link only took me to an error page.

 

FWIW, I think I found why a shart will reset.  If a waveform has a time that is <=  a previous waveform, it will reset.  So now I need to figure out why I'm occasionally getting a repeating timestamp ...

 

Keith.

 

 

 

0 Kudos
Message 16 of 16
(1,085 Views)