Closed Satertek closed 2 years ago
Actually VISA defines VI_NO_SEC_ADDR
that should be returned if there is no secondary address so you could add an else branch.
Added, and ended up just reusing this block of code to keep it under the column limit :smiley:
Thanks !
Would it be possible to get a release to pypi that includes this fix?
I will do my best to do it later this week. Feel free to ping me if you see nothing.
The release is on PyPI
Check for existence of GPIB secondary address prior setting VI_ATTR_GPIB_SECONDARY_ADDR attribute Resolves #58