To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2275
2274  |  2276
Subject: 
Re: CyberMaster - Problems with SPIRIT.OCX and Delphi
Newsgroups: 
lugnet.robotics
Date: 
Mon, 4 Jan 1999 17:19:16 GMT
Viewed: 
1250 times
  
Ok, perhaps I wasn't clear enough.

I can communicate with the CyberMaster all right through the SPIRIT.OCX,
but, I can not get the callbacks to fire.

The ocx is supposed to fire an event, for example, when a download is done,
and then there is the SetEvent(0, 0, time) to have the ocx do the polling of
the CM, and just inform me when variable 0 has changed, through the
VariableChanged event.

But I get _no_ events at all!

Has anyone seen something like this, has anyone a (small, but complete)
example of callbacks that work in (preferably) Delphi?

My equipment:
Win98, Borland Delphi 2.01, SPIRIT.OCX ver 2.89 Beta3 (Seems this is the
only one that exists?)

--
Anders Isaksson, Sweden
BlockCAD:  http://user.tninet.se/~hbh828t/proglego.htm
Gallery:   http://user.tninet.se/~hbh828t/gallery.htm



Message is in Reply To:
  Re: CyberMaster - Problems with SPIRIT.OCX and Delphi
 
(...) In C++ I do this: // Defines #define SPIRIT_COM1 1 #define SPIRIT_COM2 2 #define SPIRIT_COM3 3 #define SPIRIT_COM4 4 #define SPIRIT_IR 0 #define SPIRIT_RADIO 2 #define SPIRIT_CYBERMASTER 0 #define SPIRIT_RCX 1 // Init brick (...) (25 years ago, 3-Jan-99, to lugnet.robotics)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR