Endorphin.Core


Bytes

Namespace: Endorphin.Core
Parent Module: Visa

Functions related to byte array-based I/O.

Functions and values

Function or valueDescription
query instrument message
Signature: instrument:Instrument -> message:string -> Async<byte array>

Query a VISA instrument for a byte array, using the given string as a query using synchronous I/O.

queryAsync instrument message
Signature: instrument:Instrument -> message:string -> Async<byte array>

Query a VISA instrument for a byte array, using the given string as a query using asynchronous I/O.

read instrument
Signature: instrument:Instrument -> Async<byte []>

Read a byte array that the VISA instrument is broadcasting using synchronous I/O.

readAsync instrument
Signature: instrument:Instrument -> Async<byte []>

Read a byte array that the VISA instrument is broadcasting using asynchronous I/O

write instrument
Signature: instrument:Instrument -> byte array -> unit

Write a byte array to a VISA instrument using synchronous I/O.

writeAsync instrument
Signature: instrument:Instrument -> byte array -> unit

Write a byte array to a VISA instrument using asynchronous I/O.

Fork me on GitHub