National Instruments 372139B-01 Automobile User Manual


 
Chapter 5 Automotive Diagnostic Command Set API for LabVIEW
© National Instruments Corporation 5-11 Automotive Diagnostic Command Set User Manual
Output
data out is the binary representation of the physical value. If you build a
record of multiple values, you can concatenate the outputs of several
instances of Convert from Phys.vi.
Description
Data input to diagnostic services (for example, WriteDataByLocalIdentifier.vi) is usually a
byte stream of binary data. If you have a description of the data input (for example, byte 3 and
4 are engine RPM scaled as .25 *
×
RPM in Motorola representation), you can use Convert
from Phys.vi to convert the physical value to the byte stream by filling an appropriate type
descriptor cluster.
Convert from Phys.vi converts only the portion specified by one type descriptor to a binary
representation. If your data input consists of several values, you can use Convert from
Phys.vi multiple times and concatenate their outputs.