Query
Namespace: Endorphin.Core
Parent Module: Checked
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<unit>
|
Raise an exception if any errors are present in the queue.
|
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.
|