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 / 640 (-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 (...) (26 years ago, 26-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  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 (...) (26 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  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 (...) (26 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 (...) (26 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  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 (...) (26 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: VB Upload Problem
 
Ok i'm lame. i had the vb uploading code in a random code module instead of a module specifically for the click of the upload button. anyway, now the data comes up in the vb list box, but it is all screwy. for example, for some data that i just (...) (26 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: Dumb VB question
 
In manual it says that input has to be string, then activeX control parses it and searches for numbers 0,1,2. So perhaps you should define those constants explicitly as strings instead of using variants. "Ben Erwin" <ben@alum.mit.edu> wrote in (...) (26 years ago, 21-Jun-00, to lugnet.robotics.rcx)
 
  Re: Dumb VB question
 
"Ben Erwin" <ben@alum.mit.edu> wrote in message news:FwHKu9.2I1@lugnet.com... (...) how (...) "OUTPUT_AOUTPUT_BOUTPUT_C" (...) This is just a guess, but how about OUTPUT_A + OUTPUT_B + OUTPUT_C . (26 years ago, 21-Jun-00, to lugnet.robotics.rcx)
 
  Dumb VB question
 
If using the constants OUTPUT_A, OUTPUT_B, OUTPUT_C instead of "012" ... how can you refer to multiple outputs in one command? "OUTPUT_AOUTPUT_BOUTPUT_C" certainly doesn't work, and neither do "OUTPUT_A,OUTPUT_B,OUTPUT_C" or "OUTPUT_A OUTPUT_B (...) (26 years ago, 21-Jun-00, to lugnet.robotics.rcx)
 
  RE: VB Upload Problem
 
I have source coding sample of it, www.pronerd.com/lego should have a link, else goto my old page, (URL) Rutkas Faith in Chaos www.PRONERD.com -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...net.com]On Behalf Of Ben (...) (26 years ago, 20-Jun-00, to lugnet.robotics, lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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