page1
Test Station
testgearctl
libtestgear
Product
(device to be tested)
testgeard
(test plugins)
Instrument Station
testgeard
(interface plugins)
test.lua
test.log
Ethernet / USB / Serial
Ethernet
-- tg, description: “Power test (example)”
device = connect("tcp://10.0.0.10:8000")
instrument = connect("tcp://10.0.0.20:8000")
device.load("cpu")
instrument.load(“multimeter”)
device.cpu.start()
sleep(10)
power = instrument.multimeter.power_ch0
if (power > 5.5) then fail() end
device.cpu.stop()
instrument.unload(“multimeter”)
device.unload(“cpu”)
disconnect(instrument)
disconnect(device)
10.0.0.20
10.0.0.10