CAD CAM EDM DRO - Yahoo Group Archive

[CAD_CAM_EDM_DRO] Re: I am loosing one step. weir!

on 2002-07-03 16:57:55 UTC
I forgot way too much about VB.

One of my partners in crime is almost certain that VB allows embedded Assembly Language code.

I use "Builder C++" (running under Windows 98) almost exclusivly anymore and routinly access the ports with it using embedded assembly.

Here is an example of loading a value into a Parallel Port at 378h.

asm{
mov dx,0378H //Load Data Port Address
mov al,value //Load value into register
out dx,al //Put "value" on port pins.
}

Look in your help files about inserting Assembly Routines. Or try inserting the above and look for compiling errors.

This can be quite handy, it is surprising on how much of a performance boost can be had with a few snippits of assembly code in bottle neck areas.

Also you can get a better handle on timing errors common in motion control and Windows.
( Sorry, don't ask, said more than I should.) Really not that big of a secret.

Tom M.

Discussion Thread

JanRwl@A... 2002-06-27 17:31:54 UTC Re: [CAD_CAM_EDM_DRO] I am loosing one step. weir! luisguillermo98 2002-06-27 18:12:59 UTC Re: I am loosing one step. weir! JanRwl@A... 2002-06-27 18:25:50 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! luisguillermo98 2002-06-27 18:39:56 UTC Re: I am loosing one step. weir! JanRwl@A... 2002-06-27 19:59:26 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! Jon Elson 2002-06-27 23:38:59 UTC Re: [CAD_CAM_EDM_DRO] I am loosing one step. weir! Dan Mauch 2002-06-28 06:21:06 UTC RE: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! luisguillermo98 2002-07-02 12:32:49 UTC Re: I am loosing one step. weir! JanRwl@A... 2002-07-02 17:02:13 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! luisguillermo98 2002-07-02 18:44:54 UTC Re: I am loosing one step. weir! JanRwl@A... 2002-07-02 20:43:25 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! luisguillermo98 2002-07-03 15:41:42 UTC Re: I am loosing one step. weir! luisguillermo98 2002-07-03 16:16:10 UTC Re: I am loosing one step. weir! Dennis Cranston 2002-07-03 16:56:25 UTC RE: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! Thomas Mayfield 2002-07-03 16:57:55 UTC [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! JanRwl@A... 2002-07-03 22:42:08 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! JanRwl@A... 2002-07-03 22:43:17 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! Doug Harrison 2002-07-04 07:33:01 UTC Re: [CAD_CAM_EDM_DRO] Re: I am loosing one step. weir! keongsan 2002-08-18 03:21:57 UTC ringing sound Dan Mauch 2002-08-18 06:40:33 UTC RE: [CAD_CAM_EDM_DRO] ringing sound turbulatordude 2002-08-18 07:32:35 UTC Re: ringing sound cadcamcenter 2002-08-18 08:42:49 UTC Re: ringing sound