I got lots of error with pyjoulescope_driver 1.3.2.
Command:
python -m pyjoulescope_driver record --set "s/i/lsb_src=gpi0" --set "s/v/lsb_src=gpi1" --set "s/extio/voltage=1.8V" --duration 5 --frequency 1000000 --signals i,v,p,0,1 test_drv_jsl2.jls 2>&1> log.txt
I cannot upload log file, here is part of log (total 15778 lines).
python : INFO:2023-04-14 08:54:53,876:wr_fsr.c:233:pyjls.c:sample_decimate_factor adjusted from 10 to 16
At line:1 char:1
+ python -m pyjoulescope_driver record --set "s/i/lsb_src=gpi0" --set " ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (INFO:2023-04-14...d from 10 to 16:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
INFO:2023-04-14 08:54:53,876:wr_fsr.c:237:pyjls.c:samples_per_data adjusted from 10 to 16
INFO:2023-04-14 08:54:53,938:wr_fsr.c:233:pyjls.c:sample_decimate_factor adjusted from 100 to 104
INFO:2023-04-14 08:54:53,938:wr_fsr.c:237:pyjls.c:samples_per_data adjusted from 100000 to 83200
Traceback (most recent call last):
File "C:\Users\test\AppData\Local\Programs\Python\Python310\lib\site-packages\pyjoulescope_driver\record.py",
line 233, in _on_data
self._wr.utc(signal_id, 0, value['utc'])
File "pyjls\binding.pyx", line 341, in pyjls.binding.Writer.utc
OverflowError: int too big to convert
Exception ignored in: 'pyjoulescope_driver.binding._on_cmd_publish2_cbk'
Traceback (most recent call last):
File "C:\Users\test\AppData\Local\Programs\Python\Python310\lib\site-packages\pyjoulescope_driver\record.py",
line 233, in _on_data
self._wr.utc(signal_id, 0, value['utc'])
File "pyjls\binding.pyx", line 341, in pyjls.binding.Writer.utc
OverflowError: int too big to convert
ERROR:2023-04-14 08:54:53,938:writer.c:416:pyjls.c:Duplicate signal: 1
Traceback (most recent call last):
File "C:\Users\test\AppData\Local\Programs\Python\Python310\lib\site-packages\pyjoulescope_driver\record.py",
line 224, in _on_data
self._wr.signal_def(
File "pyjls\binding.pyx", line 274, in pyjls.binding.Writer.signal_def
RuntimeError: signal_def failed 17
Exception ignored in: 'pyjoulescope_driver.binding._on_cmd_publish2_cbk'
...
Traceback (most recent call last):
File "C:\Users\test\AppData\Local\Programs\Python\Python310\lib\site-packages\pyjoulescope_driver\record.py",
line 224, in _on_data
self._wr.signal_def(
File "pyjls\binding.pyx", line 274, in pyjls.binding.Writer.signal_def
RuntimeError: signal_def failed 17
Start recording. Press CTRL-C to stop.
Installed module.
python -m pip show pyjoulescope_driver
Name: pyjoulescope-driver
Version: 1.3.2
Summary: Joulescope™ driver
Home-page: https://joulescope.readthedocs.io
Author: Jetperch LLC
Author-email: joulescope-dev@jetperch.com
License: Apache 2.0
Location: c:\users\test\appdata\local\programs\python\python310\lib\site-packages
Requires: numpy, pywin32, requests
Required-by: joulescope