mpylab.device.prologix_simulator module

mpylab.device.prologix_simulator module.

mpylab.device.prologix_simulator.start_prologix_simulator(host='127.0.0.1', port=1234)

Start a background Prologix Ethernet-to-GPIB simulator.

Parameters:
  • host (str, optional) – Interface address on which the simulator listens.

  • port (int, optional) – TCP port. Pass zero to let the operating system choose a free port.

Returns:

Running server. Call shutdown() and server_close() when done.

Return type:

socketserver.TCPServer