| | Re: NQC RCXLib bug & wish
|
|
(...) I didn't realize that kRCX_Message packets wouldn't survive toggling the duplicate reduction bit. I'll fix this in the source. Actually, I think rather than hard-coding the decision with kRCX_Message, I'll make it dependent on whether retries (...) (25 years ago, 22-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Typo - I meant that RcxCC uses different code than NQC, so a bug in RcxCC wouldn't necessarily indicate a bug in NQC for datalog listing. (...) From the thread I noticed you're using WinCE - sorry can't help you much there. Dave (25 years ago, 22-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Huh. It must be some silliness with Wince. I'm not familiar enough with the platform to help you beyond here.... :( (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC RCXLib bug & wish
|
|
Hi! (especially Dave) While trying to get a working communication channel between the PC and the RCX with the original firmware, I discovered a bug in RCXLib: in RCX_Link, BuildTxData, the 3rd bit in the command code is toggled when sending the same (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Matthew Miller wrote in message ... (...) Here's what I got: \windows>echo "blah" > test.txt "blah" > test.txt \windows>type test.txt Can't open the file \windows> Looks like it worked - but the file wasn't created (I couldn't find it using Explorer (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC examples?
|
|
I'm thinking of putting together a package (RPM, tar.gz) containing sample NQC code. It'd probably be designed to be released under either the GPL or MPL. I know there's some stuff on Dave's website already; would the authors of that code like to (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Not really. It should just go. Does this: echo "blah" > test.txt work? (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Matthew Miller wrote in message ... (...) room). (...) in (...) Is there a DOS switch or something I should be looking for to enable file writing? Iain -- tokama (URL) UIN 5362826 AIM Linjerflyg h e n d r y j r AT o x f o r d DOT n e t (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) That's pretty cool. I didn't know there was a Wince port. In any case, if you're doing > redirection and getting an error about the file you're redirecting to, the issue isn't with NQC but rather something in your shell. Probably access (...) (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Matthew Miller wrote in message ... (...) No idea. I'm using a shell program running under WindowsCE on my HP 320LX. (VERY handy being able to write code while siting on the floor in my room). Iain (25 years ago, 21-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) Do you have write permission to the directory you're in? (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Dave Baum wrote in message ... (...) Probably? Didn't you make NQC? (^: I tried the above. I got an error: Error: Couldn't open file log.txt. Any ideas? Iain -- tokama (URL) UIN 5362826 AIM Linjerflyg h e n d r y j r AT o x f o r d DOT n e t (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 released
|
|
(...) I take that back. It's fixed now. (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 released
|
|
(...) Linux binaries now at (URL), in .tar.gz and binary RPM format. (I've got to fix some stuff in the spec file, and then I'll post the SRPM too -- gimme a couple of days.) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
(...) You can probably use NQC to read the values into a text file. Try: nqc -datalog >log.txt The -datalog option will grab the datalog as raw valus, -datalog_full will add the 'sources' into the listing. I'm not sure why RcxCC lists the wrong (...) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: datalog viewer in RcxCC
|
|
Jeff Canar wrote in message <38aff0b1.63663228@l...et.com>... (...) <snip> I have had similar oddities using RcxCC for retrieving DataLog values. For example when I am pulling something in from Sensor 1, it may tell me this: Sensor 1: 35 Sensor 1: (...) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | datalog viewer in RcxCC
|
|
Wrote a program to log light levels every ten minutes and store those levels in the datalog. I wrote the program to use, and connected the sensor to, SENSOR_3. Everything works fine. My question is: Why does the datalog viewer in RcxCC report (...) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | MacNQC 2.1 in beta test
|
|
MacNQC 2.1 b1 in public beta: (URL) are a number of minor improvements - most notably an update to the latest NQC compiler (2.1 r1). This adds Scout support among other things. Dave (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 released
|
|
(...) The MPW version of NQC 2.1 is out now. The GUI based one (MacNQC) will probably be in beta very soon - there are some other things I need to wrap up since version 2.1 is in threory going to be localizable for German (and other languages). Dave (...) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC 2.1 released
|
|
(...) _good_ stuff! thanks, DLC (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|