National Instruments 372139B-01 Automobile User Manual


 
Chapter 6 Automotive Diagnostic Command Set API for C
Automotive Diagnostic Command Set User Manual 6-2 ni.com
List of Data Types
The following data types are used with the Automotive Diagnostic Command Set API for C
functions.
Table 6-1. Data Types for the Automotive Diagnostic Command Set for C
Data Type Purpose
i8
8-bit signed integer
i16
16-bit signed integer
i32
32-bit signed integer
u8
8-bit unsigned integer
u16
16-bit unsigned integer
u32
32-bit unsigned integer
f32
32-bit floating-point number
f64
64-bit floating-point number
str
ASCII string represented as an array of characters terminated by null
character (
'\0'). This type is used with output strings. str is typically
used in the Automotive Diagnostic Command Set API as a pointer to a
string, as
char*.
cstr
ASCII string represented as an array of characters terminated by null
character (
'\0'). This type is used with input strings. cstr is typically
used in the Automotive Diagnostic Command Set as a pointer to a string,
as
const char*.