WriteLine Performs the following operations in order: Converts the data specified to an ASCII string. The data is followed by a new line. Appends the resulting string to the write buffer. Writes the buffer to the instrument. Sends an END to the instrument if is SendEndEnabled true. Flushes the buffer. void WriteLine(); void WriteLine(Char data); void WriteLine(String data); void WriteLine(Int64 data); void WriteLine(UInt64 data); void WriteLine(Double data); Name Description Type A single character, string, integer, or real number to be data Char, String, converted to an ASCII string and sent to the instrument. Int64, UInt64, Double PRINTF The method implementations exhibit exactly the same behavior (but not necessarily WriteLine implementated exactly as shown) as a corresponding call to as shown in the following table. Printf, 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)
WriteLine Performs the following operations in order: Converts the data specified to an ASCII string. The data is followed by a new line. Appends the resulting string to the write buffer. Writes the buffer to the instrument. Sends an END to the instrument if SendEndEnabled is true. Flushes the buffer. void WriteLine(); void WriteLine(Char data); void WriteLine(String data); void WriteLine(Int64 data); void WriteLine(UInt64 data); void WriteLine(Double data); Name Description Type data A single character, string, integer, or real number to be converted to an ASCII string and sent to the instrument. Char, String, Int64, UInt64, Double PRINTF The WriteLine method implementations exhibit exactly the same behavior (but not necessarily implementated exactly as shown) as a corresponding call to Printf, as 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)
vpp436_2015-02-11.docx