To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *2830 (-10)
  Re: VB Upload Problem
 
You could always check how big your datalog is by uploading the first point of the datalog in VB. The third element of the first point (point 0) is the size of the datalog. Throw that in a databox and see what it gives you. I would agree that VB (...) (24 years ago, 26-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: memory leak in string handling
 
And the problem is solved. Perhaps my pains can be used for something good anyway. Perhaps the people who suggested their beautiful strcat-functions can have (at least the prettiest one) them included in a future release. And if you're wondering how (...) (24 years ago, 26-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: memory leak in string handling
 
Thank you everyone who helped out. The strcat function works like a charm. Unfortunately, the memory leak is still there. I'm beginning to think it might be that the strings are never deallocated at all. I'm going to have to check so that the (...) (24 years ago, 26-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: Making LegOS under Win98
 
I did not have the lnp.c file, so I copied it to the util/dll-src directory. It did not change anything. Then I downloaded and installed the CVS version. It still gave the same errors. This is exactly what errors were specified: (...) (24 years ago, 24-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: VB Upload Problem
 
(...) I think chris is putting some other info in the datalog. I poked at this briefly when using an early version of Robolab 2.0, but I don't recall the exact details. I think it comes from Robolab trying to use the datalog to record multiple (...) (24 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: Making LegOS under Win98
 
Hmm. OK, well, if you look in ../Makefile.user (which is included from demo/Makefile) on the very last line you'll see this: %.lx: %.ds1 %.ds2 $(MAKELX) $*.ds1 $*.ds2 $*.lx That is a rule to make all .lx files. So, the rule is there and should be (...) (24 years ago, 24-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: VB Upload Problem
 
ok, so i'm getting a little closer to answering my own question, but i'm still stuck. if i write a new robolab program to take 10 points of light data and then upload it with VB, those 10 points get put into slots 10-20 in the datalog, and points (...) (24 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: VB Upload Problem
 
(...) But I wasn't logging variables... and I never have... I was logging sensor values... and the values were certainly not things like 9, 0, 1, 3, ... (what showed up for values) but were more like 16, 23, 32... (which show up 70 or so values into (...) (24 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: Making LegOS under Win98
 
Andy- 3 Questions: 1) What version are you running? 2) Where/when did you get the file from? 3) Can I see the Makefile in question? (should be legOS/demo/Makefile, also legOS/Makefile.user) Neither or these have been changed in more than two months (...) (24 years ago, 24-Jun-00, to lugnet.robotics.rcx.legos)
 
  Re: VB Upload Problem
 
(...) Variables are 'type' 0, but there's a disagreement between NQC and VB about which var is in the log. I haven't heard of any problems with NQC in this respect, but I can test it out a bit and see. ... (...) At the bytecode level, the datalog is (...) (24 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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