Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring Digital channels at different sampling rate

Hi,

 

I have a question about my 6259 USB daq card. From rading another threads it occured to me that it is impossible to acquire analogf signals at different sampling rate (at the same time). The question is how is it with digital channels - is it possible to have two tasks running at the same time but one for example with sampling rate 1 Hz and another 100 kHz ( so that 2nd task can be clocked from TimeBase clock 🙂 )

 

 

--------------------------------------------------
Regards,

PacHOOk
0 Kudos
Message 1 of 2
(2,554 Views)

If you don't need precise correlation between your 100kHz lines and your 1 Hz line, you could use software timing to accomplish

approximately 1 Hz.

 

If you *do* need precise correlation, here's how I'd approach it:  put all lines of interest in the 100 kHz task.  Index out only 1 of

every 100,000 samples of the lines you want to sample at 1 Hz.  There's a function called something like Decimate 1D Array you

can use, just be sure to set 'averaging=False'.

 

-Kevin

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(2,549 Views)