Download 5370-ND008, Bulletin 5370 CVIM USER
Transcript
Chapter 8 Defining Strings for Serial Ports and Viewports and g2, which cause the transmission of the gage 1 and gage 2 results (109 and 112), respectively. Gage 1 result Gage 2 result Results 109 112 [CR] [LF] Format Codes – are optionally included in parentheses next to data codes, and determine, among other things, how many places the transmitted data will be allowed in the transmitted message. In the example, the format code (3) is included with each data code, limiting the transmitted data to 3 places (if no format code is included, the default format for data is 9 places). Format Codes – (3) Results 109 112 [CR] [LF] Newline Character – consists of an n (upper or lower case), and results in the transmission of the carriage return [CR] and line feed [LF] characters. The example includes a single newline character at the end of the string. Newline Character Results 109 112 [CR] [LF] 8–31