Page 13 of 19

Re: wishlist for BricxCC

Posted: 21 Feb 2012, 20:32
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).

Re: wishlist for BricxCC

Posted: 21 Feb 2012, 20:34
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.

Re: wishlist for BricxCC

Posted: 21 Feb 2012, 20:37
by mattallen37
If you connect to the wrong NXT, disconnect (Close communication) and then connect to the right one (Find brick).

Re: wishlist for BricxCC

Posted: 21 Feb 2012, 21:09
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 ?

Re: wishlist for BricxCC

Posted: 21 Feb 2012, 23:14
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).

Re: wishlist for BricxCC

Posted: 22 Feb 2012, 07:55
by HaWe
aaah - now it's clear, thank you!

Re: wishlist for BricxCC

Posted: 22 Feb 2012, 16:12
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

Re: wishlist for BricxCC

Posted: 22 Feb 2012, 20:25
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.

Re: wishlist for BricxCC

Posted: 22 Feb 2012, 20:29
by mattallen37
Did you save nxt.dat, and then restart BCC? You could try restarting the NXT as well.

Re: wishlist for BricxCC

Posted: 22 Feb 2012, 20:55
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!