ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI6229 Channel range configuration

Solved!
Go to solution

I have a problem when I use the PCI_6229.The first channel collects millivolts,and the remaining channels collect  cell monomer voltage.So I want to set the first channel range is 0~1v,and the remaining channels range is 0~10v.How do I configure the Card in this situation?

0 Kudos
Message 1 of 6
(5,272 Views)

Hi bhyy,

 

have you tried to configure the DAQmxCreateVirtualChannel function for each channel as needed?

Best regards,
GerdW


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

According to the spec sheet, the ADC is muxed; thus all channel gains need to be the same, if I understand the question correctly.

 

mcduff

0 Kudos
Message 3 of 6
(5,160 Views)

Build a simple x1000 pre-amp for Channel 1.

 

Bob Schor

0 Kudos
Message 4 of 6
(5,146 Views)
Solution
Accepted by bhyy

You *can* configure distinct gains / ranges for the different channels.  Here's a snippet to illustrate GerdW's suggestion in msg #2.

 

 

-Kevin P

 

individual ai gains.png

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

Kevin_price is right, you can set different ranges per channel, BUT be aware you might get some ghosting after switching between channels, depending on your circuit's specifics.

 

I had an application where I needed to measure 15 channels in the 0-0.1V range, then a 16th in the 0-10V range, and I would see higher voltage than was real after scanning the 10V channel. (Note I was also scanning very quickly- a slower rate will help a lot).

 

Basically, if the muxed ADC is reading 9 V on something, then it needs to read 0.01 V, it will need some time to "bleed" down to that level. IIRC I was reading at ~50 kHz which resulted in ghosting on the first few channels. Just something to keep in mind.

Message 6 of 6
(4,409 Views)