(cardSwapByteOrder card_id value)
This command controls the byte order of 16-bit point accesses. If set, the bytes are swapped when point data is read or written to the device, otherwise the data is unmodified. No byte swapping is done on block data accesses. DOUBLE and INT16 type points assume bytes are in 'Little Endian' (low byte first) order. This command is used to compensate for cards that use the reverse byte order. The default mode is that bytes are not swapped.
Some cards may also be configured in hardware to perform byte swapping, in which case this command may not be required.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.