Import
Methods
| Method | Description |
|---|---|
input() | Read analog voltage |
Method Reference
Net.get(name, type=NetType.ADC)
Get an ADC net by name.
| Parameter | Type | Description |
|---|---|---|
name | str | Name of the ADC net |
type | NetType | Must be NetType.ADC |
input()
Read the analog voltage.
float - Voltage in volts
Examples
Single Reading
Continuous Monitoring
Data Logging
Multiple Sensors
Hardware Integration
| Hardware | Channels | Range |
|---|---|---|
| LabJack T7 | AIN0-AIN13 | 0-10V |
Pin Mapping
| Pin Number | LabJack Channel |
|---|---|
| 0 | AIN0 |
| 1 | AIN1 |
| 2 | AIN2 |
| … | … |
| 13 | AIN13 |
Notes
- ADC nets work directly without
enable()/disable()calls - Returns voltage as a float in volts
- Input range is 0-10V with 12-bit resolution
- Each operation opens and closes the LabJack connection
- Net names must match those configured on the Lager Box

