Hello,
I hope someone can help us here. We have one week to go until the main Vex IQ tournament begins and we are experiencing trouble with ‘Programming The Device’ onto the robot. After working in the Drivetrain and Motor, we tried to program the device and a pop up like this appears:
We are not sure why this is appearing. We need help fast.
Thanks in Advance,
FWIW I think it’s a coding error. We had a similar issue when a kid accidentally deleted a variable named col2 and “fixed” that by adding in a variable named column2.
Aloha Team Zeus,
I was looking at the photo of your code. I noticed that you created an event called “Hold” and coded it to the motor. That is fine. The error message is blocking the rest of the code but I will try to make out the code to the best of my ability. Based on what I see, the second line of code looks like it could be “broadcast” or a “wait”. If it is a “wait” then that code looks fine. If it is a “broadcast” then this line of code is referencing another program. That being the case my question is “Do you have another program written somewhere that is referenced by your broadcast?”
When coding in Modkit I teach the kids that the components are the “sub code” to the main program. The “Brain” part of the coding is where they can call upon the sub-codes and arrange them in a usable form.
You could try to take out the second line of code and download.
If you could post screenshots of your code I could be of more help. Best of luck.
Aloha Team Zeus,
I went ahead and typed in your code into ModKit exactly the way that you have it in your screen shots including the unattached code, File Name and even the Print line. I then pushed the “Project” button where the file name is typed in and hit Save. The code saved perfectly.
I then plugged in a brain and selected port 4 and pressed the down arrow (download) and the code downloaded just fine.
So based on the code that you sent it seems that it works just fine. However, there was not a screenshot provided for motor 2. If this motor 2 has some code associated with it then that could be a problem. If the motor 2 has no code then you may want to try the following solutions: