Loadable Function: srl_stopbits (serial, stopb)
Loadable Function: sb = srl_stopbits (serial)

Set new or get existing serial interface stop bits parameter. Only 1 or 2 stop bits are supported.

Inputs

serial - instance of octave_serial class.
stopb - number of stop bits used. Supported values: 1, 2.

Outputs

If stopb parameter is omitted, the srl_stopbits() shall return current stop bits value as the result sb.

This function is obsolete. Use get and set method instead.

Package: instrument-control