send q VRf-3585A_Questions vrf
from: Greg Goebel / HP-MXD
gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to: Vrf / Johannes Mulder
date: Sunday, 09 March 1997 1053 MST
> Vrf: Help! reading from HP3585A
> >From Johannes Mulder
>
> Running under WIN95, VEE3.21, and HP3585A connected via GPIB
> I ran into the next problem:
> doing Direct I/O, as follows:
>
> EXECUTE REMOTE (start accessing the HP3585A)
> WRITE TEXT "MKD2T4" EOL (read marker at first location)
> READ TEXT START REAL (get the start frequency)
> WRITE TEXT "D3T4" EOL (read trace A)
> READ TEXT TRACEA CHAR:11 (get the first 11 chars into TRACEA)
>
> this is performing as expected, but the last transaction is not very convenient:
> " "," "," ","-","2","2",".","8","E","-","0" meaning -22.8 as value
> note I need the whole array of 1001 values.
>
> replacing the last line with
> READ TEXT TRACEA REAL
> which should give me just 1 value
> does not work: "interface timeout" (nothing happens on the GPIB as
> far as I can see with monitor)
>
> I also noticed that seemingly just suddenly, sometimes, it works, for
> a short while, as if things are synchronised by accident.
>
> Summary:
> TOKEN and CHAR format I get something out, and also with reading
> binairy, but all other formats I get nothing but timeout
> Note that reading the marker frequency always works, its format is
> exactly the same.
>
> % is this a bug in the HP3585A?
> % is this a bug in VEE?
> % am I doing something wrong?
Sir:
A few questions for your consideration:
% What are your array and EOL terminators in Direct I/O configuration?
% What does the bus I/O monitor show for the data stream (particularly its
termination conditions)?
Please stay in touch.
> When I try TOKEN format, I also get something out
> When I try STR format, I get nothing
> With kind regards,
> Johannes Mulder
> Philips Electron Optics tel +31 40 2766947
> Building AAE-room 21 fax +31 40 2766820
> P.O.B. 218
> 5600 MD ACHT, the Netherlands
[<>] regards -- gvg
from: Greg Goebel / HP-MXD
gvg@lvld.hp.com / 970-679-3030 / FAX 970-679-5971
to: Vrf / Johannes Mulder
date: Sunday, 09 March 1997 1053 MST
> Vrf: Help! reading from HP3585A
> >From Johannes Mulder
>
> Running under WIN95, VEE3.21, and HP3585A connected via GPIB
> I ran into the next problem:
> doing Direct I/O, as follows:
>
> EXECUTE REMOTE (start accessing the HP3585A)
> WRITE TEXT "MKD2T4" EOL (read marker at first location)
> READ TEXT START REAL (get the start frequency)
> WRITE TEXT "D3T4" EOL (read trace A)
> READ TEXT TRACEA CHAR:11 (get the first 11 chars into TRACEA)
>
> this is performing as expected, but the last transaction is not very convenient:
> " "," "," ","-","2","2",".","8","E","-","0" meaning -22.8 as value
> note I need the whole array of 1001 values.
>
> replacing the last line with
> READ TEXT TRACEA REAL
> which should give me just 1 value
> does not work: "interface timeout" (nothing happens on the GPIB as
> far as I can see with monitor)
>
> I also noticed that seemingly just suddenly, sometimes, it works, for
> a short while, as if things are synchronised by accident.
>
> Summary:
> TOKEN and CHAR format I get something out, and also with reading
> binairy, but all other formats I get nothing but timeout
> Note that reading the marker frequency always works, its format is
> exactly the same.
>
> % is this a bug in the HP3585A?
> % is this a bug in VEE?
> % am I doing something wrong?
Sir:
A few questions for your consideration:
% What are your array and EOL terminators in Direct I/O configuration?
% What does the bus I/O monitor show for the data stream (particularly its
termination conditions)?
Please stay in touch.
> When I try TOKEN format, I also get something out
> When I try STR format, I get nothing
> With kind regards,
> Johannes Mulder
> Philips Electron Optics tel +31 40 2766947
> Building AAE-room 21 fax +31 40 2766820
> P.O.B. 218
> 5600 MD ACHT, the Netherlands
[<>] regards -- gvg