Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB programming with tcl

I am new to Tcl and I need to automate testing with existing Tcl scripts.
I downloaded the GPIB-Tcl package from SourceForge.net and copied the files->gpib.dll and
pkgindex.tcl to the tcl library directory. (Actually all the files included in the package).

When I execute the command "package require gpib", I get a response "2.4"
at my tcl prompt. OK so far.

When I type "gpib" at the tcl prompt, I get the following error message at
the tcl prompt:

--->error while autoloading "gpib": download file type must be "bin" or
"hex" or "omf"<-----

Any idea? Need help as soon as possible.

PS

1. The tcl prompt is obtained in a window of a "FS2 system navigator
probe" being used to run tcl scripts to do other things.
2. I am using a NI GPIB-USB-HS converter box (NOT a GPIB card within my
desktop)and everything is communicating as normal. The NI 488.2 software
recognizes the box and the Agilent multimeter connected to it. So the
hardware seems to be OK.

Thanks in advance,
Vikram.
0 Kudos
Message 1 of 2
(5,393 Views)

Hi Vikram,

Since the hardware appears to be functioning properly, you may want to take a look at a specific GPIB-Tcl forum.  They should probably have more experience in programming with Tcl.  If you do have any questions related to the hardware itself, do not hesitate to post back and we will do our best to help out.

Good luck getting everything working.

Regards,

Lauren

Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(5,361 Views)