« Close

Datasheets and User Guides

App Notes

Software & Driver

 

2.6.1 - Channel Numbers

The LabJack U6 has 16 total built-in analog inputs. Two of these are connected internally (AIN14/AIN15), leaving 14 user accessible analog inputs (AIN0-AIN13). The first 4 analog inputs, AIN0-AIN3, appear both on the screw terminals and on the DB37 connector. There is about 4.4 kΩ of resistance between the duplicated connections, so connecting signals to both will not short-circuit the signals but they will contend with each other.

Table 2.6.1-1. Positive Channel Numbers

Positive Channel #
0-13 Single-Ended
0,2,4,6,8,10,12 Differential
14 Temp Sensor (deg K)
15 GND

Table 2.6.1-2. Negative Channel Numbers

Negative Channel #
1,3,5,7,9,11,13 Differential
0,15,199 Single-Ended (GND)

The Mux80 accessory uses multiplexer ICs to easily expand the total number of analog inputs available from 14 to 84, or you can connect multiplexer chips yourself.

The DB37 connector has 3 MIO lines (shared with CIO0-CIO2) designed to address expansion multiplexer ICs (integrated circuits), allowing for up to 112 total external analog inputs. The DG408 from Intersil is a recommended multiplexer, and a convenient ±12 volt power supply is available so the multiplexers can pass bipolar signals (see Vm+/Vm- discussion in Section 2.11). Figure 2-2 shows the typical connections for a pair of multiplexers.

Figure 2-2. Typical External Multiplexer Connections

To make use of external multiplexers, the user must be comfortable reading a simple schematic (such as Figure 2-2) and making basic connections on a solderless breadboard (such as the EB37). Initially, it is recommended to test the basic operation of the multiplexers without the MIO lines connected. Simply connect different voltages to NO0 and NO1, connect ADDA/ADDB/ADDC to GND, and the NO0 voltage should appear on COM.  Then connect ADDA to VS and the NO1 voltage should appear on COM.

If any of the AIN channel numbers passed to a U6 function are in the range 16-127 (extended channels), the MIO lines will automatically be set to output and the correct state while sampling that channel. For instance, a channel number of 28 will cause the MIO to be set to b100 and the ADC will sample AIN1. Channel number besides 16-127 will have no affect on the MIO. The extended channel number mapping is shown in Table 2-2.

For differential extended channels, the positive channel must map to an even channel from 0-12, and the negative channel must map to the odd channel 1 higher (i.e. 1-13).  That means that for extended channel numbers the negative channel must be 8 higher than the positive channel.  For example, a valid differential extended channel pair would be Ch+ = AIN70 and Ch- = AIN78, since AIN70 maps to AIN6 and AIN78 maps to AIN7.  For more information on differential extended channels, see the Mux80 Datasheet.

In command/response mode, after sampling an extended channel the MIO lines remain in that same condition until commanded differently by another extended channel or another function. When streaming with any extended channels, the MIO lines are all set to output-low for any non extended analog channels. For special channels (digital/timers/counters), the MIO are driven to unspecified states. Note that the StopStream can occur during any sample within a scan, so the MIO lines will wind up configured for any of the extended channels in the scan. If a stream does not have any extended channels, the MIO lines are not affected.

Table 2.6.1-3. Expanded Channel Mapping

U6 MIO Multiplexed
Channel Channels
0 16-23
1 24-31
2 32-39
3 40-47
4 48-55
5 56-63
6 64-71
7 72-79
8 80-87
9 88-95
10 96-103
11 104-111
12 112-119
13 120-127

4 comments

Hi,

With U6 + DB37 connector I have 14 channels (AIN0-AIN13).

Can I have following configuration:

a. 7 Single Ended Channels, AIN0, AIN2, AIN4, AIN6, AIN8, AIN10, AIN12 with respect to GND for Common Mode volt measurement

with 'a', at the same time,

b. 7 Differential Measurement, AIN0-AIN1, AIN2-AIN3, AIN4-AIN5, AIN6-AIN7, AIN8-AIN9, AIN10-AIN11, AIN12-AIN13

So for 'b', Whatever supply was given to even channels shall be used.

Can I set above config at the same time, this ensures I can take 14 measurements at the same time.

 

Within the normal limits of sequential sampling, you can measure any combination that you want.  You can grab readings from all 7 differential and all 14 single-ended and can grab them in any order you want.

so to be sure, you mean I can grab 7 readings from differential and 7 readings from single ended at the same time with my mentioned config?

Yes, but keep in mind that "same time" is a relative term.  The U6 multiplexes all signals to a single ADC, so at the lowest level the different signals are converted sequentially.