| | HELP, has anyone ever seen SPIRIT.OCX events ??
|
|
The spirit.ocx definies a number of events (far more than in the ocx documentation are mentioned), but neither one of them seems to work. I've logged them all, but a never saw one comming up. Someone reported the same problem with the cybermaster. (...) (24 years ago, 21-Apr-01, to lugnet.robotics.rcx)
|
|
| | Re: HELP, has anyone ever seen SPIRIT.OCX events ??
|
|
(...) Have you enabled the events? You need to both define an event and enable it before it will work. --Ian (24 years ago, 25-Apr-01, to lugnet.robotics.rcx)
|
|
| | Re: HELP, has anyone ever seen SPIRIT.OCX events ??
|
|
(...) I mean the active-X events, like "ondownloaddone". I've never seen an active-X component for which you should enable the events. So I presume spirit.ocx will fire an "ondownloaddone" event, when it's ready with the download. But spirit (...) (24 years ago, 25-Apr-01, to lugnet.robotics.rcx)
|
|
| | Re: HELP, has anyone ever seen SPIRIT.OCX events ??
|
|
(...) I just hacked together a quick-n-dirty C++ program to talk to Spirit.ocx. It unlocks the brick and downloads new firmware into the RCX, all using the public methods exposed by Spirit.ocx. I sink events from the .ocx, and I don't get any COM (...) (24 years ago, 27-Apr-01, to lugnet.robotics.rcx)
|
|
| | Re: HELP, has anyone ever seen SPIRIT.OCX events ??
|
|
Thanks Chris, I was just looking for that confimation. There are more bugs in the spirit.ocx, ever tried to read the sensor mode ? Well you'll probably get the sensor mode multiplied with 32. I've just reported these bugs to Lego. I've also asked (...) (24 years ago, 28-Apr-01, to lugnet.robotics.rcx)
|