Specify number of data bits to transmit
You can configure DataBits
to be 5
, 6
, 7
,
or 8
. Data is transmitted as a series of five,
six, seven, or eight bits with the least significant bit sent first.
At least seven data bits are required to transmit ASCII characters.
Eight bits are required to transmit binary data. Five and six bit
data formats are used for specialized communication equipment.
Note
Both the computer and the instrument must be configured to transmit the same number of data bits.
In addition to the data bits, the serial data format consists
of a start bit, one or two stop bits, and possibly a parity bit. You
specify the number of stop bits with the StopBits
property,
and the type of parity checking with the Parity
property.
Usage | Serial port, VISA-serial |
Read only | Never |
Data type | Double |
DataBits
can be 5
, 6
, 7
,
or 8
. The default value is 8
.