LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter Timer Occurrence

I am using the PCI-6024E board on Win NT Labview 6.0.2.

I have the onboard counter (1) generating a pulse train say 0.5 Khz
and triggering an Occurrence on each pulse.
Then using the Wait on Occurrence function in a While loop.

On it's own the VI works well.

Then I paste this code into another VI that is doing some buffered
Analog input and charting. Now my Occurrence never gets triggered more
than once; just times out (even if I make it very slow 1 Hz or so) the
counter is still producing pulses ok.

Any ideas?

Even if I get this to work anyone know a way of generating and
responding to interrupts faster than the 1KHz rate that NI recommend?

Cheers
0 Kudos
Message 1 of 2
(2,583 Views)
Sounds tricky, but in the spirit of ideas...I have come across something similar where I have an internal clock controlling Case statements, all is fine unless one of my functions is delayed, then my clock is also delayed. I found it was an error in my byte size parameter which was producing a very large buffer, which was slowing down the whole VI. My suggestion for finding the delay/timeout woe is too monitor your block diagram [Highlight Executin mode]to see if you can detect another process delay that then affects your clocking. Although you say your counter still continues normally, perhaps some of the pulses are getting dumped. Good Luck - Doug
0 Kudos
Message 2 of 2
(2,583 Views)