LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How make two analog channel with different paremeters using NI USB 6341

Unfortunately, this is not possible with your device.

Applications Engineer
National Instruments
0 Kudos
Message 11 of 17
(731 Views)

Thank you!

What multifunction data acquisition (DAQ) devices I must buy that realize this function using only one card?

Regards, Pavel

0 Kudos
Message 12 of 17
(722 Views)

If you would like to acquire data from two different channels at the same time, you can use a second Create Virtual Channel VI right after the first and use the same task wire. This will allow you to have two different AI channels with different settings.

Applications Engineer
National Instruments
0 Kudos
Message 13 of 17
(710 Views)

Hello!

 

 

If you make Create Virtual Channel VI "Dev1/ai0", and than connect this with Create Virtual Channel VI "Dev1/ai1" you can configure only min/max voltage on this channels, but you can't configure different clock for this devises. In my first post you can download my example-code and check it.

 

Regards, Pavel

0 Kudos
Message 14 of 17
(697 Views)

Pavel,

 

Most DAQ cards have only one timing engine for A/D conversions, regardless of how many analog channels they have. On those cards all channels must be sampled at the same rate.

 

The easiest option: Sample both channels at the higher of the two rates. Then reduce the effective sampling rate on the lower channel in software.  This can be done by discarding samples, averaging groups of samples, or using the Resampling VIs.

 

Lynn

0 Kudos
Message 15 of 17
(690 Views)

Hello!

 

This is acceptable when the sampling rate is constant for the different channels/ However, as shown in my example, I need to realize that one frequency was adjustable.

 

Pavel

0 Kudos
Message 16 of 17
(669 Views)

Pavel,

 

To have independent sample frequencies for two AI channels, you need to have a DAQ device which has independent A/D converters and independent timing sources for the converters.  I do not know if NI makes such a device. It will almost certainly be less expensive to use two devices.  A second USB-6341 should allow you to do what you want.

 

Lynn

0 Kudos
Message 17 of 17
(662 Views)