write

Contents

write#

method

B2900.write(message: str, termination: str = None, encoding: str = None)[source]#

Writes a message to the SMU.

Parameters:
messagestr

The message to send.

terminationstr, optional

Alternative character termination to use. If None, the value of write_termination is used. Defaults to None.

encodingstr, optional

Alternative encoding to use to turn str into bytes. If None, the value of encoding is used. Defaults to None.