×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

controlling port with VB. is it possible?

controlling port with VB. is it possible?

controlling port with VB. is it possible?

(OP)
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..

RE: controlling port with VB. is it possible?

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 www.parallaxinc.com 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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources