Solved

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

Posted on 2006-10-23
3
667 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mapShare challenge 13 69
Device same like our heart 12 48
I need an assist with a programming logic math question. 5 30
Java Loop 4 20
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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 …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 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

19 Experts available now in Live!

Get 1:1 Help Now