Connect

Most interactions with the XRA-31 start with a connect() call, which returns a Client. Using this context-manager from a with statement ensures full access mode is automatically revoked, no matter how the script ends.

excentis.xra31.connect(address: str = 'localhost', full_access: bool = False, force: bool = False) Client

Opens a connection with the XRA-31 and returns a Client object.

Parameters
  • address (str, optional) – Address of the XRA-31.

  • full_access (bool, optional) – Connect in full access mode.

  • force (bool, optional) – Force full access mode if it’s in use.

Returns

XRA-31 Client object.