pcdshub / pcdsdaq

Utilities for using the DAQ's pydaq, pycdb, and pyami libraries in conjunction with Bluesky
https://pcdshub.github.io/pcdsdaq
Other
0 stars 9 forks source link

Add handling for max string length on pydaq controls, labels #93

Open ZLLentz opened 3 years ago

ZLLentz commented 3 years ago

Expected Behavior

Current Behavior

ddamiani commented 3 years ago

Just to note the latest version of pydaq (10.2.4+) will throw a ValueError if the length of the name field for pv controls, monitors, and labels is longer than 32 bytes (including a null terminator in that 32, so the string length is really 31).

The value field of the pv labels is 64.