LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6453 Dual Sampling Rate Acquisition

Hello,

 

I have a USB-6453 device and I want to perform data acquisition with two different sampling rates: one for voltage channels and another for thermocouple channels. How can I achieve this?

 

Thank you!

0 Kudos
Message 1 of 6
(327 Views)

Hi son,

 


@sonofzakaria wrote:

I have a USB-6453 device and I want to perform data acquisition with two different sampling rates: one for voltage channels and another for thermocouple channels. How can I achieve this?


Define two DAQmx tasks as needed and run them in parallel… (Your device allows for simultaneous sampling!)

What have you tried and where are you stuck?

Best regards,
GerdW


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

The USB-6453 specifications do not indicate multiple timing engines that would allow you to group channels to use different sample rates. I recommend using a single task at the higher sample rate. Decimate the temperature data to a rate that makes sense.

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 3 of 6
(272 Views)

According to the specs, the USB-6453 has 8 individuals ADCs, there fore you can sample up to 8 different sample rates. 

 

Here you can find more information how to configure the channels https://www.ni.com/docs/en-US/bundle/veristand/page/daq-device-channel-properties.html?srsltid=AfmBO...

 

0 Kudos
Message 4 of 6
(267 Views)

@LVNinja wrote:

According to the specs, the USB-6453 has 8 individuals ADCs, there fore you can sample up to 8 different sample rates. 

 

Here you can find more information how to configure the channels https://www.ni.com/docs/en-US/bundle/veristand/page/daq-device-channel-properties.html?srsltid=AfmBO...

 


I think we may be confusing individual ADCs with timing engines. The 6453 has only one timing engine for the ai subsystem. If you try to configure and start multiple ai tasks, the first to start will reserve the timing engine, and the subsequent 2..N tasks will return error -50103 indicating "The specified resource is reserved." One can configure the task to acquire from multiple channels and each channel has a dedicated ADC. All the ADCs will use the same sample clock. 

Doug
Enthusiast for LabVIEW, DAQmx, and Sound and Vibration
0 Kudos
Message 5 of 6
(255 Views)

I agree with dsb@NI comments. You got only one timing engine and hence there can be only one HW timed DAQmx AI task running at a time.

 

 

Now, to your question, you can add both thermocouple and voltage channel to the same task with different types and capture at the higher sampling rate required and them decimate to get the lower rate.

 

Have you calculated the accuracy and resolution you get with the 6453 for your thermocouple and good with it, how about CJC?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 6
(242 Views)