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:'?7450 -> IScpiInstrument -> Async<bool>
Type parameters: '?7450

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:'?7436 -> IScpiInstrument -> Async<byte>
Type parameters: '?7436

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:'?7434 -> IScpiInstrument -> Async<char>
Type parameters: '?7434

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:'?7440 -> IScpiInstrument -> Async<decimal>
Type parameters: '?7440

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:'?7448 -> IScpiInstrument -> Async<double>
Type parameters: '?7448

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:'?7444 -> IScpiInstrument -> Async<float>
Type parameters: '?7444

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:'?7442 -> IScpiInstrument -> Async<float32>
Type parameters: '?7442

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:'?7420 -> IScpiInstrument -> Async<int16>
Type parameters: '?7420

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:'?7422 -> IScpiInstrument -> Async<int32>
Type parameters: '?7422

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:'?7424 -> IScpiInstrument -> Async<int64>
Type parameters: '?7424

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:'?7418 -> IScpiInstrument -> Async<int8>
Type parameters: '?7418

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:'?7438 -> IScpiInstrument -> Async<sbyte>
Type parameters: '?7438

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:'?7446 -> IScpiInstrument -> Async<single>
Type parameters: '?7446

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:'?7416 -> IScpiInstrument -> Async<string>
Type parameters: '?7416

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:'?7428 -> IScpiInstrument -> Async<uint16>
Type parameters: '?7428

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:'?7430 -> IScpiInstrument -> Async<uint32>
Type parameters: '?7430

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:'?7432 -> IScpiInstrument -> Async<uint64>
Type parameters: '?7432

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:'?7426 -> IScpiInstrument -> Async<uint8>
Type parameters: '?7426

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

Fork me on GitHub