Download error

Brain connected, but program won’t download
when I press the download button, it’s show this box:
Your program failed to download. Please power cycle your Brain and try again.

I change a computer download this program, it works corrected.

why the firs pc can’t work?

The error basically asked to turn on and off your robot brain, to reset any issue it was having. When you switched computers, the same result happened - the problem resolved itself.

Try using the first computer again.

when I use the first computer, I power cycle my Brain and try again and again, it still not work.

use the vcs1.0 at my first computer, it’s can work corrected, but use the vcs recently, it not work again,repeat the old error

Please stop using VCS, upgrade to VEXcode.

4 Likes

Use the VEXCode, it can’t work! download failure

Ok, you said you were using VCS. Submit feedback so vex gets all the system details.

1 Like

Use the VEXCode 1.0, it work correct, but use the latest VEXCode(2.0.7), it’s not work

I found my school’s internet would block the ability to download projects on one of the newer versions of VEXcode. Try not being connected to the internet while you download the project.

1 Like

This is the code that I have but is returns an error:

NameError: nam not defined
Traceback (most recent call last):
File “userpy”, line 33, in

CODE:

whenstarted()

def whenstarted():
claw.set_timeout(2,SECONDS)
wait(0.2,SECONDS)
brain.screen.clear_screen()
brain.screen.set_cursor(1,1)
brain.screen.print(“claw timeout calibrated”)
arm.set_timeout(3,SECONDS)
wait(0.2,SECONDS)
brain.screen.set_cursor(2,1)
brain.screen.print(“arm timeout calibrated”)
claw.set_position(0,DEGREES)
wait(0.2,SECONDS)
brain.screen.set_cursor(3,1)
brain.screen.print(“claw position set”)
arm.set_position(0,DEGREES)
drivetrain.set_heading(0,DEGREES)
brain.screen.set_cursor(4,1)
brain.screen.print(“drivetrain set and calibrated”)
#------------------Prgm Start--------------------#
wait(1,SECONDS)
brain.screen.clear_screen()
brain.screen.set_cursor(1,1)
brain.screen.print(“Program Start…”)
wait(0.2,SECONDS)
claw.spin_to_position(220,DEGREES)
arm.set_stopping(HOLD)
arm.spin_to_position(350,DEGREES)
drivetrain.turn_to_heading(90,DEGREES)
drivetrain.drive_for(36,INCHES)
wait(0.25,SECONDS)
claw.set_stopping(HOLD)
claw.spin_to_position(60,DEGREES)
drivetrain.drive_for(-6,INCHES)
wait(0.2,SECONDS)
drivetrain.turn_to_heading(0,DEGREES)
drivetrain.drive_for(54,INCHES)
wait(0.2,SECONDS)
drivetrain.turn_to_heading(45,DEGREES)
drivetrain.drive_for(84,INCHES)
wait(0.2,SECONDS)
drivetrain.turn_to_heading(90,DEGREES)
drivetrain.drive_for(12,INCHES)
wait(0.2,SECONDS)
claw.spin_to_position(220,DEGREES)
wait(0.2,SECONDS)
claw.spin_to_position(0,DEGREES)

Hi, in future, please make a new topic, unless you have something to do with Lotus.

That error is saying you have a problem with line 33 of your code. It says name isn’t defined - you have probably misspelt something on line 33. :+1:

1 Like

Ok, thanks for the heads-up and the information.