Thu, 08 Jul 2004 02:59:59 GMT
Can I use Graphics Mode in Turbo Vision?
Dear readers, Some time ago I made a nice Pascal program (TP7), that uses a fast and simple assembler routine to scan the parallel port. I use it to measure the revolutions of a large "flywheel" that is mounted in an inertia dynojet. The software works perfectly. The acquired data is base for some calculations that result in a nice graph (revs - Kw) in graphics mode. Now I want to make the User Interface (U.I.) a littkebit more sophisticated. I want to use Turbovision. The U.I. is really a succes (of course) but so far I have not been able to use the graphics mode needed to display my graph; After a "closegraph" the GUI shows a black screen. It is still alive, but the screen (menu + centre screen) needs to be redrawn. How can I use the graphics mode in Turbo Vision? Second question: As a newcomer to Turbo vision I also find myself struggling to display data in a window. Should be easy.... This is what I want (or something similar): Open_window; Repeat read_sensor; gotoxy(2,2); write(revolutions_per_minute); until keypressed: Close_Window; What kind of code in Turbo Vision is needed to program this? All information is very much appreciated. Thanks, Bas Bekema
|