Hi I wrote Makefile for this project. It compiles, but I do not have the Agilent hardware to test. (My goal is to add support for GPIB-USB-HS). Would some try and see if it works?
Makefile?
No further action to be done.
Fixed :)
Posting sources for Library ?
Bonjour Vincent, Pas de soucis ! À bientôt
Bonjour Guilhem, désolé, j'ai plus l'habitude de github que de sourceforge, je n'avais meme pas vu l'onglet ! confus je suis ;-)
Hi Vincent, The binary of the library can be downloaded at the following address: https://sourceforge.net/projects/macosx-gpib-lib/files/macosx_gpib_lib_1.0.3a.zip/download The source code is available at the following address: https://sourceforge.net/p/macosx-gpib-lib/code/ci/master/tree/ or you can click on the "Code" Tab as well. Thanks Guilhem
Posting sources for Library ?
Thanks for your feedback Carsten! I didn't realize that it wasn't working at all for you. The time needed for me to test and I'll submit this release then!
Indeed, got a *IDN from my device. Now need to do some actual testing.
Yes, that workaround gets much further. I haven't actually tested talking to my device yet, but at least things are not erroring out right away.
Hi Carsten, I was wondering if you managed to find time to try out the latest version I did or if you had a code to propose? Maybe I'll role this release out then. Thank you! Guilhem
Hi, In order to compile the code, macosx_gpib_Prefix.pch must be set in the correct field under: Project (project name) -> Build Settings (All) -> Apple LLVM 9.0 - Language -> Prefix Header Cheers
Hello, I've implemented a quick workaround, could you test it please? Thank you
Hi, Thanks for these details! Indeed, I've never tested my code with such number of usb devices connected (I probably have 2 or 3 usb devices, not 25, that's really impressive). As you said, I don't think my code is causing the error, but I'm a bit puzzled as it should release the ressources before opening it again, and thus one ressource should always be available. That means that there is a case when the ressource is not released in time. As you suggested I can try to not exit the loop when the...
Thank you. I’m not seeing a difference with that dylib (except for the version number): $ python gpibtest.py macosx_gpib_lib version 1.0.4a Copyright (C) 2018 by Guilhem Vavelin This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under the terms of the GNU General Public License as published by the Free Software Foundation version 2; email:guileukow@users.sourceforge.net Assertion failed: (kr == kIOReturnSuccess), function -[agilent_82357_ab...
Hi, I’ve not been able to do a lot today but could you please try this version? I’ve just changed the way the object is destroyed, but I’ve not been able to test yet. I’ll definitely have more time tomorrow. In order to compile the code, xcode needs to have command tools line installed. Also ARC must be activated. I'll add a project file soone in the project. Thanks
Great! Since I can't compile the dylib yet (no xcodeproj), maybe you can push a workaround before doing the greater changes?
Xcode is fine -- but right now there is too much to figure out to create the xcodeproj file. So I think it does make sense to have that in the repo. Alternatively, you could explain in the INSTALL how to create this and which options to choose.
Hi, Thanks for your very valuable feedback! I've never encountered such issue yet but I don't really like how I've built the code on this area. I'm thinking on a clever way to reenumerate the usb port once the FW has been downloaded without requesting for a new ressource.
Hi, As I've used Xcode to compile the dylib I've chosen to not add the .xcodeproj file in the deposit as this one may vary from one version to another. But if you know a way to create a makefile with Xcode please let me know I'll add it to the project then.
IOCreatePlugInInterfaceForService sometimes fails
Makefile?
1.0.3a commit. Probably the latest alpha version committed. Some random error with ibwait and ibrsp have been fixed.
1.0.2a commit
1.0.1 commit with FW loading process improved on 82357B
1.0.1 commit with FW loading process improved on 82357B
Text file added
Commit 1.0.0 alpha version
Initial commit with file cleanup
Initial commit with folder structure
Initial commit with folder structure
Initial delete all file
Initial commit missing file
Initial delete extra file
Initial commit