Endorphin.IO


LineAgent<'T>

Namespace: Endorphin.IO

Agent to serialise writing linemode command and read emitted data into lines asynchronously. StreamBuffer doesn't This is useful for devices which don't implement a VISA-style command-response e.g. if commands are not acknowledged but the device may stream line-mode data

Constructors

ConstructorDescription
new(logname)
Signature: logname:string -> LineAgent<'T>

CompiledName: .ctor

Instance members

Instance memberDescription
AwaitResponse
Signature: Async<'T>

CompiledName: get_AwaitResponse

ExtractReply(arg1)
Signature: ReceivedLines -> ReceivedLines * 'T option
Modifiers: abstract
HandleLines(arg1)
Signature: (string []) -> unit
Modifiers: abstract
Logger
Signature: ILog

CompiledName: get_Logger

Query(q)
Signature: q:string -> 'T
QueryAsync(q)
Signature: q:string -> Async<'T>
Receive(a)
Signature: a:string -> unit
Send
Signature: string -> unit

Write a line to the serial port

CompiledName: get_Send

WriteBytes(arg1)
Signature: (byte []) -> Async<unit>
Modifiers: abstract
WriteLine(arg1)
Signature: string -> Async<unit>
Modifiers: abstract
Fork me on GitHub