wishlist for BricxCC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

ps:
if I have opened "ChessMaster.nxc" I must be sure that this BCC instance with this program is controlling NXT 000,
if another BCC instance runs "ChessSlave1.nxc" I must be sure that this BCC instance is controlling NXT 001,
if the 3rd BCC instance runs "ChessSlave2.nxc" I must be sure that this BCC instance is controlling NXT 002,
a.s.o.
If a certain BCC instance is incidentally conncted to the wrong brick, I must be able to reconnect it to the correct brick (by a selection menu).
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: wishlist for BricxCC

Post by mattallen37 »

Well, you go through the menu on the NXT and you find the MAC address. You then find the matching listing in nxt.dat, and you name it whatever you want.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: wishlist for BricxCC

Post by mattallen37 »

If you connect to the wrong NXT, disconnect (Close communication) and then connect to the right one (Find brick).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

ok,I found the MAC address. I can adjust the aliases.
But if I have 3 BCC instances running and 3 (or even 4) NXTs are connected to 3 (4) different USB ports, how will BCC instance 2 know how to connect to NXT 000 and how can BCC instance 3 connect to 001 ?
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: wishlist for BricxCC

Post by mattallen37 »

When you connect to the brick, don't select "usb", instead, select one of your aliases (the one for the NXT you want to connect to).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

aaah - now it's clear, thank you!
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: wishlist for BricxCC

Post by afanofosc »

I will see if the value that I write to the status bar helps make clear which NXT the IDE is connected to.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

e.g, my NXT 001 has ID 0016530EEBDF
i find in nxt.dat
alias1=USB0::0X0694::0X0002::0016530EEBDF::RAW
I changed alias1 into NXT001
NXT001=USB0::0X0694::0X0002::0016530EEBDF::RAW
but now BCC don't find it any more
:shock:
choosing "usb" instead everything's still fine.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: wishlist for BricxCC

Post by mattallen37 »

Did you save nxt.dat, and then restart BCC? You could try restarting the NXT as well.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for BricxCC

Post by HaWe »

yes, of course:
close BCC
open nxt.dat, edit, svae, close
start BCC
choose "NXT001" => no connection
find brick
choose "usb"
(all fine)

I didn't restart the NXT, but why should I? the ID has not been changed!
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests