Instrument Control Toolbox | ![]() ![]() |
Specify the number of bits used to indicate the end of a byte
Description
You can configure StopBits
to be 1
, 1.5
, or 2
for serial port objects, or 1
or 2
for VISA-serial objects If StopBits
is 1
, one stop bit is used to indicate the end of data transmission. If StopBits
is 2
, two stop bits are used to indicate the end of data transmission. If StopBits
is 1.5
, the stop bit is transferred for 150% of the normal time used to transfer one bit.
Note Both the computer and the instrument must be configured to transmit the same the number of stop bits. |
In addition to the stop bits, the serial data format consists of a start bit, between five and eight data bits, and possibly a parity bit. You specify the number of data bits with the DataBits
property, and the type of parity checking with the Parity
property.
Characteristics
Usage |
Serial port, VISA-serial |
Read only |
Never |
Data type |
double |
Serial Port
VISA-serial
{1} |
One stop bit is transmitted to indicate the end of a byte. |
2 |
Two stop bits are transmitted to indicate the end of a byte |
Properties
![]() | Status | Tag | ![]() |