-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to update waveform data #24
Comments
This is likely an issue with the This can be checked by using PandA-Client to get all the info for the Field, and seeing what data appears in the FieldInfo structure. |
The
|
The |
Using the IOC with a real panda, there is an error in
_tables.py
upon trying to update any of the waveform table PV's, egPGEN1:TABLE:POSITION
.The IOC client gives the logging warning and error:
INFO:Sending table data for PGEN1:TABLE to PandA WARNING:Index 0 of record PGEN1:TABLE:POSITION is out of bounds. Traceback (most recent call last): File "/dls_sw/work/common/python/p45-ophyd-venv/lib/python3.9/site-packages/pandablocks_ioc/_tables.py", line 700, in _update_scalar scalar_val = waveform_data[index] IndexError: index 0 is out of bounds for axis 0 with size 0
It could be that the code currently doesn't allow for 0 waveforms, which is the initial setting.
To reproduce:
caput also doesn't work, although no helpful error is outputted from this
The text was updated successfully, but these errors were encountered: