| Ivi.Visa Namespace > IMessageBasedFormattedIO Interface : WriteLine Method |
| Overload | Description |
|---|---|
| WriteLine() | Appends a newline (0xA) to the formatted I/O write buffer, flushes the buffer, and sends an END with the buffer if required. |
| WriteLine(Char) | Converts the specified character to an ASCII character and appends it to the formatted I/O write buffer. Appends a newline (0xA) to the formatted I/O write buffer, flushes the buffer, and sends an END with the buffer if required. |
| WriteLine(String) | Converts the specified string to an ASCII string and appends it to the formatted I/O write buffer. Appends a newline (0xA) to the formatted I/O write buffer, flushes the buffer, and sends an END with the buffer if required. |
| WriteLine(Int64) | Converts the specified signed integer to an ASCII string and appends it to the formatted I/O write buffer. Appends a newline (0xA) to the formatted I/O write buffer, flushes the buffer, and sends an END with the buffer if required. |
| WriteLine(UInt64) | Converts the specified unsigned integer to an ASCII string and appends it to the formatted I/O write buffer. Appends a newline (0xA) to the formatted I/O write buffer, flushes the buffer, and sends an END with the buffer if required. |
| WriteLine(Double) | Converts the specified real number to an ASCII string and appends it to the formatted I/O write buffer. Appends a newline (0xA) to the formatted I/O write buffer, flushes the buffer, and sends an END with the buffer if required. |
Each WriteLine method exhibits the same behavior as the corresponding call to Printf shown in the following table:
| WriteLine Method | Equivalent Printf Call |
|---|---|
| void WriteLine(Char data); | Printf("%c\n", data); |
| void WriteLine(String data); | Printf("%s\n", data); |
| void WriteLine(Int64 data); | Printf("%@1d\n", data); |
| void WriteLine(UInt64 data); | Printf("%@1u\n", data); |
| void WriteLine(Double data); | Printf("%@2f\n", data); |
Current with Keysight IO Libraries Suite 18