Re: Control external
Posted by
Peter Stierlen on
URL: http://imagej.273.s1.nabble.com/Control-external-tp3695959p3695960.html
Dear Cristobal,
I use the Velleman USB-board for a selfmade 3d laserscanner controlling 2
steppers (optional 3 stepper) and the laser switch. The USB-board is
connected via the Nanotec SMC11 boards (1/8 step mode) to the steppers.
The board is fast enough for my application but up to now the image grabbing
from the Quickcam Pro9000 is the bottle neck.
Controlling the board by Java/ImageJ is done with twusb.dll twusb.jar
http://www.wenzlaff.de/twusb.htmlput twusb.jar into your Imagej plugin folder
put twusb.dll into your windows/system32 folder
all works fine also with Vista
...
import de.wenzlaff.twusb.schnittstelle.TWUsb;
import de.wenzlaff.twusb.schnittstelle.exception.TWUsbException;
...
try{
TWUsb.getInfo();
TWUsb.OpenDevice(TWUsb.ADDRESSE_0);
TWUsb.ClearDigitalChannel(TWUsb.DIGITALER_AUSGABE_KANAL_1);
...
best regards
Peter