Index of /tcl/ftparchive/sorted/misc/gpibtcl/0.0.1

      Name                   Last modified     Size  Description

[DIR] Parent Directory 27-Dec-99 06:20 - [   ] CHANGES 27-Dec-99 01:42 1k [   ] README 27-Dec-99 01:41 2k [CMP] gpibtcl-0.0.1.tar.gz 27-Dec-99 06:20 17k

This is the initial release of gpibtcl.  

		GPIBTCL Version 0.0.1
		=====================

Linux Tcl loadable extension for the National Insturments GPIB Hardware driver
==============================================================================

Introduction:
=============

This release comes in 2 parts.
  1). The Tcl extension written in C
  2). A Tcl script that reads /etc/gpib.conf and acts like the LLP original.

The following 488.1 commands are implemented at the C level:
The global driver variables:
	ibsta
	iberr
	ibcnt
	ibcntl

The commands:

gpib ibask ud option
gpib ibbna ud name
gpib ibcac ud v
gpib ibclr ud
gpib ibcmd ud cmdbuf cnt
gpib ibcmda ud cmdbuf cnt
gpib ibcac ud v
gpib ibclr ud
gpib ibcmd ud cmdbuf cnt
gpib ibcmda ud cmdbuf cnt
gpib ibdiag ud cmdbuf cnt
gpib ibconfig ud option value
gpib ibdev bdindex pad sad tmo eos
gpib ibdma ud v
gpib ibeos ud v
gpib ibeot ud v
gpib ibgts ud v
gpib ibist ud v
gpib ibfind udname
gpib iblines ud
gpib ibllo ud
gpib ibln ud pad sad
gpib ibloc ud
gpib ibonl ud v
gpib ibpad ud v
gpib ibpct ud
gpib ibpoke ud
gpib ibppc ud
gpib ibrd ud count
gpib ibrdf ud filename
gpib ibrpp ud
gpib ibrsc ud v
gpib ibrsp ud
gpib ibrsv ud v
gpib ibsad ud v
gpib ibsic ud v
gpib ibsre ud v
gpib ibstop ud
gpib ibtmo ud v
gpib ibtrg ud 
gpib ibwait ud mask
gpib ibwrt ud wrtbuf
gpib ibwrtf ud filename

And some extension specific stuff:
gpib ibdebug v
  where v is a bitmap for the following traces:
   0 - tracing off
   1 - Control I/O
   2 - Data Read
   4 - Data Write

gpib MapStatusToAscii ?status?
  where status if present is a bitmap of the global ibsta, if not present,
        ibsta is used.
  it returns the string: " errors: ERR, TIMO or whatever bits are set"
  (This saves wear on the manual)
===========================================================================

		Tcl Level stuff or, "but wait, there's MORE!"
		=============================================

My application was originally written with the LLP driver from Clausi.
Its 19156 lines long and I did'nt want to change the code to use a different
API, so I wrote clausi.tcl.  It renames the "stock" gpip command to nigpib, then
adds the following commands:

gpib find 
gpib read
gpib write
gpib cmd
gpib ren
gpib clear
gpib onl
gpib wait
gpib rsp
gpib trg
gpib rsv
gpib sic

These are described in the LLP driver.

Any questions, contact Bill Krimmel at bill@resuba.com