Subject:
|
Re: Uploading datalog - some confusion?
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Mon, 16 Jul 2001 22:39:57 GMT
|
Viewed:
|
1696 times
|
| |
| |
pelicaneng wrote:
> I have been playing around with NQC (RCX v2, MacNQC) and generally everthing
> has been straightforward (certainly more so than Robolab...) but I am having
> problems with datalog uploads.
>
> I can upload the datalog using NQC no problem. I then included the
> "UploadDatalog(1, 20);" command in a program and nothing happened. I am
> guessing this doesn't work? I assumed that the RCX would cause the IR tower
> to wake up and data would start to flow in through the serial port where I
> would have to do something with it.
>
> I started poking around in the NQC source to try to figure out how I could
> initiate the upload in the code I am working with (4D as it happens). What
> I can determine is:
>
> Baud rate = 2400
> parity = odd
> hshake = DTR
> Stop bits = ?
Are you sure about the handshake, on a PC with a serial IR-tower there is no handshake (not necessairy because the PC is the master and the RCX is the slave).
>
>
> NQC seems to send a ping first (0x10) and gets some sort of reply then sends
> a (0xa4) followed by the low and high byte of the start and stop short ints.
> This confused me because this is what the disassembled code that I
> downloaded looked like (ie sending the 0xa4).
>
> Once I get the data it looks pretty straighforward to reasemble the ints...
>
> So what am I missing?
>
> TIA,
>
> Larry
best regards,
Stef Mientki
|
|
Message is in Reply To:
| | Uploading datalog - some confusion?
|
| I have been playing around with NQC (RCX v2, MacNQC) and generally everthing has been straightforward (certainly more so than Robolab...) but I am having problems with datalog uploads. I can upload the datalog using NQC no problem. I then included (...) (23 years ago, 13-Jul-01, to lugnet.robotics.rcx)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|