Endorphin.Core


Value

Namespace: Endorphin.Core
Parent Module: Query

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 valueDescription
bool key data
Signature: key:string -> data:'?7528 -> IScpiInstrument -> Async<bool>
Type parameters: '?7528

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

byte key data
Signature: key:string -> data:'?7514 -> IScpiInstrument -> Async<byte>
Type parameters: '?7514

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

char key data
Signature: key:string -> data:'?7512 -> IScpiInstrument -> Async<char>
Type parameters: '?7512

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

decimal key data
Signature: key:string -> data:'?7518 -> IScpiInstrument -> Async<decimal>
Type parameters: '?7518

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

double key data
Signature: key:string -> data:'?7526 -> IScpiInstrument -> Async<double>
Type parameters: '?7526

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

float key data
Signature: key:string -> data:'?7522 -> IScpiInstrument -> Async<float>
Type parameters: '?7522

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

float32 key data
Signature: key:string -> data:'?7520 -> IScpiInstrument -> Async<float32>
Type parameters: '?7520

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

int16 key data
Signature: key:string -> data:'?7498 -> IScpiInstrument -> Async<int16>
Type parameters: '?7498

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

int32 key data
Signature: key:string -> data:'?7500 -> IScpiInstrument -> Async<int32>
Type parameters: '?7500

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

int64 key data
Signature: key:string -> data:'?7502 -> IScpiInstrument -> Async<int64>
Type parameters: '?7502

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

int8 key data
Signature: key:string -> data:'?7496 -> IScpiInstrument -> Async<int8>
Type parameters: '?7496

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

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

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

raw key data instrument
Signature: key:string -> data:'In -> instrument:IScpiInstrument -> Async<byte []>
Type parameters: 'In

Query the instrument with a given key and value, then return the raw ASCII string read from the machine. The data type is converted to a string by calling its ToScpiString () method if it implements IScpiFormatable, verbatim if it is a byte array, or its obj.ToString () method otherwise.

sbyte key data
Signature: key:string -> data:'?7516 -> IScpiInstrument -> Async<sbyte>
Type parameters: '?7516

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

single key data
Signature: key:string -> data:'?7524 -> IScpiInstrument -> Async<single>
Type parameters: '?7524

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

string key data
Signature: key:string -> data:'?7494 -> IScpiInstrument -> Async<string>
Type parameters: '?7494

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

uint16 key data
Signature: key:string -> data:'?7506 -> IScpiInstrument -> Async<uint16>
Type parameters: '?7506

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

uint32 key data
Signature: key:string -> data:'?7508 -> IScpiInstrument -> Async<uint32>
Type parameters: '?7508

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

uint64 key data
Signature: key:string -> data:'?7510 -> IScpiInstrument -> Async<uint64>
Type parameters: '?7510

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

uint8 key data
Signature: key:string -> data:'?7504 -> IScpiInstrument -> Async<uint8>
Type parameters: '?7504

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

Fork me on GitHub