Multiple HiTech sensors Help Error 5024

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
raizor96
Posts: 2
Joined: 08 Nov 2011, 12:46

Multiple HiTech sensors Help Error 5024

Post by raizor96 »

Hi

We are a couple students doing a project about launching a rocket, and doing data logging with the nxt. But we can´t add more than one HiTechnic sensor to the mindstorms software, it keep saying that a data wire is connected to a plug of the wrong type, even though that all data wires are removed. i have tried to run each sensor seperately, and it worked, but when i put the software together i get the error:

There is a data wire that is connected to a plug of the wrong type.
Error code: 5024

Anyone have any suggestions as to what to do about it?
hassenplug
Posts: 346
Joined: 27 Sep 2010, 03:05
Contact:

Re: Multiple HiTech sensors Help Error 5024

Post by hassenplug »

raizor96 wrote:Hi
There is a data wire that is connected to a plug of the wrong type.
Error code: 5024
There's an add-on to remove bad wires on this page: http://www.teamhassenplug.org/NXT/NXTGAdditions.html

That should make your error go away. However, it seems some connection somewhere is causing a problem, so while your program will compile, it may not work as you would expect. Make sure you're connecting the right type of data to the right place, and also that you're connecting outputs to inputs.

Steve
---> Link to lots of MINDSTORMS stuff under my picture --->
h-g-t
Posts: 552
Joined: 07 Jan 2011, 08:59
Location: Albania

Re: Multiple HiTech sensors Help Error 5024

Post by h-g-t »

Easier to diagnose if you provide a zipped copy of your program files - preferably 'pack and go'.
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
raizor96
Posts: 2
Joined: 08 Nov 2011, 12:46

Re: Multiple HiTech sensors Help Error 5024

Post by raizor96 »

Steve, there isn´t actually any data wires, it just say that in the error when i put two sensor blocks in the same program.
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: Multiple HiTech sensors Help Error 5024

Post by mightor »

Without the actual program we're just taking stabs in the dark here. As suggested before, use the Pack-and-Go feature to create a rbtx file that we can all take a look at.

More information == better help.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 11 guests