PROLOGIX
GPIB-ETHERNET CONTROLLER
USER MANUAL
VERSION 1.6.6.0
May 14, 2013
PROLOGIX.BIZ
Prologix GPIB-ETHERNET Controller
User Manual
Table of Contents
Introduction .......................................................................................................................... 4
Installation ............................................................................................................................. 4
Firmware Upgrade ............................................................................................................... 4
Host Software ....................................................................................................................... 4
Network Configuration ....................................................................................................... 5
GPIB Configuration ............................................................................................................ 5
Operating Modes.................................................................................................................. 5
7.1. Controller Mode ........................................................................................................... 5
7.2. Device Mode ................................................................................................................. 6
8. Data Transmission ............................................................................................................... 6
8.1. Binary Data Transmission ........................................................................................... 7
9. Commands ............................................................................................................................ 8
9.1. addr ................................................................................................................................. 8
9.2. auto ................................................................................................................................. 8
9.3. clr .................................................................................................................................... 9
9.4. eoi .................................................................................................................................... 9
9.5. eos ................................................................................................................................. 10
9.6. eot_enable .................................................................................................................... 10
9.7. eot_char........................................................................................................................ 11
9.8. ifc................................................................................................................................... 11
9.9. llo................................................................................................................................... 11
9.10.
loc.............................................................................................................................. 11
9.11.
lon ............................................................................................................................. 11
9.12.
mode ......................................................................................................................... 12
9.13.
read ........................................................................................................................... 12
9.14.
read_tmo_ms .......................................................................................................... 13
9.15.
rst .............................................................................................................................. 13
9.16.
savecfg ...................................................................................................................... 13
9.17.
spoll .......................................................................................................................... 14
9.18.
srq ............................................................................................................................. 14
9.19.
status ......................................................................................................................... 14
9.20.
trg .............................................................................................................................. 15
9.21.
ver ............................................................................................................................. 15
9.22.
help ........................................................................................................................... 15
10. Specifications ...................................................................................................................... 15
1.
2.
3.
4.
5.
6.
7.
9/9/2014
2
Prologix GPIB-ETHERNET Controller
User Manual
Change Log
May 14, 2013
May 7, 2012
April 18, 2011
Sept 14, 2009
May 22, 2009
Aug 5, 2008
Added ++llo command description.
Corrected error in ++status documentation.
Added ++lon command description.
Added ++savecfg command descripion. Corrected maximum value
of read_tmo_ms to 3000 ms.
Added ++status command description. Updated ++addr, ++spoll
and ++trg command descriptions to include secondary address.
Added section on binary data transmission.
Initial version.
9/9/2014
3
Prologix GPIB-ETHERNET Controller
User Manual
1. Introduction
Prologix GPIB-ETHERNET controller converts any computer with a network port into
a GPIB Controller or Device.
In Controller mode, Prologix GPIB-ETHERNET controller can remotely control GPIB
enabled instruments such as Oscilloscopes, Logic Analyzers, and Spectrum Analyzers.
In Device mode, Prologix GPIB-ETHERNET controller converts the computer into a
GPIB peripheral for downloading data and screen plots from the instrument front panel.
In both modes, Prologix GPIB-ETHERNET controller interprets high level commands
received from the host computer and performs the appropriate low-level GPIB protocol
handshaking.
2. Installation
Connect Prologix GPIB-ETHERNET controller to any network enabled computer
using an Ethernet cable. No special drivers are required. The type of cable to use
depends on the computer. If the computer supports auto-MDIX, which almost all newer
ones do, use a straight Ethernet cable. If the computer does not support auto-MDIX,
use a cross-over Ethernet cable. If a cross-over Ethernet cable is not available, or does
not work, connect both Prologix GPIB-ETHERNET controller and computer to a
network hub (or switch).
3. Firmware Upgrade
Prologix GPIB-ETHERNET controller firmware is field upgradeable. Latest firmware
and upgrade installations are available at prologix.biz
4. Host Software
A wide variety of host software may be used to communicate with Prologix GPIB-
ETHERNET controller:
Terminal programs
– any terminal emulation program such as HyperTerminal, Tera
Term Pro, or Minicom can be used to communicate with the controller and instruments
connected to it.
Custom applications
– any programming language or environment that provides
network access may be used to develop custom applications. Graphical programming
environments like National Instruments LabView and Agilent VEE may be used as well.
9/9/2014
4
Prologix GPIB-ETHERNET Controller
User Manual
EZGPIB
– an easy to use, programming environment developed by Ulrich Bangert for
developing data acquisition applications. Web link to this tool can be found at
prologix.biz.
Plotter emulators
– plotter emulation applications such as 7470.exe can be used to
obtain screen plots from GPIB enabled instruments using Prologix GPIB-ETHERNET
controller. Details on how to configure these tools are available at prologix.biz.
5. Network Configuration
Prologix GPIB-ETHERNET controller supports static IP address and dynamic (DHCP)
IP address. The controller’s network parameters can be configured using the
NETFINDER
tool available at prologix.biz.
6. GPIB Configuration
GPIB parameters of Prologix GPIB-ETHERNET controller can be configured using
any of the following methods:
Prologix.exe
– Prologix.exe is an open source tool developed by John Miles for
configuring the controller. Web link to the tool can be found at prologix.biz.
Terminal program
– any terminal emulation program such as HyperTerminal, Tera
Term Pro, or Minicom can be used to configure the controller by manually entering
appropriate commands (See Commands). Using the terminal program open a TCP
connection to port 1234 at Prologix GPIB-ETHERNET controller’s IP address. You
may want to enable the “Local Echo” feature in the terminal program to view the
commands being entered. Please consult the FAQ at prologix.biz, or the program’s user
manual, for detailed configuration steps for various terminal programs.
Prologix GPIB-ETHERNET Controller stores the latest configuration settings in non-
volatile memory. These settings are not address specific. If you have multiple
instruments on the GPIB bus that require different configuration settings, you must
change the settings before communicating with each instrument.
7. Operating Modes
Prologix GPIB-ETHERNET controller can operate in two modes – CONTROLLER
and DEVICE. You can switch between the two modes using ++mode command (see
Commands).
7.1.
Controller Mode
In Controller mode, the GPIB-ETHERNET Controller acts as the Controller-In-Charge
(CIC) on the GPIB bus. When the controller receives a command over the network port
terminated by the network terminator – CR (ASCII 13) or LF (ASCII 10) – it addresses
9/9/2014
5