GPIB cards
Electronics Forum Index Electronics
Circuits, theory, electrons and discussions.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ElectronicsHelp.net
GPIB cards
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Electronics Forum Index -> Equipment
Author Message
John Devereux
Guest





Posted: Tue Nov 01, 2005 1:35 am    Post subject: GPIB cards Reply with quote

Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?

--

John Devereux

Back to top
qrk
Guest





Posted: Tue Nov 01, 2005 1:35 am    Post subject: Re: GPIB cards Reply with quote

On 31 Oct 2005 20:35:14 +0000, John Devereux
<jdREMOVE@THISdevereux.me.uk> wrote:
Quote:
I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?
John Devereux

You may want to look into NI's GPIB to Ethernet boxes. You can find
these on EBay periodically. NI also has some drivers/programs that
allow you to issue GPIB commands from the command line. You can do
almost all of your GPIB commands from a batch file and go out/in thru
the Ethernet port.

On the plotting side, if you can't find a suitable HPGL to printer
program, you can do a data dump and use Gnuplot
<http://www.gnuplot.info/> to plot the results. This can be part of
your batch file. Some HP instruments (late 80s and newer) allow you to
do a PCL printer dump via GPIB. I have a program that will take the
PCL data dump and convert it into a PCX image format (ask if you want
it). You can use Nconvert (get the "XnView Complete version (Plugins &
NConvert)" zip version and extract nconvert)
<http://perso.wanadoo.fr/pierre.g/xnview/en_ncdownload.html> to change
it to GIF or PNG if you want smaller file sizes. Perfect for word
processor documentation.

---
Mark
Back to top
Andrew Holme
Guest





Posted: Tue Nov 01, 2005 1:35 am    Post subject: Re: GPIB cards Reply with quote

John Devereux wrote:
Quote:
Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?

I lashed-up a minimal GPIB to RS232 converter using a PIC 16F84, to capture
plotter output from my spectrum analyzer. My SA doesn't use the ATN
Talk/Listen stuff; so I only needed to support the basic handshake lines
(NRFD, NDAC, DAV).

It's serial-port-powered, with the GPIB signals connected directly to the
PIC. I just needed a pull-up resistor on DAV, and I toggle the DDR bits to
simulate open-collector outputs on NRFD and NDAC.

Back to top
mike
Guest





Posted: Tue Nov 01, 2005 1:35 am    Post subject: Re: GPIB cards Reply with quote

Andrew Holme wrote:
Quote:
John Devereux wrote:

Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?


I lashed-up a minimal GPIB to RS232 converter using a PIC 16F84, to capture
plotter output from my spectrum analyzer. My SA doesn't use the ATN
Talk/Listen stuff; so I only needed to support the basic handshake lines
(NRFD, NDAC, DAV).

It's serial-port-powered, with the GPIB signals connected directly to the
PIC. I just needed a pull-up resistor on DAV, and I toggle the DDR bits to
simulate open-collector outputs on NRFD and NDAC.



I have a similar configuration built around a 16F877A. I had trouble
powering it. With 5V on the PIC, the GPIB levels didn't go high enough
to reliably drive the PIC.
Pullups dragged the serial port power down. I was trying to drive it
with a HP 200LX...not exactly a serial port powerhouse ;-)
Found out by accident that the thing
runs off the gpib port powered parasitically thru the PIC output pins.
I unplugged the power and it just kept running...
But I wouldn't trust it for anything critical. Ended up adding a wall wart.
How did you power yours?


mike

--
Wanted, Serial cable for Dell Axim X5 PDA.
Return address is VALID but some sites block emails
with links. Delete this sig when replying.
FS 500MHz Tek DSOscilloscope TDS540 Make Offer
Bunch of stuff For Sale and Wanted at the link below.
MAKE THE OBVIOUS CHANGES TO THE LINK
ht<removethis>tp://www.geocities.com/SiliconValley/Monitor/4710/
Back to top
mike
Guest





Posted: Tue Nov 01, 2005 1:35 am    Post subject: Re: GPIB cards Reply with quote

John Devereux wrote:
Quote:
Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?


There are a bunch of issues surrounding the older GPIB cards.
You'd think you could get 488-1 functionality from 488.1 cards.
But you'd be optimistic.
It's as though NI purposely obsoleted them thru hardware and sw changes...
Unless you get one of the 488-2 cards, you'll be stuck in dos mode.

I've had success bit banging a card with a 9914 chip. Never tried the
ones with the NEC chip.

The cheapest solution for plots is a GPIB thinkjet printer.
mike

--
Wanted, Serial cable for Dell Axim X5 PDA.
Return address is VALID but some sites block emails
with links. Delete this sig when replying.
FS 500MHz Tek DSOscilloscope TDS540 Make Offer
Bunch of stuff For Sale and Wanted at the link below.
MAKE THE OBVIOUS CHANGES TO THE LINK
ht<removethis>tp://www.geocities.com/SiliconValley/Monitor/4710/
Back to top
John Miles
Guest





