LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cadencer boucle d'acquisition

Bonjour 

Pourriez vous me dire svp pourquoi ma boucle d'acquisition tourne plus vite.

sachant que ma fréquence d'acquisition est que de 40Hz, et le nombre d'échantillant à lire est de 40.

normalement ma boucle s'exécute  chaque seconde.

ci-dessous mon vi.

 

merci d'avance

galbich_0-1710405564655.png

0 Kudos
Message 1 of 4
(382 Views)

Hi galbich,

 


@galbich wrote:

Could you please tell me why my acquisition loop runs faster.

knowing that my acquisition frequency is only 40Hz, and the number of samples to read is 40.

normally my loop executes every second.


You forgot to mention which DAQ hardware you use!

Does your DAQ device support to sample at 40S/s?

(Educated guess: there are several DAQ devices which support sample rates in the range from ~1.6kS/s to 50kS/s…)

 


@galbich wrote:

below my vi.


No, there is just an image…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(373 Views)

Merci pour la réponse .

mon Daq est : châssis ni cdaq 9189 et la cartes ni 9230

 

merci d'avance 

0 Kudos
Message 3 of 4
(339 Views)

Hi galbich,

 


@galbich wrote:

Thank you for the answer .

my Daq is: ni cdaq 9189 chassis and ni 9230 cards


So you better read the specs of your module!

(The minimum samplerate is 12800/13 S/s...)

 

Suggestion: when you really only need 40S/s then you should set a samplerate of a multiple of 40 (like 1280) and decimate the resulting data by a suitable factor (like 32 for 1280S/s)!

 

Btw. this is a worldwide forum speaking mostly English so you better translate your messages to English. (Otherwise there's a French regional forum.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(334 Views)