You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your best bet is probably to implement _check_visa_support() in your module. You can look at some other drivers to see how it's used; one example is wavemeters.burleigh. You then usually should add _INST_PRIORITY to indicate the driver's priority, i.e. how early in the list of drivers it should be imported and tested.
This isn't a great solution, but it should work. Since manufacturers often don't follow the SCPI spec when it comes to the IDN query, maybe we should add some more flexibility to how you can test against IDNs.
When I run
inst._rsrc.query('*IDN?')
, I get the following string:Newport 8008 v2.22m B222
. How do I write the_INST_VISA_INFO_
string?The text was updated successfully, but these errors were encountered: