Loadable Function: srl_parity (serial, parity)
Loadable Function: p = srl_parity (serial)

Set new or get existing serial interface parity parameter. Even/Odd/None values are supported.

Inputs

serial - instance of octave_serial class.
parity - parity value of type String. Supported values: Even/Odd/None (case insensitive, can be abbreviated to the first letter only)

If parity parameter is omitted, the srl_parity() shall return current parity value as the result p.

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

Outputs

p - The currently set parity

Package: instrument-control