Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Hardware problem with DAQ card? (sampling clock related)

Hi everyone,

I contact ou because I have a problem with my experiment composed of: a laser providing an analogic signal, a connection bloc with the input from the laser on ACH0, then a cable to the NI-DAQ PCI card inside the computer, and finally LabView 8.02. First, I already developed many applications for LabView with other models of acquisition card nd that is the first time that I see the following problem. I developed a very simple program to make the acquisition of the analogic signal from the laser via the acquisition bloc. Here is a screenshot of the main part of the program:




The error I get is the following:

"La fonction DAQmx - Attendre la prochaine horloge d'échantillonnage a détecté qu'une ou plusieurs horloges d'échantillonnage ont été manquées depuis la dernière fois qu'elle a été appelée ; ceci signifie que l'horloge d'échantillonnage est trop rapide pour votre programme.

Pour corriger cette erreur, ralentissez l'horloge d'échantillonnage ou modifiez votre application pour qu'elle soit assez rapide pour l'horloge d'échantillonnage. Une autre solution consiste à définir la propriété Convertir les erreurs en mises en garde à Vrai puis à traiter la condition de mise en garde de manière appropriée.

Nom de tâche : _unnamedTask<2>"


Here is a rough translation in english:

"The DAQmx function - wait sampling clock detected that one or several sampling clocks have been missed since the last time it was called, this means that sampling clock is too fast for your program. To correct this mistake, slow down the sampling clock or modify your application to make it fast enough for the sampling clock. Another solution constits in define the property <<convert errors in warnings>> to <<true>> and then treat the warning condition in an appropriate manner.
Task Name: _unnamedTask<2>"

The questions are the following:

1) What is exactly a sampling clock?
2) This problem never occured before, than after several weeks, it occured from time to time randomly, and now it happens every time I launch the program ! Can the card be damaged? I precise that the program has recently been tried on two different computers, with a LabView version updated. Drivers are up to date too.
3) The fact that the problem occured from more and more often makes me think that my program, which is very basic, cannot be the cause. Is that correct from the screenshot I provided?

Thank you by advance for your help, and tell me how to do to replace the card if it's damaged and covered by the warranty.

Sincerely,

Julien
0 Kudos
Message 1 of 5
(3,396 Views)

Which DAQ card are you using??

What value have you specified for sampling frequency??

0 Kudos
Message 2 of 5
(3,383 Views)
The card is a DAQ PCI 6281 (I don't remember exactly the reference but I'm pretty sure that it's this one) card and the acquisition block is a BNC 2090. Finally, the sampling frequency is 100 Hz.

Thanks for your help !
0 Kudos
Message 3 of 5
(3,382 Views)
Hello Julianito,
 
If your application used to work fine and if you didn't change anything on it, it probably means that something changed onto your computer. Did you installed another software? Or maybe are you trying to launch another application that could slow down your application and cause this crash?
 
One thing you could try is to launch the windows task manager and kill unused processes to free your computer's memory and see if it's the problem.
 
Best regards,
BRAUD Jean-Philippe
Field Sales Engineer - Nord et Centre France
LabVIEW Certified Developper
0 Kudos
Message 4 of 5
(3,372 Views)
Hello Jean-Phillipe,

It seems that I solved my problem by choosing the option in the test panel of the card: "Ré-initialiser avec les paramètres en sortie d'usine" ! I no longer have this error message... I'll keep you informed, but it seems that everything is OK now.

Bien cordialement,

Julien
0 Kudos
Message 5 of 5
(3,368 Views)