Re: Yet Another New Machine

Liste des GroupesRevenir à rc metalworking 
Sujet : Re: Yet Another New Machine
De : djb (at) *nospam* invalid.com (David Billington)
Groupes : rec.crafts.metalworking
Date : 06. Nov 2024, 16:28:10
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vgg1ua$261lq$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
On 06/11/2024 01:53, Jim Wilkins wrote:
"Bob La Londe"  wrote in message news:vgdohv$16n6e$1@dont-email.me...
>
This can be an issue with Windows for example because it is not a real time operating system.  Or rather it does not by default give real time control to programs running under its overhead.  Not sure I said that right, but I am sure you get the idea.
It's been a while since I've done any Windows programming but the last main application was doing some data logging from force and torque equipment via the serial port and in order to get better timing response did set the thread as 'real time priority' in a Windows  data structure but the main thing that allowed decent timing at around 50Hz was to use the timeBeginPeriod () and timeEndPeriod () to set the system timer to 2ms.

>
I quickly discovered Window's time slice multitasking and I/O port polling from a scope capture of a carefully timed I2C data stream generated by the printer port's control bits. Quick Basic running under the enhanced DOS behind Win98 and 2000 eliminated the gaps and polling, the only active interrupt in DOS updates the clock every 55mS, which I could detect and then have the CPU and I/O address space registers all to myself until the next predictable one.
>
Windows still has an increasingly powerful DOS behind it, and it's needed for the fsutil.exe command that controls SSD garbage collection. This describes it in Windows 10/11:
https://www.easeus.com/resource/trim-ssd-windows-10.html
>
The Shift, Ctrl and Alt keys set I/O address space register bits that allow a program to detect them, which was handy when the keyboard had been pushed almost out of reach by the circuit board being tested. Ctrl or Alt in the bottom row would advance the program. The F1-F12 keys return two bytes. I wrote an input function that correctly returned anything in the keyboard buffer, including ESCape, or that it was empty and the program could continue looping. It could also read a macro string of key commands.
>
I dabbled in G code very little, mostly in the similar Gerber vector graphic language for photoplotting circuit board artworks, and the text language for transferring CAD electrical schematics to the PC board design program. The two disagreed on which end of a diode was pin 1, which caused puzzling problems to engineers who had used other board designers and gave me wizard status when I fixed them.
>
Your college issues were worse than mine, at the end I arbitrarily needed 4 more credits, effectively 2 classes, in any subject to graduate and I signed up for 6 credit summer theatre as a carpenter. Instead of 2 hours 3 times a week it ran 12-14 hours a day, but was fun and I learned a lot about interacting with people who were very different from techies. The professors/directors were masters at coaxing yet another maximum effort from tired actors and dancers.
>
OTOH as I neared graduation and the absolute need to continue to an advanced degree to be more than a pharmacy clerk the grad school draft deferment was cancelled. I think I made the best of it by enlisting for and completing the Army's longest and most difficult electronics school which enabled my subsequent career.
>
In 8th grade I did take Geology, called Earth Science. It proved too difficult for most of the students, many who were children of Phillips Exeter Academy faculty and convinced of their intellectual superiority over us "townies" until I bested them in that class and even worse French.
>
So is it a compiler?  ... No I think its best described as a specialized interpreter.
>
I simply wondered if CAD systems typically generated readable and editable G code.
>
I have not written an actual computer program in probably 20-25 years. It was a simple screen saver and program execution menu for PC-Dos 7.0. in order to prevent monitor burn in it would randomly flash the date and time around the screen.
>
I may have mentioned that another programmer's screen saver randomly flashed "REPENT, THE END IS NEAR" as though it had been alerted by a sinner's presence. I worked on a machine sensitive enough to detect a human within about 20' but it only woke up and greeted them, which still bothered one woman.
>

Date Sujet#  Auteur
31 Oct 24 * Yet Another New Machine14Bob La Londe
31 Oct 24 `* Re: Yet Another New Machine13Jim Wilkins
31 Oct 24  `* Re: Yet Another New Machine12Bob La Londe
5 Nov 24   +* Re: Yet Another New Machine10Bob La Londe
5 Nov 24   i`* Re: Yet Another New Machine9Jim Wilkins
5 Nov 24   i +* Re: Yet Another New Machine7Bob La Londe
6 Nov 24   i i`* Re: Yet Another New Machine6Jim Wilkins
6 Nov 24   i i +- Re: Yet Another New Machine1David Billington
6 Nov 24   i i `* Re: Yet Another New Machine4Bob La Londe
6 Nov 24   i i  +- Re: Yet Another New Machine1Bob La Londe
7 Nov 24   i i  `* Re: Yet Another New Machine2Jim Wilkins
7 Nov 24   i i   `- Re: Yet Another New Machine1Bob La Londe
6 Nov 24   i `- Re: Yet Another New Machine1Bob La Londe
7 Nov 24   `- Re: Yet Another New Machine1Clare Snyder

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal