(cardSwapByteOrder card_id value)
The ID of the card.
Use 1 for TRUE or 0 for FALSE. If TRUE, the byte order is swapped, if FALSE the byte order remains unchanged.
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-2010 by Cogent Real-Time Systems, Inc. All rights reserved.