Instrument Control Toolbox | ![]() ![]() |
Specify the number of data bits to transmit
Description
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.
Characteristics
Usage |
Serial port, VISA-serial |
Read only |
Never |
Data type |
Double |
Values
DataBits
can be 5
, 6
, 7
, or 8
. The default value is 8
.
Properties
![]() | CompareBits | DatagramAddress | ![]() |