Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

controlling port with VB. is it possible?

Status
Not open for further replies.

luisg

Mechanical
Mar 7, 2003
3
0
0
US
My project includes a controller, sensor switches, valve and
steppers. I am wondering how to write program in visual basic
(using .DLL to controll paralel port in c language) to move the
stepper without loosing step. I heard that pulse are not sent
properly in a windows enviroment and that is why most CNC programs
are writen in DOS or linux to prevent this but I need to run my
applications in a windows enviroment so my question is how can the
pulse or signal can be sent properly to the parallel
port so stepper motors can run smoothly without loosing steps?


luis..
 
Replies continue below

Recommended for you

To do this with windows would probably always be messy because you cannot guarantee the timming to the port. What you might want to explore is building a simple hardware interface wuit a BasicStamp microcontroller and interface it to your serial port for control messages.

There are several working projects for stepper motor control you can from from that site.

The BStamp is very easy to work with and comes ready to communicate with a serial port.
 
Status
Not open for further replies.
Back
Top