The port connections are
Serial 1 DDW emulator
Serial 2 Robofocus emulator
Serial 3 Dome position mouse
Parallel port
D0=dome direction
D1=dome power
D2=Shutter direction
D3=Shutter power
D4=Focuser motor winding 1
D5= Focuser motor winding 2
D6= Focuser motor winding 3
D7 = Focuser motor winding 4
S0= Focus Handpad button 1
S1=Focus Handpad button 2
S2=Dome home sensor
S3 = Rain sensor
C1 = Scope power relay
C2 = Cameras and cooler power
C3 = Dew heaters
C4 = spare relay
In order to have both the system mouse and
the dome position mouse used at the same time window needs to be
stopped from using its driver with the dome mouse.
This is done in hardware manager by disabling the device.
Visual basic can then open the com port and communicate
directly with the mouse.
When I have time I will write up the
program properly and put it on the site for down load. Let
me know if this would be of interest.
|