AnsweredAssumed Answered

plotting from a HP3577 Net Analyzer to a HP 7470A Plotter

Question asked by VRFuser on Nov 25, 1997
Sir:

Try this ... it's not quite what you want, but it's really close:

[gvg]


[11.4] PERFORMING DEVICE-TO-PRINTER DUMPS IN VEE 3.0 

* One of the features introduced in VEE 3.0 was the ability to release the
HPIB ATN line under program control.  This leads to the obvious question:  so
who cares?

The ability to release ATN under program control is only used in two
circumstances:

% When you want to have one device talk to two or more listeners; in 12
   years of support I've only been asked how to do this once.

% When you want to perform a print or a plot directly from an instrument to
   a printer or plotter over HPIB.  This is the requirement that that does in
   fact come up every now and then. 

Under normal circumstances, all VEE HPIB transactions suppose that VEE is
either the talker or listener and a single remote device is the corresponding
listener or talker; the bus transactions that VEE generates with instrument
drivers or Direct I/O all are designed according to this assumption.

The two circumstances outlined above, however, require that VEE set up a
remote device as a talker and one or more remote devices as listeners.  The
standard VEE HPIB transactions won't allow this, but you can (as of VEE 3.0)
use the Interface Operations object to create the proper HPIB transactions.

For example, I have a 54600 scope; I can send it a "PRINT?" query, and when I
then address it to talk, it will dump its display (in HP standard printer
graphics format) to the HPIB ... with the assumption that there is a printer
out there listening so it can print the data.

My 54600 has an HPIB address of 13; I have a ThinkJet printer with an address
of 1.  I can direct the 54600 to dump its display to the ThinkJet by using
direct I/O to send the "PRINT?" command, and then by using an interface
operations object to perform the following HPIB transactions:

   UNLISTEN
   UNTALK
   LISTEN 1
   TALK 13
   RELEASE ATN

This can be done with the following program (see the file xprscope.vee
for the source):

   +--------------------------+
   |   54600 (54600A @ 713)   |
   +--------------------------+
   | WRITE TEXT "PRINT?" EOL  |
   |                          |
   +-------------+------------+
                 |
   +-------------+------------+
   | Interface Op's hpib7 @ 7 |
   +--------------------------+
   | SEND UNL                 |
   | SEND UNT                 |
   | SEND LISTEN 1            |
   | SEND TALK 13             |
   | SEND DATA ""             |
   +--------------------------+

Note how ATN is released with the Interface Operations transaction:

   SEND DATA ""

This was the transaction that was missing in earlier versions of VEE.

[<>]

>      Hello VEE users,
>     
>       I am trying to do a plot all command from a HP3577 Network Analyzer
>      to a HP Plotter.
>     
>       I have the manual for the HP3577, it gives an example for older hp
>      computers but I have unsuccessful been able to convert it to VEE.
>      I am using WIN NT 4.0 and HP-VEE 4.0
>     
>     
>      Here is what the manual says:
>     
>      HP-IB PLOT commands are a special programming case. To control a
>      plotter directly, the HP 3577A must become a talker. Only one talker
>      is allowed on the bus at a time so the controller must be programmed
>      to release the bus. (HOW IS THIS DONE?) The HP 3577A must be manually
>      configured with TALK ONLY OFF, as with any remote control operation.
>      The following examples execute a PLOT ALL command. They assume that
>      the analyzer's address is 11 and the plotter's address is 30.
>     
>     
>      Example for HP series 200 computers:
>     
>     
>      10 SEND 7; UNL MTA LISTEN 11 DATA "PLA" UNL MTA TALK 11 LISTEN 30 DATA
>     
>     
>      Does any one know the protocol used in HP-VEE using Direct I/O or
>      Advance I/O interface Ops?   I have used an interface ops but I have
>      not been successful, but I know I am close.  I am just missing
>      something in the hand shake.
>     
>     
>      Any help will be greatly appreciated.
>     
>     
>      Damian Goderich
>     
>      Hughes Space and Communications Group
>      El Segundo, California
>     
>      dgoderich@ccgate.hac.com
>     
>      dgoderich@earthlink.net
>     
>     
>     
>
>


Outcomes