Open dougthor42 opened 1 year ago
Technically we need is to generate a SCPI parser for such cases. The best would be to simply generate the regex from a SCPI string internally but we would need a way to opt in/out of this mechanism. I won't have time to look into this but I will make time to review a PR if you feel like addressing the issue.
The Keysight and Agilent instrument lines typically implement commands that can have various forms. For example, all of these are the same command:
Is there support for multiple getters and setters for a property? A naive implementation would allow just repeating the property name:
But this ends up being very verbose.
Can regex be used for getter and setter commands?