Michael F. Toups replied to the topic 'Help with DIY CCD driver' in the forum. 7 years ago

D2XX isn't working for me, again probably user error. I can't connect to the camera with D2XX and the current build with D2XX enabled.

sudo indiserver -v -m 100 indi_cam84_ccd
2016-11-26T22:28:22: startup: indiserver -v -m 100 indi_cam84_ccd 
2016-11-26T22:28:22: Driver indi_cam84_ccd: pid=3386 rfd=3 wfd=6 efd=7
2016-11-26T22:28:22: listening to port 7624 on fd 4
2016-11-26T22:28:22: Driver indi_cam84_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2016-11-26T22:28:22: Driver indi_cam84_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2016-11-26T22:28:22: Driver indi_cam84_ccd: snooping on CCD Simulator.FILTER_SLOT
2016-11-26T22:28:22: Driver indi_cam84_ccd: snooping on CCD Simulator.FILTER_NAME
2016-11-26T22:28:31: Client 0: new arrival from 127.0.0.1:57556 - welcome!
2016-11-26T22:28:34: Driver indi_cam84_ccd: USING D2XX***********************************
2016-11-26T22:28:34: Driver indi_cam84_ccd: unable to open ftdi device: 1 (2)
2016-11-26T22:28:34: Driver indi_cam84_ccd: stderr EOF
2016-11-26T22:28:34: Driver indi_cam84_ccd: restart #1
2016-11-26T22:28:34: Driver indi_cam84_ccd: pid=3393 rfd=3 wfd=7 efd=8
2016-11-26T22:28:34: Driver indi_cam84_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2016-11-26T22:28:34: Driver indi_cam84_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2016-11-26T22:28:34: Driver indi_cam84_ccd: snooping on CCD Simulator.FILTER_SLOT
2016-11-26T22:28:34: Driver indi_cam84_ccd: snooping on CCD Simulator.FILTER_NAME
2016-11-26T22:29:23: Driver indi_cam84_ccd: USING D2XX***********************************
2016-11-26T22:29:23: Driver indi_cam84_ccd: unable to open ftdi device: 1 (2)
2016-11-26T22:29:23: Driver indi_cam84_ccd: stderr EOF
2016-11-26T22:29:23: Driver indi_cam84_ccd: restart #2
2016-11-26T22:29:23: Driver indi_cam84_ccd: pid=3396 rfd=3 wfd=7 efd=8
2016-11-26T22:29:24: Driver indi_cam84_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2016-11-26T22:29:24: Driver indi_cam84_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2016-11-26T22:29:24: Driver indi_cam84_ccd: snooping on CCD Simulator.FILTER_SLOT
2016-11-26T22:29:24: Driver indi_cam84_ccd: snooping on CCD Simulator.FILTER_NAME

But I can get the "read" example from the D2XX package.
 ./read
Library version = 0x10306
Opening port 0
FT_Open succeeded.  Handle is 0x823b680
FT_GetDeviceInfo succeeded.  Device is type 6.
FT_EE_Read succeeded.

Signature1 = 0
Signature2 = -1
Version = 3
VendorId = 0x0403
ProductId = 0x6010
Manufacturer = FTDI
ManufacturerId = CA
Description = cam8
SerialNumber = CAM8
MaxPower = 100
PnP = 1
SelfPowered = 0
RemoteWakeup = 0
Returning 0

Will shift back to the ftdi build and try to answer your other questions but any suggestions regarding D2XX, would like to have it for a comparison.

Read More...