• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Can anyone here help generate a serial number for the PT100 terminal emulator app?

Huxley

Well-known member
I'm using the very slick Newton app called "PT100," which is apparently abandonware at this point. There are few references to the app that I can find online, but this archived thread indicates that someone had a working Python-based serial number generator working 6-7 years ago. Unfortunately, this is the only reference to the tool that I've been able to find, and the link itself is dead now.

If anyone has the ability to help me create a fresh serial number, I'd be very grateful! Just in case, here's the Newton serial number from PT100's info box, which I believe is required by the Python script to crank out a valid serial code:

000000000202134E

Thanks in advance!

Huxley
 

splorp

Active member
Thanks for the link, @Juror22 … this has been a lost bit of information for quite a while.

Hey, @Huxley … let me know if this script works for you. I haven’t had a chance to load PT100 onto a Newton yet to try it myself.
 

Huxley

Well-known member
Okay, a quick update:

Bearing in mind that I'm a total novice with Python stuff, I've just installed Python 3 on my Mac and I'm trying to run the "pt100reg.py" script I downloaded from the GitHub link above. However, when I run it, I get the following error in my Mac Terminal:

Screen Shot 2022-06-24 at 11.48.10 PM.png

Anyone here familiar enough with Python to understand what's going wrong and/or how to fix it? Just from eyeballing it (again, I'm a novice), it seems to me like there's some syntax issue with how the script is requesting the Newton serial number to be entered - as you can see in the screenshot, I never get prompted to type it in, and I'm not seeing any obvious place where I should paste it into the code of the script itself.

Thanks for any tips - I feel like I'm so close to getting this!

Huxley
 

Huxley

Well-known member
Update to the above: IT WORKS!!

For anyone else who tries this: the issue with the script as it's written is that it's coded for Python2, which used the "raw_input" variable. However, the current version (Python3) has changed that to just "input"

To get it working, I just edited line script so that it reads (note that 'raw_input' has been changed to plain 'input'):
name = input("Please enter the Newton's serial number\n")

That's it! When I ran it, the script asked for my Newton device serial number, and after entering it, the script spat out a device-specific serial number. I entered it into pt100 on my Newton, and...

IMG_3646.jpeg


WOOO! Thank you @Juror22 - I'm still super curious how you found the script, and super grateful to have it!

Hooray!

Huxley

PS I should also tag @splorp here, so you see the above info :)
 

Juror22

Well-known member
I'm still super curious how you found the script
I really can't take the credit, it goes to Google, but I did try a few different search criteria. So happy to help AND to see it running.
That is great! Enjoy!
 

cheesestraws

Well-known member
Oh, this is really useful. I use PT100 on my 'emergency serial console' eMate and had been resigned to living the unregistered shareware life.
 

JustG

Well-known member
Oh man! I'm going to have fun figuring this out today. Thank you Huxley for asking the question and Juror22 for the googlefu!
 
Top