?
Solved

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

Posted on 2006-10-23
3
Medium Priority
?
695 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
rwj04 earned 1000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Six Sigma Control Plans
Starting up a Project

764 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