DewesoftX#
- class DewesoftX(dxd_name: str | None = None)[source]#
Bases:
DAQDriverBaseStreams live sync and async channels from a running DewesoftX instance over DCOM.
Attributes
Frozen snapshot of configured AI channels, keyed by alias. |
|
Frozen snapshot of configured AO channels, keyed by alias. |
|
Frozen snapshot of all configured AI/AO/DI/DO channels (excludes relays). |
|
Frozen snapshot of configured DI channels, keyed by alias. |
|
Frozen snapshot of configured DO channels, keyed by alias. |
|
Frozen snapshot of configured relay channels, keyed by alias. |
|
Methods
Drop the COM references; the configured channels survive, and the next open() rebinds them. |
|
Close the relay (connect the circuit). |
|
Deprecated: implement |
|
Same binding as voltage: DewesoftX channels carry their own units, so the HAL type only labels the alias. |
|
Require the requested rate to be DewesoftX's own: InstroDAQ derives the batch size and buffer from it. |
|
Same binding as voltage; tc_type and CJC settings are ignored because DewesoftX owns sensor setup. |
|
Bind an existing DewesoftX channel by name; DewesoftX owns all channel setup. |
|
Deprecated: implement |
|
Register an AO current channel. |
|
Register an AO voltage channel. |
|
Parse, program, and register a DI line channel. |
|
Parse, program, and register a DI port channel. |
|
Parse, program, and register a DO line channel. |
|
Parse, program, and register a DO port channel. |
|
Build a |
|
Block until |
|
The device's rate captured at configure time; None before configure_ai_sample_rate(). |
|
Attach to the running DewesoftX instance. |
|
Open the relay (disconnect the circuit). |
|
Drain every new sample from each bound channel. |
|
Sample a single DI line. |
|
Sample a multi-line DI port. |
|
Listen for a session an operator starts, or with |
|
Leave the running session alone, or with |
|
Write |
|
Drive a single DO line. |
|
Drive a multi-line DO port. |