CAD CAM EDM DRO - Yahoo Group Archive

Re: Windows timing subroutines, how do they work?

Posted by ibewgypsie
on 2005-07-24 13:30:22 UTC
The directX microsecond calls (visual basic) is what is used to run
high speed graphics pages and seamless motion. It too reads the cpu
clock.

(on the linux box here, can't post a example) but you load directx as
a driver then make calls to it. It works really well most the time.

Of course, It does not work 100% of the time. Not figured out that.
No pauses in graphics. I thought I was just not configuring it
correctly to take front page, or focus. Windows seems to do as it
pleases and darn what you want.

My joystick program used it quite well. I'd run the program and each
directional change it'd write a gcode location and speed to a file.
It got to the point where either I was going to "run" the machine or
work on the code. I loaded mach2 after that. Now, I am working on
several robotics projects and need some old subroutines to work 100%
of the time.

David

--- In CAD_CAM_EDM_DRO@yahoogroups.com, KM6VV <KM6VV@a...> wrote:
> HI David,
>
> I don't believe he's using an rtlinux kernel, but he does have a
pulse module
> that reads the Pentium internal clock, probably runs at the inner
ring (ring 0?
> or whatever the current term is).
>
> For my STEP4 controller, I've stuck with a 'C' program running under
DOS. I've
> been thinking of porting the motion code to a PIC processor. You
might consider
> this; as it allows the GUI and bulk of the computations to be done
at a higher
> level, in the language of your choice.
>
> Check out Gecko's new G2002 (?) module.
>
> Alan KM6VV
>
>
> ibewgypsie wrote:
>
> > If there was someway to turn off the multi tasking of windows, All the
> > speed/accel/decel subroutines I do in visual basic crash or just lose
> > thier minds as windows goes off on it's own agenda.
> >
> > I threatened to put a pulse-generator/port timer to toggle a inbit on
> > the par port. It would not have worked.
> >
> > I even used the directX microsecond timer and it "almost" works till
> > you see the hard drive running and see your motor you are acceling
> > lose it's mind and break off the endmill.
> >
> > Linux has became so darned fit-all it is not much better. Someone
> > suggested a Lite version with less options.
> >
> > As of now? DOS is the king, Mach2./3 works most the time here with
> > windows, I was told, maybe wrong that he uses a rtlinux type of kernel
> > to generate the timing.
> >
> > For non-critical situations, the directx timer is the best for visual
> > basic in windows for graphics anyways, why is it not dedicated?. Is
> > there a magic key? if so I have lots of movement subroutines that
> > almost work...
> >
> > David
> >

Discussion Thread

ibewgypsie 2005-07-24 06:41:06 UTC Windows timing subroutines, how do they work? Jack Hudler 2005-07-24 12:59:51 UTC RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Jon Elson 2005-07-24 13:00:59 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? KM6VV 2005-07-24 13:14:20 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? ibewgypsie 2005-07-24 13:30:22 UTC Re: Windows timing subroutines, how do they work? Jim Peck 2005-07-24 14:45:43 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Les Newell 2005-07-24 15:04:21 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? KM6VV 2005-07-24 16:46:14 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? notoneleft 2005-07-24 17:20:45 UTC Re: Windows timing subroutines, how do they work? Jon Elson 2005-07-24 20:00:49 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Jack Hudler 2005-07-24 21:17:33 UTC RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? ibewgypsie 2005-07-24 22:04:15 UTC Re: Windows timing subroutines, how do they work? Mariss Freimanis 2005-07-24 23:41:25 UTC Re: Windows timing subroutines, how do they work? Jack Hudler 2005-07-25 00:45:30 UTC RE: [CAD_CAM_EDM_DRO] Re: Windows timing subroutines, how do they work? caedave 2005-07-25 02:23:24 UTC Re: [CAD_CAM_EDM_DRO] Re: Windows timing subroutines, how do they work? Les Newell 2005-07-25 02:23:26 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Les Newell 2005-07-25 02:34:10 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Fred Smith 2005-07-25 07:47:13 UTC Re: Windows timing subroutines, how do they work? Alan Marconett 2005-07-25 08:44:15 UTC RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Jon Elson 2005-07-25 09:30:49 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? ibewgypsie 2005-07-25 10:01:52 UTC Re: Windows timing subroutines, how do they work? Les Newell 2005-07-25 11:02:16 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Alan Marconett 2005-07-25 13:22:42 UTC RE: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? Les Newell 2005-07-25 14:58:54 UTC Re: [CAD_CAM_EDM_DRO] Windows timing subroutines, how do they work? caudlet 2005-07-25 19:46:24 UTC Re: Windows timing subroutines, how do they work? ibewgypsie 2005-07-25 21:19:36 UTC Re: Windows timing subroutines, how do they work? Jymmm 2005-07-25 22:29:38 UTC Re: Windows timing subroutines, how do they work? yahoo@h... 2005-07-26 02:10:13 UTC RE: [CAD_CAM_EDM_DRO] Re: Windows timing subroutines, how do they work? Mariss Freimanis 2005-07-26 08:15:13 UTC Re: Windows timing subroutines, how do they work? Mariss Freimanis 2005-07-26 08:19:33 UTC Re: Windows timing subroutines, how do they work? ibewgypsie 2005-07-26 10:36:48 UTC Re: Windows timing subroutines, how do they work? JitteryMonkey pic ibewgypsie 2005-07-26 10:48:27 UTC Re: Windows timing subroutines, how do they work? JitteryMonkey pic ibewgypsie 2005-07-26 11:08:39 UTC Re: Windows timing subroutines, how do they work? Andrey Lipavsky 2005-07-27 06:05:52 UTC Converting a rotary table victorlorenzo 2005-07-27 07:02:24 UTC Re: Converting a rotary table David Micklethwaite 2005-07-27 16:36:34 UTC Re: [CAD_CAM_EDM_DRO] Converting a rotary table cutsgems 2005-07-27 18:38:06 UTC Re: Converting a rotary table Andrey Lipavsky 2005-07-27 20:24:07 UTC RE: [CAD_CAM_EDM_DRO] Re: Converting a rotary table cutsgems 2005-07-28 08:54:39 UTC Re: Converting a rotary table Les Newell 2005-07-28 09:23:43 UTC Re: [CAD_CAM_EDM_DRO] Re: Converting a rotary table Andrey Lipavsky 2005-07-31 16:43:28 UTC RE: [CAD_CAM_EDM_DRO] Re: Converting a rotary table