Shop OBEX P1 Docs P2 Docs Learn Events
Thermistor Lookup Tables - I don't know if you are interested, but.... — Parallax Forums

Thermistor Lookup Tables - I don't know if you are interested, but....

idbruceidbruce Posts: 6,197
edited 2015-03-05 13:02 in General Discussion
Hello Everyone

My latest endeavor is the porting of a Python script to MFC C++ 6.0.

The script named createTemperatureLookup.py is pretty popular amongst 3D printing enthusiasts, and this script is responsible for creating thermistor lookup tables that are compatible with the Temperature Sensor v2.0, created by RepRap.org. For more information about Temperature Sensor v2.0, visit this page: http://reprap.org/wiki/Temperature_Sensor_2_0 and further information can be found here: http://reprap.org/wiki/Thermistor

As for the script, I forget where I found it, but Google lists this link: https://www.google.com/url?url=https://github.com/reprap/firmware/blob/master/createTemperatureLookup.py&rct=j&frm=1&q=&esrc=s&sa=U&ei=UDT4VJ_pDcv5yQSJyYCQCA&ved=0CBQQFjAA&usg=AFQjCNHbp7N1v4UKsk-xnG-VZMGcGlJv9w

Anyhow, things got a bit complicated with the Python Range function, because I did not know of any similar function in C++, but I finally got it straightened away with creating my own code from the CList class of MFC, however I may have a question or two for the Python guys in the future.

Anyhow, this is what the application is starting to look like. If you might be interested, then let me know.

EDIT: If you are wondering why I am porting it to MFC, it is because I really don't want to install Python on this PC, and I do not have access to a PC with Python installed.

attachment.php?attachmentid=113388&d=1425552910
564 x 341 - 41K

Comments

  • Heater.Heater. Posts: 21,230
    edited 2015-03-05 03:21
    It's like travelling backwards in time.
  • idbruceidbruce Posts: 6,197
    edited 2015-03-05 03:48
    It's like travelling backwards in time.

    LOL... Yea I know, but I am just doing what I need to do to get on with my project.
  • Heater.Heater. Posts: 21,230
    edited 2015-03-05 07:13
    Why not install Python?

    Python is a wonderful thing. Well worth learning a little bit about. Highly recommended.
  • mindrobotsmindrobots Posts: 6,506
    edited 2015-03-05 07:36
    I'm trying to figure out how porting something (anything) from Python to MFC C++ is an easier path to getting on with a project than taking 5 minutes to install Python and being done with it.

    Silly me, I forgot Python wasn't even standard equipment some places! :o)
  • idbruceidbruce Posts: 6,197
    edited 2015-03-05 13:02
    This project has been abandoned.
Sign In or Register to comment.