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 / 636
635  |  637
Subject: 
Re: VB Upload Problem
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc
Date: 
Sat, 24 Jun 2000 16:01:13 GMT
Viewed: 
788 times
  
In article <FwnD1p.CIB@lugnet.com>, "Ben Erwin" <ben@alum.mit.edu>
wrote:

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 took with the light sensor and
temperature sensor, here is what it looks like in VB:

type: 0 no. 0 value: 9
type: 0 no. 0 value: 0
...

(totally wrong values compared to what i saw with view button)

and under nqc, the datalog looks like this:

variable 23: 9
variable 23: 0


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.
...
It is as if my datalog never gets erased, but just added to, and now it
is a
huge mess.  I guess I should just stick to one programming environment at
a
time.

At the bytecode level, the datalog is cummulative.  It only gets erased
when you create the datalog.

Dave Baum

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  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)

Message is in Reply To:
  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 (...) (24 years ago, 24-Jun-00, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)

11 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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