7.2.10.6 The READHEX statement

The READHEX statement reads a message from the device, strips off the protocol frame and formats the received binary data as a hex dump. This is assigned to a driver variable.

readhex-statement.gif

The READHEX statement is used in the StandardBin.nc include file to define a convenient method of reading back the device's reply through the lowLevel driver variable for binary communication protocols. There is probably no other use for the READHEX statement.