08-18-2011 02:51 AM
Hello everybody
I have to acquire 32 signals in continous sample with a sample rate at 50kHz. So I use only 1 Daqmx read to do this but I don t know what value can I put in sample to read. If someone can help me to find this value and tell me how you find this value it will be great
Thank you very much for your help
Romaric GIBERT
08-18-2011 03:23 AM
Hi Roro,
the samples to read depends on how often you need data...
When you need data once a second you give 50000 (with a sampling rate of 50kHz).
For data blocks 10 times a second you give 5000, for reading data each 10ms you give 500.
Do you get the scheme?
08-18-2011 03:54 AM
thank for your response. I would like to know how can I do to read data block because my loop run each second and no each 10ms .
Thank you for your help
Romaric GIBERT
08-18-2011 04:11 AM - edited 08-18-2011 04:12 AM
08-18-2011 04:32 AM
Thank you, buf for example If I want to read each 10ms, How can I do to do that "For data blocks 10 times a second you give 5000, for reading data each 10ms you give 500." I don t know how can I do a data block 10 time a second.
Could you explain me please?
Thank you for your help
Romaric GIBERT
08-18-2011 04:37 AM - edited 08-18-2011 04:38 AM
Hi Roro,
when you set the sampling frequency to 50kHz and request 500 samples, then you get those 500 samples after 10ms...
For 5000 samples you will have to wait 0.1s (simple math: 5000 samples / 50000 S/s = 0.1s)!
Now you only have to read those datablocks in a loop - there are surely examples to explain this! (Just go to Help->Search examples... in LabVIEW)