Reinitializing controller with ibonl()

Michael K via Linux-gpib-general <[email protected]> Mon, 26 Feb 2024 04:38:53 +0000 (UTC)
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <[email protected]>
If I get a descriptor for a controller with ibfind(), I can use ibonl() to close it ONLY if I give a 0 argument ... discarding descriptor and resources (status returns 0x0178). If I give a non zero argument (trying to reinitialize without discarding the descriptor) I get a status error (0x8178 with iberr of 0). Why can't I just initialize the controller as the docs would indicate I could?
If I use the board number (minor) (instead of getting the descriptor with ibfind()) ibonl always fails with status 0x8130 and iberr of EDVR 0: OS error. How can I reinitialize the controller using the minor number?


_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general