Skip to content

6. Runtime View

Scenario 1: Connect and Query Device Info

sequenceDiagram
    participant User
    participant CLI
    participant Device
    participant DPS as FNIRSI DPS-150

    User->>CLI: fnirsi info --port /dev/ttyACM0
    CLI->>Device: open()
    Device->>DPS: CONNECT frame
    DPS-->>Device: CONNECT ACK
    Device->>DPS: QUERY_STATUS frame
    DPS-->>Device: STATUS blob
    Device-->>CLI: parsed DeviceStatus
    CLI-->>User: rich table output

Placeholder — verify exact frame sequence and add error paths.

Scenario 2: Set Voltage / Current

To be filled. Add a sequence diagram similar to Scenario 1.

Scenario 3: Output Enable / Disable

To be filled.