Subject:
|
RE: DATALOG and C
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 25 Jan 1999 16:32:04 GMT
|
Original-From:
|
Cwikla, Brian <Brian.Cwikla@Best*nospam*Buy.com>
|
Viewed:
|
1115 times
|
| |
| |
To find the current maximum size of the datalog, get a MemMap.
There is a pointer to the start of the datalog area and also a pointer to
the top of the memory area. Subtract these two values for the current
maximum size of the datalog.
-Brian
> -----Original Message-----
> From: Ben Williamson [SMTP:benw@pobox.com]
> Sent: Monday, January 25, 1999 10:28 AM
> To: lego-robotics@crynwr.com
> Subject: Re: DATALOG and C
>
> On Sat, 23 Jan 1999, Michael Gasperi wrote:
>
> > The UploadDatalog and SetDatalog are Immediate Commands and
> > can not be included in an RCX program.
>
> I see your point about UploadDatalog, as the tower falls asleep and the PC
> won't hear the RCX shouting. But SetDatalog seems to work in a program
> just fine, to set the size of the datalog buffer.
>
> BTW, what is the maximum size for the datalog, and how do you tell if
> SetDatalog failed to allocate the space you asked for? Perhaps there
> aren't answers to either of these questions. I've been using a 2000 entry
> log, seems to work okay.
>
> Cheers,
>
> - Ben.
>
> -------------------------------------------------------------------
> Ben Williamson benw@pobox.com http://www.pobox.com/~benw/
>
>
>
> --
> Did you check the web site first?: http://www.crynwr.com/lego-robotics
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|