Endorphin.Core


Key

Namespace: Endorphin.Core
Parent Module: Query

Functions for querying SCPI instruments by key only, e.g., ":SYSTEM:ERROR?".

Functions and values

Function or valueDescription
bool key
Signature: key:string -> IScpiInstrument -> Async<bool>

Query the instrument with a given key, then parse the result into the primitive .NET type "bool".

byte key
Signature: key:string -> IScpiInstrument -> Async<byte>

Query the instrument with a given key, then parse the result into the primitive .NET type "byte".

char key
Signature: key:string -> IScpiInstrument -> Async<char>

Query the instrument with a given key, then parse the result into the primitive .NET type "char".

decimal key
Signature: key:string -> IScpiInstrument -> Async<decimal>

Query the instrument with a given key, then parse the result into the primitive .NET type "decimal".

double key
Signature: key:string -> IScpiInstrument -> Async<double>

Query the instrument with a given key, then parse the result into the primitive .NET type "double".

float key
Signature: key:string -> IScpiInstrument -> Async<float>

Query the instrument with a given key, then parse the result into the primitive .NET type "float".

float32 key
Signature: key:string -> IScpiInstrument -> Async<float32>

Query the instrument with a given key, then parse the result into the primitive .NET type "float32".

int16 key
Signature: key:string -> IScpiInstrument -> Async<int16>

Query the instrument with a given key, then parse the result into the primitive .NET type "int16".

int32 key
Signature: key:string -> IScpiInstrument -> Async<int32>

Query the instrument with a given key, then parse the result into the primitive .NET type "int32".

int64 key
Signature: key:string -> IScpiInstrument -> Async<int64>

Query the instrument with a given key, then parse the result into the primitive .NET type "int64".

int8 key
Signature: key:string -> IScpiInstrument -> Async<int8>

Query the instrument with a given key, then parse the result into the primitive .NET type "int8".

parsed parser key instrument
Signature: parser:(string -> 'Out) -> key:string -> instrument:IScpiInstrument -> Async<'Out>
Type parameters: 'Out

Query the isntrument with a given key, then parse the result from a UTF-8 string using the passed parser.

raw key instrument
Signature: key:string -> instrument:IScpiInstrument -> Async<byte []>

Query the instrument with a given key, then return the raw ASCII string read from the machine.

sbyte key
Signature: key:string -> IScpiInstrument -> Async<sbyte>

Query the instrument with a given key, then parse the result into the primitive .NET type "sbyte".

single key
Signature: key:string -> IScpiInstrument -> Async<single>

Query the instrument with a given key, then parse the result into the primitive .NET type "single".

string key
Signature: key:string -> IScpiInstrument -> Async<string>

Query the instrument with a given key, then parse the result into the primitive .NET type "string".

uint16 key
Signature: key:string -> IScpiInstrument -> Async<uint16>

Query the instrument with a given key, then parse the result into the primitive .NET type "uint16".

uint32 key
Signature: key:string -> IScpiInstrument -> Async<uint32>

Query the instrument with a given key, then parse the result into the primitive .NET type "uint32".

uint64 key
Signature: key:string -> IScpiInstrument -> Async<uint64>

Query the instrument with a given key, then parse the result into the primitive .NET type "uint64".

uint8 key
Signature: key:string -> IScpiInstrument -> Async<uint8>

Query the instrument with a given key, then parse the result into the primitive .NET type "uint8".

Fork me on GitHub