Endorphin.Core


String

Namespace: Endorphin.Core
Parent Module: SCPI

Functions for building SCPI commands into ASCII byte arrays for sending to machines.

Nested types and modules

ModuleDescription
Query

Create ASCII strings to query the instrument with keys and values.

Set

Create ASCII strings to set keys to values.

Functions and values

Function or valueDescription
append after before
Signature: after:byte [] -> before:byte [] -> byte []

Append one SCPI command to another. The command passed as the first argument ("after"), will be after the command passed as the second argument ("before"). This is intended for F# piping. For the other order, see SCPI.String.join.

concat commands
Signature: commands:seq<byte []> -> byte []

Concatenate a list of SCPI commands into one single ASCII string that may be sent to a machine in one go.

join before after
Signature: before:byte [] -> after:byte [] -> byte []

Append one SCPI command to another. The command passed as the first argument ("before"), will be before the command passed as the second argument ("after"). For use in F# pipes, see SCPI.String.append.

Fork me on GitHub