Import
Methods
| Method | Description |
|---|---|
output() | Set analog output voltage |
input() | Read configured output voltage |
Method Reference
Net.get(name, type=NetType.DAC)
Get a DAC net by name.
| Parameter | Type | Description |
|---|---|---|
name | str | Name of the DAC net |
type | NetType | Must be NetType.DAC |
output(voltage)
Set the analog output voltage.
| Parameter | Type | Description |
|---|---|---|
voltage | float | Output voltage in volts |
input()
Read the currently configured output voltage.
float - Configured voltage in volts
Examples
Set Reference Voltage
Generate Ramp Signal
Voltage Sweep Test
Set and Verify
Hardware Integration
| Hardware | Channels | Range |
|---|---|---|
| LabJack T7 | DAC0-DAC1 | 0-10V |
Pin Mapping
| Pin Number | LabJack Channel |
|---|---|
| 0 | DAC0 |
| 1 | DAC1 |
Notes
- DAC nets work directly without
enable()/disable()calls - Output range is typically 0-10V
- Resolution depends on hardware (12-bit typical)
input()reads the configured value, not the actual output- Output values are maintained until changed or power cycle
- Net names must match those configured on the Lager Box

