: writebinblock (dev, data, datatype)

Write a IEEE 488.2 binblock of data to a instrument device

binblock formatted data is defined as:

#<A><B><C>

where: <A> ASCII number containing the length of part <B>

<B> ASCII number containing the number of bytes of <C>

<C> Binary data block

Inputs

dev - connected device

data - binary data to send

datatype - datatype to send data as

Outputs

None

See also: flushoutput.

Package: instrument-control