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 or list of device prefix paths.
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 andclose()to stop.- close()[source]
Close the recording and release all resources.
- open(filename, user_data=None)[source]
Start the recording.
- Parameters:
filename – The filename for the recording. Use time64.filename to produce a filename from timestamp.
user_data – The list of additional user data given as [chunk_meta, data] pairs. Use chunk_meta 0 and a data string for notes that display in the Joulescope UI.
- Returns:
self.