C
Hi All
Not that I need another project, but...
A long, long, time ago I wrote a program in Turbo Pascal on DOS that read four thermistors attached to a game card and plotted their temperature in strip chart recorder fashion on screen with the chart grads, etc. added as the chart scrolled. It also output the chart to a dot matrix printer attached for a permanent record.
I recently had to resurrect that program, blow the dust out of an old Zenith XT compatible computer and an epson FX286 printer and set the thing up.
I now have someone that wants that capability on a modern laptop. I explained that I don't do Windows and that was fine, so I set out to write the chart recorder part in C. This program was fairly easy to write in ancient TP with a Graphic library they had as an add on. The screen was basically just a big array of dots and you just plotted away. Amazingly enough, I haven't been able to find a simple way to do it under Linux.
There are console libs used for games, but to be really modern, it should be in a window. Since this is very much like a trending graph and there are some HMI folks here, I thought I could perhaps save some grief and solicit suggestions on what to use to do this in a reasonable amount of time. I would prefer C but I'm open to Python or other Linux solutions. I just need to define a canvas and be able to write one bit column at a time and scroll.
Regards
cww
Not that I need another project, but...
A long, long, time ago I wrote a program in Turbo Pascal on DOS that read four thermistors attached to a game card and plotted their temperature in strip chart recorder fashion on screen with the chart grads, etc. added as the chart scrolled. It also output the chart to a dot matrix printer attached for a permanent record.
I recently had to resurrect that program, blow the dust out of an old Zenith XT compatible computer and an epson FX286 printer and set the thing up.
I now have someone that wants that capability on a modern laptop. I explained that I don't do Windows and that was fine, so I set out to write the chart recorder part in C. This program was fairly easy to write in ancient TP with a Graphic library they had as an add on. The screen was basically just a big array of dots and you just plotted away. Amazingly enough, I haven't been able to find a simple way to do it under Linux.
There are console libs used for games, but to be really modern, it should be in a window. Since this is very much like a trending graph and there are some HMI folks here, I thought I could perhaps save some grief and solicit suggestions on what to use to do this in a reasonable amount of time. I would prefer C but I'm open to Python or other Linux solutions. I just need to define a canvas and be able to write one bit column at a time and scroll.
Regards
cww