Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

situation


WINDOWS ME NIDAQ 6.9 labview 6.02 DAC pci-6024E pentiumIII 800 MHZ.
Program example FINITE PULSE TRAIN DAC-STC
Placing this VI in a while loop with a timing of 100msec . I have an output of 5 pulses every 100msec. This works fine for 1 hour or so then execution stops saying ERROR 10402.
Error is generated in the CONTROL CTR upper right in the diagram.
Please help me out.
0 Kudos
Message 1 of 5
(5,132 Views)
As you probably know the error message is:
"NI-DAQ LV: No device is located in the specified slot or at the specified address."

This may be caused by a failure in the connection to the device in the PCI slot. You could try installing the card in another slot and avoid any mechanical stress on the card during the execution.
0 Kudos
Message 2 of 5
(5,132 Views)
Thank you kaba for your answer
but when I restart Labview it works again for some time.
So its not a bad contact or slot.

Greetings
Hans
0 Kudos
Message 3 of 5
(5,132 Views)
Instead of repeatly unconfigure the counter and reconfigure it again repeatly, you may want to just generate a continuous pulse train on one counter and use a second counter to gate it. The counter that is generating the pulse train will only output when the gate is high, so make sure that the gate is high for 5 pulses and low for 100 milliseconds. Another good thing about this approach is that you don't need to rely on windows timer to wait 100 milliseconds, instead a more deterministic and accurate 100 milliseconds calculated by the counter/timer's high accuracy oscillator. I have a feeling that the error message is coming from repeatly unconfigure and configure the counter in a loop.
0 Kudos
Message 4 of 5
(5,132 Views)
Just a quick hint:
try to disable all the energy saving features of Windows.
I experienced a similar problem with nooteboks when entered in stanby mode.

You could also try to make your board do something different for long period, such as analog acquisition and see in it happens again.

Good luck,
Alberto
0 Kudos
Message 5 of 5
(5,132 Views)