• 0

## Question

From the USB-1808X data logger, analog input can support different voltage ranges. Ranges include 10 V, ±5 V, 0 V to 10 V, and 0 V to 5 V.

Here is my code:

// allocate arrays
channelArray = new short[numberOfAnalogChannels];
channelTypeArray = new MccDaq.ChannelType[numberOfAnalogChannels];
gainArray = new MccDaq.Range[numberOfAnalogChannels];

for (int channelNumber = 0; channelNumber < numberOfAnalogChannels; channelNumber++)
{
channelTypeArray[channelNumber] = MccDaq.ChannelType.Analog;
channelArray[channelNumber] = (short)channelNumber;
gainArray[channelNumber] = MccDaq.Range.Bip5Volts;
}

Here are some constants from MccDaq.Range:

namespace MccDaq
{
public enum Range
{
NotUsed = -1,
Bip5Volts = 0,
Bip10Volts = 1,
Bip2Pt5Volts = 2,
Bip1Pt25Volts = 3,
Bip1Volts = 4,
BipPt625Volts = 5,
BipPt5Volts = 6,
BipPt1Volts = 7,
BipPt05Volts = 8,
BipPt01Volts = 9,
BipPt005Volts = 10,
Bip1Pt67Volts = 11,
BipPt25Volts = 12,
BipPt2Volts = 13,
Bip2Volts = 14,
...

Questions:
1. Does MccDaq.Range.Bip5Volts correspond to plus/minus 5V ?
2. Which constant corresponds to 0V to 5V ?
3. What does "Bip" stand for? What does "Uni" stand for?
3. Are the constants for MccDaq.Range documented?

## Recommended Posts

• 0

Bip is bipolar or plus/minus. Bip5Volts is -5V to +5V. Uni is unipolar so Uni5Volts is 0V to +5V. The USB-1808X uses

Bip10Volts, Bip5Volts, Uni10Volts, Uni5Volts.

## Create an account

Register a new account