re:re:re: DRO schematics, or VB reads the parallel port
Posted by
Elliot Burke
on 2000-06-26 14:32:25 UTC
I read/write the parallel port in W98 with VB using a DLL from
http://www.lvr.com/parport.htm
inpout32.dll works fine.
There are other DLL's listed there which are supposed to work with NT, but I
haven't tried them.
This runs a stepper motor for me (slowly), and I use other outputs from the
phase driver board to run solenoids and provide power for several other
devices.
My machine uses one parallel port to drive the motor and run solenoids and
such, another one to connect a Snappy frame grabber. It has a very easy to
use OCX. Easy machine vision!
This DLL gives you commands like OUT &H378, 10 , just like in QBasic.
Elliot Burke
HighTide Instruments
http://www.lvr.com/parport.htm
inpout32.dll works fine.
There are other DLL's listed there which are supposed to work with NT, but I
haven't tried them.
This runs a stepper motor for me (slowly), and I use other outputs from the
phase driver board to run solenoids and provide power for several other
devices.
My machine uses one parallel port to drive the motor and run solenoids and
such, another one to connect a Snappy frame grabber. It has a very easy to
use OCX. Easy machine vision!
This DLL gives you commands like OUT &H378, 10 , just like in QBasic.
Elliot Burke
HighTide Instruments