Posted: Tue Nov 01, 2005 7:51 am    Post subject: Re: GPIB cards Reply with quote

In article <87zmopctml.fsf@cordelia.devereux.me.uk>,
jdREMOVE@THISdevereux.me.uk says...
Quote:
Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

NI's PCI-GPIB is what I'd recommend. Their USB solution is also good,
if the budget is there.

Software-wise, you can acquire plots with 7470.exe from
http://www.speakeasy.org/~jmiles1/ke5fx/7470.htm , along with several
commercial (non-free) utilities. 7470 will work only with NI hardware.

-- jm

------------------------------------------------------
http://www.qsl.net/ke5fx
Note: My E-mail address has been altered to avoid spam
------------------------------------------------------
Back to top
Johnson
Guest





Posted: Tue Nov 01, 2005 5:35 pm    Post subject: Re: GPIB cards Reply with quote

"John Devereux" <jdREMOVE@THISdevereux.me.uk> wrote in message
news:87zmopctml.fsf@cordelia.devereux.me.uk...
Quote:
Hi,

SNIP
--


I used an National Instruments card purchased from EBay -- but have found it
much easier to pull the analog signal directly from the machine -- here's a
link to some of the HP G/L language which I scanned from a HP publication:
http://www.tech-diy.com/HP%20Graphics%20Language.htm

For USB consider this -- the Measurement Computing ADC/DAC cards are set up
for USB -- you could use Softwire to program the digital out to interface
the GPIB with a shift register -- it would be somewhat slow (and you will
have to figure out how to solder a 50 pin SCSI jack.)

For USB, consider the FTDI cihps: http://www.ftdichip.com/FTProducts.htm
they have free USB drivers.
Back to top
Fred Bloggs
Guest





Posted: Tue Nov 01, 2005 5:35 pm    Post subject: Re: GPIB cards Reply with quote

John Devereux wrote:
Quote:
Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?


These people look pretty cheap if you go to a basic GPIB<->SERIAL at
$300 it is a giveaway. http://www.team-solutions.com/TeamProductsFamily.htm
Back to top
John Devereux
Guest





Posted: Tue Nov 01, 2005 5:35 pm    Post subject: Re: GPIB cards Reply with quote

John Miles <jmiles@pop.removethistomailme.net> writes:

Quote:
In article <87zmopctml.fsf@cordelia.devereux.me.uk>,
jdREMOVE@THISdevereux.me.uk says...
Hi,

I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

NI's PCI-GPIB is what I'd recommend. Their USB solution is also good,
if the budget is there.

Software-wise, you can acquire plots with 7470.exe from
http://www.speakeasy.org/~jmiles1/ke5fx/7470.htm , along with several
commercial (non-free) utilities. 7470 will work only with NI hardware.

Thanks, do you know if it works with the NI USB and ethernet products?


--

John Devereux
Back to top
John Devereux
Guest





Posted: Tue Nov 01, 2005 5:35 pm    Post subject: Re: GPIB cards Reply with quote

mark@reson.DELETE.ME.com (qrk) writes:

Quote:
On 31 Oct 2005 20:35:14 +0000, John Devereux
jdREMOVE@THISdevereux.me.uk> wrote:
I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.

What are the current recommended GPIB cards to do this? The "standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.

Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?
John Devereux

You may want to look into NI's GPIB to Ethernet boxes. You can find
these on EBay periodically. NI also has some drivers/programs that
allow you to issue GPIB commands from the command line. You can do
almost all of your GPIB commands from a batch file and go out/in thru
the Ethernet port.

I have indeed been looking at these - a bit pricy but like the idea of
independence from a particular computer / driver.

Quote:
On the plotting side, if you can't find a suitable HPGL to printer
program, you can do a data dump and use Gnuplot
http://www.gnuplot.info/> to plot the results. This can be part of
your batch file.

I have just been playing with gnuplot too - a nice utility especially
for batch use as you suggest.

Quote:
Some HP instruments (late 80s and newer) allow you to
do a PCL printer dump via GPIB. I have a program that will take the
PCL data dump and convert it into a PCX image format (ask if you want
it). You can use Nconvert (get the "XnView Complete version (Plugins &
NConvert)" zip version and extract nconvert)

OK, thanks for the offer. I expect there is a linux utility somewhere
to do this, but if not I know where to come!

Quote:
http://perso.wanadoo.fr/pierre.g/xnview/en_ncdownload.html> to change
it to GIF or PNG if you want smaller file sizes. Perfect for word
processor documentation.

---
Mark

--

John Devereux
Back to top
John Devereux
Guest





Posted: Tue Nov 01, 2005 5:35 pm    Post subject: Re: GPIB cards Reply with quote

"Johnson" <jdwalton@comt.net> writes:

Quote:
"John Devereux" <jdREMOVE@THISdevereux.me.uk> wrote in message
news:87zmopctml.fsf@cordelia.devereux.me.uk...
Hi,

SNIP
--


I used an National Instruments card purchased from EBay -- but have found it
much easier to pull the analog signal directly from the machine -- here's a
link to some of the HP G/L language which I scanned from a HP publication:
http://www.tech-diy.com/HP%20Graphics%20Language.htm

