| Ivi.Visa Namespace > IMessageBasedFormattedIO Interface : WriteBinary Method |
| Overload | Description |
|---|---|
| WriteBinary(Byte[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. |
| WriteBinary(Byte[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count bytes, starting from the array index specified. |
| WriteBinary(SByte[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. |
| WriteBinary(SByte[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count signed bytes, starting from the array index specified. |
| WriteBinary(Int16[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. |
| WriteBinary(Int16[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count Int16 integers, starting from the array index specified. |
| WriteBinary(UInt16[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. |
| WriteBinary(UInt16[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count UInt16 integers, starting from the array index specified. |
| WriteBinary(Int32[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. |
| WriteBinary(Int32[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count Int32 integers, starting from the array index specified. |
| WriteBinary(UInt32[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. |
| WriteBinary(UInt32[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count UInt32 integers, starting from the array index specified. |
| WriteBinary(Int64[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Raw binary arrays of 64-bit integers are supported, but IEEE 488.2 does not define arbitrary blocks of 64-bit integers. |
| WriteBinary(Int64[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count Int64 integers, starting from the array index specified. Raw binary arrays of 64-bit integers are supported, but IEEE 488.2 does not define arbitrary blocks of 64-bit integers. |
| WriteBinary(UInt64[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Raw binary arrays of 64-bit integers are supported, but IEEE 488.2 does not define arbitrary blocks of 64-bit integers. |
| WriteBinary(UInt64[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count UInt64 integers, starting from the array index specified. Raw binary arrays of 64-bit integers are supported, but IEEE 488.2 does not define arbitrary blocks of 64-bit integers. |
| WriteBinary(Single[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Single intergers cannot be formatted as IEEE-488.2 blocks. |
| WriteBinary(Single[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count singles, starting from the array index specified. Single intergers cannot be formatted as IEEE-488.2 blocks. |
| WriteBinary(Double[]) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Single intergers cannot be formatted as IEEE-488.2 blocks. |
| WriteBinary(Double[],Int64,Int64) | Formats the specified array as a raw binary array and adds it to the formatted I/O write buffer. Copy no more than count singles, starting from the array index specified. Single intergers cannot be formatted as IEEE-488.2 blocks. |
Each WriteBinary method exhibits the same behavior as the corresponding call to Printf shown in the following table:
| WriteBinary Method | Equivalent Printf Call |
|---|---|
| If BinaryEncoding=DefiniteLengthBlockData | |
| void WriteBinary(Byte[] data); void WriteBinary(SByte[] data); |
Printf("%b", data); |
| void WriteBinary(UInt16[] data); void WriteBinary(Int16[] data); |
Printf("%hb", data); |
| void WriteBinary(UInt32[] data); void WriteBinary(Int32[] data); |
Printf("%lb", data); |
| void WriteBinary(UInt64[] data); void WriteBinary(Int64[] data); |
These WriteBinary methods, and the corresponding Printf format specifier (%llb), are not supported at this time. |
| void WriteBinary(Single[] data); | Printf("%zb", data); |
| void WriteBinary(Double[] data); | Printf("%Zb", data); |
| If BinaryEncoding=IndefiniteLengthBlockData | |
| void WriteBinary(Byte[] data); void WriteBinary(SByte[] data); |
Printf("%B", data); |
| void WriteBinary(UInt16[] data); void WriteBinary(Int16[] data); |
Printf("%hB", data); |
| void WriteBinary(UInt32[] data); void WriteBinary(Int32[] data); |
Printf("%lB", data); |
| void WriteBinary(UInt64[] data); void WriteBinary(Int64[] data); |
These WriteBinary methods, and the corresponding Printf format specifier (%llB), are not supported at this time. |
| void WriteBinary(Single[] data); | Printf("%zB", data); |
| void WriteBinary(Double[] data); | Printf("%ZB", data); |
| If BinaryEncoding=RawBigEndian | |
| void WriteBinary(Byte[] data); void WriteBinary(SByte[] data); |
Printf("%!oby", data); |
| void WriteBinary(UInt16[] data); void WriteBinary(Int16[] data); |
Printf("%!obhy", data); |
| void WriteBinary(UInt32[] data); void WriteBinary(Int32[] data); |
Printf("%!obly", data); |
| void WriteBinary(UInt64[] data); void WriteBinary(Int64[] data); |
Printf("%!oblly", data); |
| void WriteBinary(Single[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!obzy) is not supported at this time. |
| void WriteBinary(Double[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!obZy) is not supported at this time. |
| If BinaryEncoding=RawLittleEndian | |
| void WriteBinary(Byte[] data); void WriteBinary(SByte[] data); |
Printf("%!oly", data); |
| void WriteBinary(UInt16[] data); void WriteBinary(Int16[] data); |
Printf("%!olhy", data); |
| void WriteBinary(UInt32[] data); void WriteBinary(Int32[] data); |
Printf("%!olly", data); |
| void WriteBinary(UInt64[] data); void WriteBinary(Int64[] data); |
Printf("%!ollly", data); |
| void WriteBinary(Single[] data); |
This WriteBinary method is supported, but the corresponding Printf format specifier (%!olzy) is not supported at this time. |
| void WriteBinary(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