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];
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?
Question
PhilipW
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?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now