DUT power management
The AT1000 features a DUT power port capable of delivering up to 24V, allowing engineers to supply, control, and monitor power to their devices under test (DUTs).
In many application, current consumption can be correlated to device behavior, and can be used to confirm normal operation or detect abnormal operation.
In some situation power-cycling a port in a controlled manner is key to thoroughly testing a device.
Controlling DUT Power​
The DUT power port can be powered up to a specified voltage and powered down when needed.
- NodeJS
- Python
- Rust
import { AT1000 } from '@ikalogic/at1000';
const devices = await AT1000.findDevices(); // Discover devices (returns host strings)
const tester = await AT1000.open(devices[0]); // Open the first detected device
await tester.reset(); // Reset the tester to ensure it's in a known state
await tester.power.dut(0).enable(12); // Power up the DUT power supply channel 0
await tester.power.dut(0).disable(); // Power down the DUT power supply channel 0
from ikalogic_at1000 import AT1000
devices = AT1000.find_devices() # Discover devices (returns host strings)
tester = AT1000.open(devices[0]) # Open the first detected device
tester.reset() # Reset the tester to ensure it's in a known state
tester.power.dut(0).enable(12) # Power up the DUT power supply channel 0
tester.power.dut(0).disable() # Power down the DUT power supply channel 0
use ikalogic_at1000::AT1000;
use std::time::Duration;
let devices = AT1000::find_devices(Duration::from_millis(500))?; // Discover devices (returns host strings)
let tester = AT1000::open(&devices[0])?; // Open the first detected device
tester.reset()?; // Reset the tester to ensure it's in a known state
tester.power.dut(0)?.enable(12.0)?; // Power up the DUT power supply channel 0
tester.power.dut(0)?.disable()?; // Power down the DUT power supply channel 0
Reading DUT Voltage and Current​
The AT1000 allows real-time measurement of voltage and current supplied to the DUT.
- NodeJS
- Python
- Rust
// Read voltage supplied to DUT
let voltage = await tester.power.dut(0).read_voltage();
console.log("DUT Power Voltage:", voltage, "V");
// Read current consumption of DUT
let current = await tester.power.dut(0).read_current();
console.log("DUT Power Current:", current, "A");
# Read voltage supplied to DUT
voltage = tester.power.dut(0).read_voltage()
print(f"DUT Power Voltage: {voltage} V")
# Read current consumption of DUT
current = tester.power.dut(0).read_current()
print(f"DUT Power Current: {current} A")
// Read voltage supplied to DUT
let voltage = tester.power.dut(0)?.read_voltage()?;
println!("DUT Power Voltage: {voltage} V");
// Read current consumption of DUT
let current = tester.power.dut(0)?.read_current()?;
println!("DUT Power Current: {current} A");