Solved

Controllling the Lego RCX2.0 directly from a laptop's ir port.

Posted on 2006-10-23
3
670 Views
Last Modified: 2008-01-09
Hello.  I want to directly control a RCX2.0 from the ir port on a laptop running windows.  I know I can use the Spirit.ocx to do so by means of the tower, but I know it can be done without it since the palm can do it with the pbrick library.  I've extracted the code from there but I can't access the ir serial port when I call CreateFile, I suppose it's because windows is using it to scan for ir signals.  Must i first stop windows from using the ir port ? If so, how do I do that ?
0
Comment
Question by:jasg
3 Comments
 
LVL 5

Accepted Solution

by:
rwj04 earned 250 total points
ID: 17793775
you must close the serial port using the IR before you can use it for anything else.  

how to close it?   i don't know, im not familiar with Lego software.  how did you open it?   there should be a complimentary command to close the port if you could open it.

you could look into getting a USB/Serial adapter to give yourself a second serial port.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now