Difference between revisions of "IEEE-488"

From sigrok
Jump to navigation Jump to search
(22 intermediate revisions by 5 users not shown)
Line 3: Line 3:
The following standards are involved:
The following standards are involved:


* '''IEEE-488.1''' mechanical, electrical and basic protocol
* '''IEEE-488.1:''' Mechanical, electrical and basic protocol.
* '''IEEE-488.2''' formats and common commands
* '''IEEE-488.2:''' Formats and common commands.
* '''SCPI''' standard commands, built on top of IEEE-488.2
* '''SCPI:''' Standard commands, built on top of IEEE-488.2. The standard is available [http://www.ivifoundation.org/docs/scpi-99.pdf here].
* '''USBTMC:''' The USB TMC device class, standard is available [https://www.usb.org/document-library/test-measurement-class-specification here].
* '''LXI:''' The LAN eXtensions fo Instrumentation, standard is available [http://www.lxistandard.org/Documents/Specifications/LXI%20Device%20Specification%202011%20rev%201.4.pdf here].


While IEEE-488.1 defines the "Centronix-style" parallel connector, the other standards are in fact seen over other types of connections: RS-232, IEC-style parallel connectors, and so on.
While IEEE-488.1 defines the "Centronix-style" parallel connector, the other standards are in fact seen over other types of connections: RS-232, DB25 parallel connectors, and so on.


Sigrok aims to support all of this: all of the command sets, on any device supporting them, across any interface.
sigrok aims to support all of this: all of the command sets, on any device supporting them, across any interface.


== Interfaces ==
== GPIB PC interfaces ==
{| width="100%" border="0" style="vertical-align: top"
|- bgcolor="#6699ff"
! width="30%" | Device
! width="20%" | Status
! Comments


|- bgcolor="#dddddd"
See [[GPIB interface comparison]] for a list of GPIB interfaces we know about.
| [http://www.ebay.com/itm/Low-Price-82357B-GPIB-USB-Interface?item=261026400920&cmd=ViewItem&_trksid=p5197.m7&_trkparms=algo%3DLVI%26itu%3DUCI%26otn%3D3%26po%3DLVI%26ps%3D63%26clkid%3D8557108572653651598#ht_3190wt_972 Chinese 82357B clone]
| bgcolor="orange" align="center" | planned
| style="vertical-align: top" |


|- bgcolor="#eeeeee"
See [[Supported hardware#GPIB_interfaces]] for the list of devices planned/supported in sigrok.
| [http://prologix.biz/gpib-usb-controller.html Prologix GPIB-USB]
| bgcolor="#d84040" align="center" | not yet supported
| style="vertical-align: top" | Hardware needed


|- bgcolor="#dddddd"
== Command sets ==
| [http://prologix.biz/gpib-ethernet-controller.html Prologix GPIB-Ethernet]
| bgcolor="#d84040" align="center" | not yet supported
| style="vertical-align: top" | Hardware needed
 
|- bgcolor="#eeeeee"
| [http://scasagrande.blogspot.ca/2012/04/gpibusb-for-sale.html Galvant Industries GPIB-USB board]
| bgcolor="#d84040" align="center" | not yet supported
| style="vertical-align: top" | Hardware needed
 
|}


== Command sets ==
{| width="100%" border="0" style="vertical-align: top"
{| width="100%" border="0" style="vertical-align: top"
|- bgcolor="#6699ff"
|- bgcolor="#6699ff"
Line 49: Line 29:
|- bgcolor="#dddddd"
|- bgcolor="#dddddd"
| SCPI
| SCPI
| bgcolor="orange" align="center" | planned
| bgcolor="lime" align="center" | supported
| style="vertical-align: top" | The standard is available [http://www.ivifoundation.org/docs/scpi-99.pdf here]
| style="vertical-align: top" | Various transports are supported: serial, tcp, usbtmc, vxi, visa, libgpib.
 
|- bgcolor="#eeeeee"
|- bgcolor="#eeeeee"
| IEEE-488.2
| IEEE-488.2
Line 59: Line 38:
|}
|}


== Devices ==


Various GPIB/USBTMC devices are supported, see [[Supported hardware]] for details.


== References ==
== Resources ==


* [https://en.wikipedia.org/wiki/IEEE-488 IEEE-488 overview] at wikipedia.
* [https://en.wikipedia.org/wiki/IEEE-488 IEEE-488 overview] at Wikipedia.
* [https://en.wikipedia.org/wiki/Standard_Commands_for_Programmable_Instruments SCPI overview] at wikipedia.
* [https://en.wikipedia.org/wiki/Standard_Commands_for_Programmable_Instruments SCPI overview] at Wikipedia.
* [http://g2pc1.bu.edu/~qzpeng/gpib/manual/GpibProgTut.pdf GpibProgTut.pdf] is a nice GPIB Programming Tutorial
* The [http://linux-gpib.sourceforge.net/ linux-gpib] project consists of a series of Linux kernel drivers supporting various GPIB interfaces, and a userspace library in C to communicate with these drivers.
* The [http://gpib-utils.sourceforge.net/ gpib-utils] project uses linux-gpib to provide access to a series of GPIB-devices. It also supports VXI-11 connectivity.
* An excellent [http://www.hit.bme.hu/~papay/edu/GPIB/tutor.htm GPIB tutorial] by Dr. Pápay Zsolt.
* Agilent's [http://www.home.agilent.com/upload/cmc_upload/All/usbtmc.html USBTMC (Linux) Kernel Driver Documentation]

Revision as of 15:35, 14 December 2019

IEEE-488, also known as GPIB or HP-IB, comprises a set of standards which allows various test and measurement gear to be controlled and queried remotely.

The following standards are involved:

  • IEEE-488.1: Mechanical, electrical and basic protocol.
  • IEEE-488.2: Formats and common commands.
  • SCPI: Standard commands, built on top of IEEE-488.2. The standard is available here.
  • USBTMC: The USB TMC device class, standard is available here.
  • LXI: The LAN eXtensions fo Instrumentation, standard is available here.

While IEEE-488.1 defines the "Centronix-style" parallel connector, the other standards are in fact seen over other types of connections: RS-232, DB25 parallel connectors, and so on.

sigrok aims to support all of this: all of the command sets, on any device supporting them, across any interface.

GPIB PC interfaces

See GPIB interface comparison for a list of GPIB interfaces we know about.

See Supported hardware#GPIB_interfaces for the list of devices planned/supported in sigrok.

Command sets

Command set Status Comments
SCPI supported Various transports are supported: serial, tcp, usbtmc, vxi, visa, libgpib.
IEEE-488.2 not yet supported Standard document needed

Devices

Various GPIB/USBTMC devices are supported, see Supported hardware for details.

Resources