Page 1 of 1

Multiple HiTech sensors Help Error 5024

Posted: 08 Nov 2011, 13:00
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?

Re: Multiple HiTech sensors Help Error 5024

Posted: 08 Nov 2011, 13:53
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

Re: Multiple HiTech sensors Help Error 5024

Posted: 08 Nov 2011, 14:14
by h-g-t
Easier to diagnose if you provide a zipped copy of your program files - preferably 'pack and go'.

Re: Multiple HiTech sensors Help Error 5024

Posted: 15 Nov 2011, 12:59
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.

Re: Multiple HiTech sensors Help Error 5024

Posted: 15 Nov 2011, 13:26
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