Record

class pyjoulescope_driver.Record(driver, device_path, signals=None, auto=None)[source]

Record streaming sample data to a JLS v2 file.

Parameters:
  • driver – The active driver instance.

  • device_path – The device prefix path.

  • signals – The list of signals to record. None=[‘current’, ‘voltage’]

  • auto – Configure automatic operation. Provide the list of automatic operations to perform, which can be: * signal_enable * signal_disable None (default) is equivalent to [‘signal_enable’, ‘signal_disable’]

Call open() to start recording and close() to stop.

close()[source]

Close the recording and release all resources.

open(filename)[source]

Start the recording.

Parameters:

filename – The filename for the recording. Use time64.filename to produce a filename from timestamp.

Returns:

self.