| | 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)
|
|
| | Re: NQC 2.1 released
|
|
(...) (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 2.1 released
|
|
NQC 2.1 has been released - (URL) features (from 2.0) include the switch statement, fast firmware download, and preliminary Scout support. For more information, refer to the README - (URL) Baum (25 years ago, 20-Feb-00, to lugnet.robotics.rcx.nqc, lugnet.robotics)
|
|
| | Re: size of programs
|
|
If you have a palm pilot, you can get the info you want using BrickRemote. Mike Kory Dave Baum <dbaum@spambgoneenteract.com> wrote in message news:dbaum-532A81.01...net.com... (...) (25 years ago, 17-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: size of programs
|
|
(...) Good idea - also works well for MacNQC. I'll add it for the upcoming 2.1 release. Dave (25 years ago, 16-Feb-00, to lugnet.robotics.rcx.nqc)
|
|
| | Re: size of programs
|
|
Dave, How about doing the total and including it in the code listing? That way those of us that use RcxCC will be able to see it for more than a flash on the screen. (The download is only visable for a short time and then the window closes.) (...) (25 years ago, 15-Feb-00, to lugnet.robotics.rcx.nqc)
|