Python API#
- Driver
DeviceContextDriverDriver.close()Driver.device_paths()Driver.device_watch()Driver.finalize()Driver.find_devices()Driver.find_one_device()Driver.is_driver_thread()Driver.log_levelDriver.open()Driver.publish()Driver.publish_and_wait()Driver.query()Driver.subscribe()Driver.unsubscribe()Driver.unsubscribe_all()
ElementTypeErrorCodeFieldLogLevelMemClientStdMsgSubscribeContextSubscribeFlagsTimeMap
- Device selection
- Record
- Program
- time64
Command-line tools#
The package installs command-line entry points. For the full list:
python -m pyjoulescope_driver --help
The commands that operate on devices select them with --device (-d),
which accepts the same device specifications as
Driver.find_devices(), such as -d js320 or -d 8W2A.
The commands that support any device also accept --brand, such as
--brand joulescope. For example:
python -m pyjoulescope_driver info
python -m pyjoulescope_driver values -d js320
python -m pyjoulescope_driver metadata --brand joulescope