Query
Namespace: Endorphin.Core
Parent Module: SCPI
Functions for querying SCPI instruments, expecting an asynchronus response.
Nested types and modules
Module | Description |
Key
|
Functions for querying SCPI instruments by key only, e.g., ":SYSTEM:ERROR?".
|
Value
|
Functions to query SCPI instruments where the query takes some value as a parameter,
e.g., ":FILE:EXISTS? 'testfile.out'".
|
Functions and values
Function or value | Description |
errors instrument
Signature: instrument:IScpiInstrument -> Async<Error list option>
|
Check the queue for errors, returning None if no errors are found or a Some value
with the entire sequence of errors if some exist.
|
identity instrument
Signature: instrument:IScpiInstrument -> Async<Identity>
|
Get the identity of an instrument.
Throws SCPI.InvalidResponseException if the response does not match the SCPI spec.
|
verbatim str instrument
Signature: str:byte [] -> instrument:IScpiInstrument -> Async<byte []>
|
Send a byte array to the instrument verbatim, and asynchronously await its
response. No additional processing happens at either end.
|