What analog signal? Sorry, I am not following you here.


--

John Devereux
Back to top
John Devereux
Guest





Posted: Tue Nov 01, 2005 5:35 pm    Post subject: Re: GPIB cards Reply with quote

mike <spamme0@netscape.net> writes:

Quote:
John Devereux wrote:
Hi,
I have several "older" instruments, acquired through ebay. They all
can plot via their GPIB bus. I gather it is possible to run software
on a PC that emulates a HP plotter, and so capture the result.
What are the current recommended GPIB cards to do this? The
"standard"
seems to be NI cards (ISA and PCI). These are quite expensive,
although seem to turn up on ebay. Any others? A low cost USB type
would be nice (if they exist), but unsure about compatibility with
available software.
Has anyone programmed one of the USB microcontrollers to bit-bang
GPIB, and fit it into a GPIB plug?


There are a bunch of issues surrounding the older GPIB cards.
You'd think you could get 488-1 functionality from 488.1 cards.
But you'd be optimistic.
It's as though NI purposely obsoleted them thru hardware and sw changes...

No! Surely not! :)

Quote:
Unless you get one of the 488-2 cards, you'll be stuck in dos mode.

I've had success bit banging a card with a 9914 chip. Never tried the
ones with the NEC chip.

The cheapest solution for plots is a GPIB thinkjet printer.

I wanted to be able to capture the plot to a file - I can already take
a "screen shot" with a digital camera...

--

John Devereux
Back to top
Andrew Holme
Guest





Posted: Wed Nov 02, 2005 1:36 am    Post subject: Re: GPIB cards Reply with quote

mike wrote:
Quote:
Andrew Holme wrote:
John Devereux wrote:
[snip]
I have a similar configuration built around a 16F877A. I had trouble
powering it. With 5V on the PIC, the GPIB levels didn't go high
enough
to reliably drive the PIC.
Pullups dragged the serial port power down. I was trying to drive it
with a HP 200LX...not exactly a serial port powerhouse ;-)
Found out by accident that the thing
runs off the gpib port powered parasitically thru the PIC output pins.
I unplugged the power and it just kept running...
But I wouldn't trust it for anything critical. Ended up adding a
wall wart. How did you power yours?


"DTR"->|----.
|
| ____
| | | +5V
"RTS"->|----o-----| L05|-----o----------------------.
| |____| | |
| + | | |
### | --- ----||-+ PMOS
100uF --- | --- 100n ||->
| | | ||-+
| | | | 100
=== === === | ___ "Rx"
GND GND GND o---|___|--->Data
| Out
|
| ___
'---|___|----"Tx"
(-10V)
15k


View in a fixed-pitch font.
Back to top
John Miles
Guest





Posted: Wed Nov 02, 2005 9:35 am    Post subject: Re: GPIB cards Reply with quote

In article <87mzkocx9v.fsf@cordelia.devereux.me.uk>,
jdREMOVE@THISdevereux.me.uk says...
Quote:
John Miles <jmiles@pop.removethistomailme.net> writes:
Software-wise, you can acquire plots with 7470.exe from
http://www.speakeasy.org/~jmiles1/ke5fx/7470.htm , along with several
commercial (non-free) utilities. 7470 will work only with NI hardware.

Thanks, do you know if it works with the NI USB and ethernet products?

USB: definitely. Ethernet: yes, it should be fine too, since they both
support the NI488.2 driver standard.

However, I don't believe their Ethernet adapter drivers are a free
download. If you buy an Ethernet adapter, be sure the seller includes
the drivers for it.

-- jm

------------------------------------------------------
http://www.qsl.net/ke5fx
Note: My E-mail address has been altered to avoid spam
------------------------------------------------------
Back to top
John Devereux
Guest





Posted: Wed Nov 02, 2005 3:45 pm    Post subject: Re: GPIB cards Reply with quote

John Miles <jmiles@pop.removethistomailme.net> writes:

Quote:
In article <87mzkocx9v.fsf@cordelia.devereux.me.uk>,
jdREMOVE@THISdevereux.me.uk says...
John Miles <jmiles@pop.removethistomailme.net> writes:
Software-wise, you can acquire plots with 7470.exe from
http://www.speakeasy.org/~jmiles1/ke5fx/7470.htm , along with several
commercial (non-free) utilities. 7470 will work only with NI hardware.

Thanks, do you know if it works with the NI USB and ethernet products?

USB: definitely. Ethernet: yes, it should be fine too, since they both
support the NI488.2 driver standard.

However, I don't believe their Ethernet adapter drivers are a free
download. If you buy an Ethernet adapter, be sure the seller includes
the drivers for it.

-- jm

Thanks for the info. I have just twigged that you are the author of
7470.EXE, I think it was seeing this program that started me down this
road!

--

John Devereux
Back to top
 
Post new topic   Reply to topic    Electronics Forum Index -> Equipment All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Home & Living New Topics
Powered by phpBB