| Ivi.Visa Namespace > IMessageBasedFormattedIO Interface : WriteBinaryAndFlush Method |
| Overload | Description |
|---|---|
| WriteBinaryAndFlush(Byte[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(Byte[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count bytes, starting from the array index specified. |
| WriteBinaryAndFlush(SByte[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(SByte[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count signed bytes, starting from the array index specified. |
| WriteBinaryAndFlush(Int16[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(Int16[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count Int16 integers, starting from the array index specified. |
| WriteBinaryAndFlush(UInt16[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(UInt16[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count UInt16 integers, starting from the array index specified. |
| WriteBinaryAndFlush(Int32[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(Int32[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count Int32 integers, starting from the array index specified. |
| WriteBinaryAndFlush(UInt32[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(UInt32[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count UInt32 integers, starting from the array index specified. |
| WriteBinaryAndFlush(Int64[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(Int64[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count Int64 integers, starting from the array index specified. |
| WriteBinaryAndFlush(UInt64[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(UInt64[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count UInt64 integers, starting from the array index specified. |
| WriteBinaryAndFlush(Single[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(Single[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count singles, starting from the array index specified. |
| WriteBinaryAndFlush(Double[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. |
| WriteBinaryAndFlush(Double[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer, appends a newline (and END, if END is enabled) to the formatted data, sends whatever is in the write buffer to the instrument, and flushes the buffer. Copy no more than count doubles, starting from the array index specified. |
Each WriteBinaryAndFlush method exhibits the same behavior as the corresponding call to PrintfAndFlush shown in the following table:
| WriteBinaryAndFlush Method | Equivalent Printf Call |
|---|---|
| If BinaryEncoding=DefiniteLengthBlockData | |
| void WriteBinaryAndFlush(Byte[] data); void WriteBinaryAndFlush(SByte[] data); |
PrintfAndFlush("%b", data); |
| void WriteBinaryAndFlush(UInt16[] data); void WriteBinaryAndFlush(Int16[] data); |
PrintfAndFlush("%hb", data); |
| void WriteBinaryAndFlush(UInt32[] data); void WriteBinaryAndFlush(Int32[] data); |
PrintfAndFlush("%lb", data); |
| void WriteBinaryAndFlush(UInt64[] data); void WriteBinaryAndFlush(Int64[] data); |
These WriteBinaryAndFlush methods, and the corresponding Printf format specifier (%llb), are not supported at this time. |
| void WriteBinaryAndFlush(Single[] data); | PrintfAndFlush("%zb", data); |
| void WriteBinaryAndFlush(Double[] data); | PrintfAndFlush("%Zb", data); |
| If BinaryEncoding=IndefiniteLengthBlockData | |
| void WriteBinaryAndFlush(Byte[] data); void WriteBinaryAndFlush(SByte[] data); |
PrintfAndFlush("%B", data); |
| void WriteBinaryAndFlush(UInt16[] data); void WriteBinaryAndFlush(Int16[] data); |
PrintfAndFlush("%hB", data); |
| void WriteBinaryAndFlush(UInt32[] data); void WriteBinaryAndFlush(Int32[] data); |
PrintfAndFlush("%lB", data); |
| void WriteBinaryAndFlush(UInt64[] data); void WriteBinaryAndFlush(Int64[] data); |
These WriteBinaryAndFlush methods, and the corresponding Printf format specifier (%llB), are not supported at this time. |
| void WriteBinaryAndFlush(Single[] data); | PrintfAndFlush("%zB", data); |
| void WriteBinaryAndFlush(Double[] data); | PrintfAndFlush("%ZB", data); |
| If BinaryEncoding=RawBigEndian | |
| void WriteBinaryAndFlush(Byte[] data); void WriteBinaryAndFlush(SByte[] data); |
PrintfAndFlush("%!oby", data); |
| void WriteBinaryAndFlush(UInt16[] data); void WriteBinaryAndFlush(Int16[] data); |
PrintfAndFlush("%!obhy", data); |
| void WriteBinaryAndFlush(UInt32[] data); void WriteBinaryAndFlush(Int32[] data); |
PrintfAndFlush("%!obly", data); |
| void WriteBinaryAndFlush(UInt64[] data); void WriteBinaryAndFlush(Int64[] data); |
PrintfAndFlush("%!oblly", data); |
| void WriteBinaryAndFlush(Single[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!obzy) is not supported at this time. |
| void WriteBinaryAndFlush(Double[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!obZy) is not supported at this time. |
| If BinaryEncoding=RawLittleEndian | |
| void WriteBinaryAndFlush(Byte[] data); void WriteBinaryAndFlush(SByte[] data); |
PrintfAndFlush("%!oly", data); |
| void WriteBinaryAndFlush(UInt16[] data); void WriteBinaryAndFlush(Int16[] data); |
PrintfAndFlush("%!olhy", data); |
| void WriteBinaryAndFlush(UInt32[] data); void WriteBinaryAndFlush(Int32[] data); |
PrintfAndFlush("%!olly", data); |
| void WriteBinaryAndFlush(UInt64[] data); void WriteBinaryAndFlush(Int64[] data); |
PrintfAndFlush("%!ollly", data); |
| void WriteBinaryAndFlush(Single[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!olzy) is not supported at this time. |
| void WriteBinaryAndFlush(Double[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!olZy) is not supported at this time. |
Current with Keysight IO Libraries Suite 18