positionerSpeedCheck (and possibly other validation functions) require that the waveform have a minimum sample length. I think it's fine to enforce a minimum sample length on the entire sample sequence, but currently it looks like this function enforces that requirement on every named subsequence. I think this is too strict, and we should only enforce on the total sequence length. @kdw503 would this be okay with you?
For example, I am now testing a piezo command with total length greater than 1M samples, but there are subsequences inside of it that are only 50 samples long (this made it easier to script in combination with laser pulses). When I try running that command I get the ERR_SHORT_WAVEFORM code.
positionerSpeedCheck
(and possibly other validation functions) require that the waveform have a minimum sample length. I think it's fine to enforce a minimum sample length on the entire sample sequence, but currently it looks like this function enforces that requirement on every named subsequence. I think this is too strict, and we should only enforce on the total sequence length. @kdw503 would this be okay with you?For example, I am now testing a piezo command with total length greater than 1M samples, but there are subsequences inside of it that are only 50 samples long (this made it easier to script in combination with laser pulses). When I try running that command I get the ERR_SHORT_WAVEFORM code.