NXC: RemoteStopProgram doesn't compile

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
rebelego
Posts: 6
Joined: 04 Oct 2010, 15:18
Location: Norway

NXC: RemoteStopProgram doesn't compile

Post by rebelego »

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.
mcsummation
Posts: 220
Joined: 23 Jan 2012, 17:07
Location: Round Rock, TX

Re: NXC: RemoteStopProgram doesn't compile

Post by mcsummation »

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
rebelego
Posts: 6
Joined: 04 Oct 2010, 15:18
Location: Norway

Re: NXC: RemoteStopProgram doesn't compile

Post by rebelego »

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.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: RemoteStopProgram doesn't compile

Post by HaWe »

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 HaWe on 18 Dec 2012, 19:01, edited 1 time in total.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: NXC: RemoteStopProgram doesn't compile

Post by mattallen37 »

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 ;)
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: NXC: RemoteStopProgram doesn't compile

Post by mattallen37 »

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 ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: NXC: RemoteStopProgram doesn't compile

Post by HaWe »

In regard to matt's post, I must disagree. It was sort of general quick guide.
Image
rebelego
Posts: 6
Joined: 04 Oct 2010, 15:18
Location: Norway

Re: NXC: RemoteStopProgram doesn't compile

Post by rebelego »

Installing the test release solved it. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests