1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

NXC: RemoteStopProgram doesn't compile

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.

NXC: RemoteStopProgram doesn't compile

Postby rebelego » 17 Dec 2012, 15:36

I try to use RemoteStopProgram(CONN_BT1) but it doesn't compile.
I only get "Error: Unknown or invalid statement".
RemoteStartProgram(CONN_BT1, "filename.rxe") works fine.
I use BrixCC v3.3.
rebelego
 
Posts: 6
Joined: 04 Oct 2010, 15:18
Location: Norway

Re: NXC: RemoteStopProgram doesn't compile

Postby mcsummation » 18 Dec 2012, 03:20

The following worked for me:
Code: Select all
task main()
{
RemoteStartProgram(CONN_BT1, "filename.rxe");
RemoteStopProgram(CONN_BT1);
}

I am using BricxCC 3.3.8.10
McSummation aka James
http://www.mcsummation.com/Mindstorms/
mcsummation
 
Posts: 220
Joined: 23 Jan 2012, 17:07
Location: Round Rock, TX

Re: NXC: RemoteStopProgram doesn't compile

Postby rebelego » 18 Dec 2012, 14:13

Weird. Doesn't work.
I have build 3.3.8.9 which seems to be the latest here:
http://sourceforge.net/projects/bricxcc/files/bricxcc/

nbc v1.2.1.r4.
rebelego
 
Posts: 6
Joined: 04 Oct 2010, 15:18
Location: Norway

Re: NXC: RemoteStopProgram doesn't compile

Postby doc-helmut » 18 Dec 2012, 19:00

http://www.mindstormsforum.de/viewtopic.php?f=25&t=3311

(1) Uninstall all old BCC versions

(2) install latest Bricxcc:
https://sourceforge.net/projects/bricxcc/files/bricxcc/

(3) Install BricxCC Bugfix Update:
http://bricxcc.sourceforge.net/test_releases/ (extract + copy into BCC folder),
upload the fw contained on to your NXT
Last edited by doc-helmut on 18 Dec 2012, 19:01, edited 1 time in total.
regards,
HaWe
±≠≈αγδεωΔΦΣ∫√∅∞
NXC CHESS for NXT: http://www.mindstormsforum.de/viewtopic.php?f=70&t=6790
indispensable for NXC + EV3-C: easy + trouble-free network & sensor+motor remote control for rs485, BT, USB!
User avatar
doc-helmut
 
Posts: 2427
Joined: 29 Sep 2010, 14:25

Re: NXC: RemoteStopProgram doesn't compile

Postby mattallen37 » 18 Dec 2012, 19:01

Download the latest test release (as of writing this, it's 20121101, and can be downloaded from here) and install it over the current installation. That will update BCC to the latest available version. I also suggest you update your NXT's FW to the FW that's included in the test release.
Matt
http://mattallen37.wordpress.com/

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

Re: NXC: RemoteStopProgram doesn't compile

Postby mattallen37 » 18 Dec 2012, 19:11

In regard to Helmut's post, I must disagree. You already have the latest official release of BCC installed, so it's just a matter of installing the test release over it.
Matt
http://mattallen37.wordpress.com/

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

Re: NXC: RemoteStopProgram doesn't compile

Postby doc-helmut » 18 Dec 2012, 21:45

In regard to matt's post, I must disagree. It was sort of general quick guide.
Image
regards,
HaWe
±≠≈αγδεωΔΦΣ∫√∅∞
NXC CHESS for NXT: http://www.mindstormsforum.de/viewtopic.php?f=70&t=6790
indispensable for NXC + EV3-C: easy + trouble-free network & sensor+motor remote control for rs485, BT, USB!
User avatar
doc-helmut
 
Posts: 2427
Joined: 29 Sep 2010, 14:25

Re: NXC: RemoteStopProgram doesn't compile

Postby rebelego » 19 Dec 2012, 09:34

Installing the test release solved it. Thanks.
rebelego
 
Posts: 6
Joined: 04 Oct 2010, 15:18
Location: Norway


Return to Mindstorms Software

Who is online

Users browsing this forum: No registered users and 1 guest