Hi Dejan & Wolfgang
I've installed the PDC Controller and plugin and it already worked... -But I'm having some very strange problems now:
I start CF, everything looks fine, but as soon as I switch to the reverse gear (where the plugin should be evoked) the USB device somehow seems to be removed?!
I've posted two logfiles here:
pdc.log (with the newer DLL Wolfgang posted here)
Thats my recorded tests from today
pdc.log.old
An old PDC logfile (some days ago) were it worked.
So what I've tested (according to the new logfile):
Rebooted Windows, started CF [at: 32:28:64>]
Device seems to send Data [32:41:85>]
Switched Reverse gear [33:52:03>]
==> here the device seems to get removed, so I went curious and opened the device manager in windows, switched to front gear: Two HID devices were present, than I switched to rear and I could see that the two HID devices got removed?!
Finally I've played around with the PDC settings at [35:44:60>], i.ex. switched from PID=2 to PID=3
=> Is this normal that I get to HID devices (ID 2+3) even though I have only one controller?
First I've thought that I might have soldered the wires in the wrong direction, but this would still not explain why it already worked perfectly before (and still does this once in a while, very seldom, though)
-I could see the difference in entries like:
Code:
43:18:29> GetDataFromDeviceRear(): Minimal REAR distance: 32
43:18:31> GetDataFromDeviceRear(): Sensor A REAR : 210(---- m)
43:18:31> GetDataFromDeviceRear(): Sensor B REAR : 210(---- m)
43:18:31> GetDataFromDeviceRear(): Sensor C REAR : 210(---- m)
43:18:31> GetDataFromDeviceRear(): Sensor D REAR : 32(0.32 m)
43:18:31> GetDataFromDeviceRear(): -------------------------------
I also have the display connected and there it works all the time.
Can you help me on this, please...?