xPC Target    

Supported Data Types for Message Fields

The following table lists the supported data types for the RS-232 message fields.

Format
Description
%c and %C
Single character and wide character
%d or %I
Signed decimal integer
%u
Unsigned decimal integer
%o
Unsigned octal integer
%x or %X
Unsigned hexadecimal integer using 'abcdef' or 'ABCDEF' for the hexadecimal digits.
%e or %E
Exponential format using e or E
%f
Floating point
%g
Signed value printed in f or e format depending on which is smaller
%G
Signed value printed in f or E format depending on which is smaller


  RS-232 Receive Message Structure (Asynchronous) RS-232 Binary Mode