Author Topic: How can I use the serial port on my old Tek 2211 scope to grab data?  (Read 2359 times)

0 Members and 1 Guest are viewing this topic.

Offline cdevTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Hi,

I have a Tektronix 2211 scope that supports the sending of screen captures to a plotter (I understand it supports HP plotters as well as "epson printers" likely from the 1980s. 

I orignally titled this post as asking how to do this on Linux, but come to think of it, I have an older, small machine that - has windows - that I had forgotten about.

I just realized that my fretting about being able to do it on Linux was unnecessary, as the machine I should use it with, an old HP thin client, has a licensed copy of Windows XP (or perhaps 2000 - but I think it has XP embedded professional or something like that), that came with it, on a very small flash card (finding it may be a challenge, though)

So, of course, I could then use that with Windows software from that era (2005 or 2006 approximately), solving a lot of problems right there. Like the scope, the thin client has a real presumably 12 volt serial port as well as a parallel port. Its a solid little machine that is completely silent. It has passive cooling.

Are there any Tek gurus out there who know how to do this? Having the ability to get a nice capture of the scope data would be really great.
« Last Edit: February 21, 2016, 07:33:23 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline Lukas

  • Frequent Contributor
  • **
  • Posts: 412
  • Country: de
    • carrotIndustries.net
Inkscape can open HPGL files, did you try that already?
 

Offline cdevTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: How can I use the serial port on my old Tek 2211 scope to grab data?
« Reply #2 on: February 21, 2016, 07:37:33 pm »
I think the process would be a bit like catching a ball.. When the button to print the screen is pressed then it spits out the data as if it was controlling a plotter.. sending it out the serial port.. So then I need to be waiting for it kind of like a catcher and a ball, and save it without any extra stuff to a file..

Sound about right?

No, I didnt even know that Inkscape opened HPGL at all, thats really great. So maybe I will try to see if a modem program like Minicom will let me do that..

There is also a HP terminal emulation program that in theory I should be able to run under Wine to use to display them.. But it likely is overkill, because the scope's communications options are pretty basic, i dont think it communicates both ways, I am pretty sure I cannot speak to the scope to request data, (bigger more expensive scopes I think did let you do that)

It would be great to get this working, if it saves files Inkscape can open, that really would be far preferable to anything else.

Inkscape would be ideal.

This is the scope I have  Its from the early 90s.



« Last Edit: February 21, 2016, 09:58:44 pm by cdev »
"What the large print giveth, the small print taketh away."
 

Offline Lukas

  • Frequent Contributor
  • **
  • Posts: 412
  • Country: de
    • carrotIndustries.net
Re: How can I use the serial port on my old Tek 2211 scope to grab data?
« Reply #3 on: February 21, 2016, 08:08:52 pm »
Since HPGL seems to be unidirectional, have you tried just using cat like this to get the HPGL data into a

cat /dev/ttyS0 > plot.hpgl

Press print on scope

Hit Ctrl-C

You should now have a HPGL file. Make sure to set up baud rate and flow control beforehand.
 

Offline cdevTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 7350
  • Country: 00
Re: How can I use the serial port on my old Tek 2211 scope to grab data?
« Reply #4 on: February 22, 2016, 07:14:09 am »
It works, finally..

Lots of learning to do how to make it pretty, though.. and even at 9600 baud, its slooooow...
"What the large print giveth, the small print taketh away."
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf