flowrs-engine/crates/flowrs-instruments/data/sim/labcraft/bench.toml
flowRS 2b6f30d348 flowRS engine, cut from flowRS f907e0756a7c
Built alone from an empty CARGO_HOME, its tests passed, and flowrsc checked, ran and exported a
document from the conformance corpus; the export built alone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 08:54:33 -05:00

40 lines
865 B
TOML

# Complete bench for `station`: multimeter, programmable source, relay matrix.
# The multimeter reads the source voltage (the physical wiring is simulated by `source`).
# The product (DUT) is present for 1.5 simulated seconds, then removed.
[[visa.instrument]]
resource = "SIM::DMM0"
idn = "SIM,DMM,0,1.0"
latency_ms = 5
[visa.instrument.measure]
"MEAS:VOLT:DC?" = "voltage"
[visa.instrument.quantity.voltage]
source = "SIM::PSU0.voltage"
noise = 0.05
seed = 7
[[visa.instrument]]
resource = "SIM::PSU0"
idn = "SIM,PSU,0,1.0"
latency_ms = 5
[visa.instrument.set]
"VOLT" = "voltage"
[visa.instrument.quantity.voltage]
value = 0.0
settle_ms = 300
[[visa.instrument]]
resource = "SIM::RELAY0"
idn = "SIM,RELAYS,0,1.0"
accept = ["ROUT:CLOS"]
[visa.instrument.measure]
"DUT:PRES?" = "dut"
[visa.instrument.quantity.dut]
initial = 1.0
value = 0.0
start_ms = 1500