I am trying to write a master program to control my NXT robot from my pc. I thought that I could write it in Brixcc and run it in the ide. The code does not work properly and was wondering if this is even possible. I am using bluetooth to connect from the pc to the NXT robot. I copied code straight from one of the tutorials and I also played around with some other code but still no results. Any ideas will be well received.
no NXC program, correct, NXC is only for the NXT virtual machine. But you may use C# or C++ or VB or Java (or Python IIRC) for your PC remote control program .
You can write a program that runs in BricxCC and sends messages to the NXT. It requires the not very well documented and very little used RemoteObjects Pascal Script support (ROPS) that is built into BricxCC. With ROPS files you can set breakpoints, watch values, single step, pause/run, etc... You have full access to the BrickComm object that BricxCC uses to communicate with the NXT so you can do just about anything you can do in BricxCC with this feature.
There is a brief description of this feature here:
Please do not hesitate to ask questions or report problems that you encounter while trying to control your NXT or RCX using BricxCC's ROPS support. I will try to help sort out or fix whatever you run into. If you write some cool ROPS programs it might be nice if you can post them to help the community learn more about this little used BricxCC feature.
Sadly, I am heading out the door very shortly to drive up to Ohio and then fly out to Boise, Idaho with my mom to attend the funeral of her brother who died yesterday morning. So I will be out of pocket until Wednesday when I get back to Nashville. If you have any trouble between now and then a resolution may have to wait until then. I will have a chance to check in for a bit on Saturday but not for long.