Re: Fwd: Raspberry Pi Zero - GPIB

dave penkler <[email protected]> Fri, 6 Feb 2026 09:25:47 +0100
Newsgroups gmane.linux.hardware.gpib.general
Message-ID <CAL=kjP1u+pVU7h+DWnJz_skJG+D3OhYZqJ9s0e92oVBjpF8KvQ@mail.gmail.com>
--===============4391186643926697174==
Content-Type: multipart/alternative; boundary="000000000000ecc288064a23895f"

--000000000000ecc288064a23895f
Content-Type: text/plain; charset="UTF-8"

Hi,

On Wed, 4 Feb 2026 at 19:38, Scott Bouchard <[email protected]> wrote:

>
> I imagine there may be a way to turn this into an image of the screen?
>
>

There is a great project  HPGL-Plotter
<https://github.com/VK2BEA/HPGL-Plotter> for doing screen dumps from
various instruments over GPIB.
*$ HPGL-Plotter -c 0 -N -l*
Disable Auto Clear
and press the Plot key in the plot menu with the instrument in talk only
mode.
If you are running your pi-zero headless you can use this
<https://drive.google.com/file/d/1dXHO5Vw7ZfUJSI3gL7xKg5lB9FyietIh/view?usp=sharing>
little
program to produce an hpgl file from the instrument and then use the
HPGL-Plotter program to display the contents of the hpgl file on a machine
with a graphics display.
You can compile the little program with
*$ cc -o tplot2 tplot2.c -lgpib*
Then run it like this on your pi-zero
*$ tplot2 -m0 >screendump.hpgl*
When it shows ,"Initiate plot on instrument"
press the Plot button on the scope in Talk-only mode.
Then copy the file to the machine with the HPGL-Plotter program and run the
program in offline mode thusly
*$ HPGL-Plotter -o*
Click on the folder menu icon and select the hpgl file to display.
cheers,
-Dave

>
>

--000000000000ecc288064a23895f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr">Hi,</div><div dir=3D"ltr"><div dir=3D"ltr" class=3D"gmail_attr"><=
br class=3D"gmail-Apple-interchange-newline">On Wed, 4 Feb 2026 at 19:38, S=
cott Bouchard &lt;<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex"><u></u><div><div><br></div><div><div>I imagine there m=
ay be a way to turn this into an image of the screen?</div><div>=C2=A0 =C2=
=A0 =C2=A0=C2=A0</div></div></div></blockquote><div>=C2=A0</div><div>There =
is a great project=C2=A0=C2=A0<a href=3D"https://github.com/VK2BEA/HPGL-Plo=
tter">HPGL-Plotter</a> for doing screen dumps from various instruments over=
 GPIB.</div><div><font face=3D"monospace"><b>$ HPGL-Plotter -c 0 -N -l</b><=
/font></div><div>Disable Auto Clear</div><div>and press the Plot key in the=
 plot menu with the instrument in=C2=A0talk only mode.</div><div>If you are=
 running your pi-zero headless you can use <a href=3D"https://drive.google.=
com/file/d/1dXHO5Vw7ZfUJSI3gL7xKg5lB9FyietIh/view?usp=3Dsharing" target=3D"=
_blank">this</a>=C2=A0little program to produce an hpgl file from the instr=
ument and then use the HPGL-Plotter program to display the contents of the =
hpgl file on a machine with a graphics display.</div><div>You can compile t=
he little program with</div><div><font face=3D"monospace"><b>$ cc -o tplot2=
 tplot2.c -lgpib</b></font></div><div>Then run it like this on your pi-zero=
</div><div><font face=3D"monospace"><b>$ tplot2 -m0 &gt;screendump.hpgl</b>=
</font></div><div>When it shows=C2=A0,&quot;Initiate plot on instrument&quo=
t;</div><div>press the Plot button on the scope in Talk-only mode.</div><di=
v>Then copy the file to the machine with the HPGL-Plotter program and run t=
he program in offline mode thusly</div><div><font face=3D"monospace"><b>$ H=
PGL-Plotter -o</b></font></div><div>Click on the folder menu icon and selec=
t the hpgl file to display.</div><div>cheers,</div><div>-Dave</div></div><d=
iv class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
<div><br><blockquote type=3D"cite"><div class=3D"gmail_quote"><blockquote><=
div><blockquote type=3D"cite"><div class=3D"gmail_quote">=20
       </div>=20
      </blockquote>=20
     </div>=20
    </blockquote>=20
   </div>=20
  </blockquote>
 </div>
</blockquote></div></div>
</div>
</div>
</div>

--000000000000ecc288064a23895f--


--===============4391186643926697174==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4391186643926697174==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-gpib-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-gpib-general

--===============4391186643926697174==--