Output, Description – National Instruments CAN 372139B-01 User Manual

Page 180

Advertising
background image

Chapter 6

Automotive Diagnostic Command Set API for C

Automotive Diagnostic Command Set User Manual

6-16

ni.com

dataIn

Points to the byte array that contains the binary representation of

value

.

len

Must contain the

dataIn

array length.

Output

value

The physical value converted from the binary representation.

Description

Data output from diagnostic services (for example,

ndReadDataByLocalIdentifier

) is

usually a byte stream of binary data. If you have a description of the data output (for example,
byte 3 and 4 are engine RPM scaled as .25 *

×

RPM in Motorola representation), you can

use

ndConvertToPhys

to extract the physical value from the byte stream by filling an

appropriate

typeDescriptor

struct.

Advertising