Skip to main content
Read analog voltage values from ADC pins. Supports LabJack T7 and MCC USB-202 hardware.

Import

Methods

Method Reference

Net.get(name, type=NetType.ADC)

Get an ADC net by name.
Parameters: Returns: ADC Net instance

input()

Read the analog voltage.
Returns: float - Voltage in volts

Examples

Single Reading

Continuous Monitoring

Data Logging

Multiple Sensors

Supported Hardware

Both devices support bipolar measurement (positive and negative voltages).

Pin Naming

LabJack T7: MCC USB-202:

Notes

  • ADC nets work directly without enable()/disable() calls
  • Returns voltage as a float in volts
  • Both devices have a +/-10 V input range (bipolar)
  • LabJack T7 shares a connection handle with DAC, GPIO, and SPI operations
  • USB-202 opens and closes the connection on each read
  • Net names must match those configured on the Lager Box