See the installation page for supported versions.
On OS X, gclib is distributed in a dmg image. The following steps can be performed to install gclib.
Download from the release notes page
$ echo "export DYLD_LIBRARY_PATH=/Applications/gclib/dylib/:\$DYLD_LIBRARY_PATH" >> ~/.profile
If using the DMC4103 or another Galil USB product, symbolic links may be created so GAddresses() can list the controllers.
Make a link from the Terminal.
user-mac:~ user$ #plug in DMC4103 usb cable user-mac:~ user$ ls /dev/tty.usb* /dev/tty.usbserial-A402L6KG user-mac:~ user$ #make a symbolic link so gclib can list it user-mac:~ user$ sudo ln -s /dev/tty.usbserial-A402L6KG /dev/tty.usbserial0 user-mac:~ user$ #gclib searches start at 0 user-mac:~ user$ #GAddresses() will now list this device
Demonstrating with Python.
user-mac:~ user$ python Python 2.7.10 (default, Jul 14 2015, 19:46:27) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import gclib >>> g = gclib.py() >>> g.GAddresses() {'/dev/tty.usbserial0': ''} >>> g.GOpen("/dev/tty.usbserial0 -d") >>> print(g.GInfo()) /dev/tty.usbserial0, DMC4143 Rev 1.2b, 9998 >>> g.GClose() >>> exit() user-mac:~ user$
The documentation is left as a tarball to minimize disk usage. The latest release version of the user manual is available at the following link.
The following allows viewing of the pdf docs from the installation.
The following allows viewing of the html docs from the installation.