To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 6232
6231  |  6233
Subject: 
Re: NQC (Mac) and KeySpan card?
Newsgroups: 
lugnet.robotics
Date: 
Wed, 11 Aug 1999 00:17:29 GMT
Viewed: 
701 times
  
In article <0E6D3D1B6E6CD111AAA20020AFD417656905B5@exchange.kvoa.com>,
Michael Griffith <webmaster@kvoa.com> wrote:

Since I have a bunch of stuff that plugs into a serial port on my Mac, I
purchased the KeySpan expansion card that adds four more ports.

I just downloaded NQC and know that you can change ports with 'nqc -e
RCX_PORT b' (I am doing this from memory, so the -e might be wrong).

Does anyone know if I can address one of the add-on ports rather than
the built-in modem or printer port?


Yes, but you need to know the name of the device driver, and this is
usually pretty difficult to find.  Serial ports use two separate drivers -
one for input and one for output.  Usually the names are something like
this: ".xxxIn" and ".xxxOut" where xxx is the port name.  As long as the
port's dirvers are named this way you can use "-Sxxx" to set the serial
port name to xxx.  If the driver names don't match this pattern, you need
"-Sxxx:yyy" where xxx is the full name (including the '.') for the input
driver, and yyy is the full name of the output driver.

I'll e-mail you a little program that lists the serial port driver names.

MacNQC, which is currently in development, should make this a lot easier.
It provides a graphical front end to NQC including a nice popup menu for
serial port selection.

Dave Baum

--
reply to: dbaum at enteract dot com



Message is in Reply To:
  NQC (Mac) and KeySpan card?
 
Since I have a bunch of stuff that plugs into a serial port on my Mac, I purchased the KeySpan expansion card that adds four more ports. I just downloaded NQC and know that you can change ports with 'nqc -e RCX_PORT b' (I am doing this from memory, (...) (25 years ago, 10-Aug-99, to lugnet.robotics)

2 Messages in This Thread:

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

Custom Search

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