cant save script to cam

Discussion related to "under the hood" OpenMV topics.
varun
Posts: 4
Joined: Fri Jun 29, 2018 1:57 pm

cant save script to cam

Postby varun » Fri Jun 29, 2018 3:34 pm

Hi,
i am not able to select the option Save open script to open mv cam.i want to load the code the camera .
User avatar
kwagyeman
Posts: 2191
Joined: Sun May 24, 2015 2:10 pm

Re: cant save script to cam

Postby kwagyeman » Fri Jun 29, 2018 4:17 pm

Hi, please connect to the camera first. Then the option will be ungrayed out.
Nyamekye,
varun
Posts: 4
Joined: Fri Jun 29, 2018 1:57 pm

Re: cant save script to cam

Postby varun » Mon Jul 02, 2018 2:24 am

i have connected it to camera.I have a code of tracking .py which i opened with Opemv IDE i want to load the code on camera but i cant select option save the script to camera.
Is it because i didn't run the openMV ide as a administrator?
User avatar
kwagyeman
Posts: 2191
Joined: Sun May 24, 2015 2:10 pm

Re: cant save script to cam

Postby kwagyeman » Mon Jul 02, 2018 3:10 am

Ah, okay, so, then this will still be grayed out if OpenMV IDE can't find the flash drive on your system that corresponds to the OpenMV Cam. Please click the drive label in the lower right hand corner of the IDE and see what that says.
Nyamekye,
varun
Posts: 4
Joined: Fri Jun 29, 2018 1:57 pm

Re: cant save script to cam

Postby varun » Mon Jul 02, 2018 5:00 am

It says 'No valid drive were found to associate with your open MV cam'.SO what to do now??

Varun
User avatar
kwagyeman
Posts: 2191
Joined: Sun May 24, 2015 2:10 pm

Re: cant save script to cam

Postby kwagyeman » Mon Jul 02, 2018 2:49 pm

Um, so, can you find the uPy flash drive for the OpenMV Cam on your PC. OpenMV IDE sometimes is unable to find the drive. In particular, I might not have code to automatically find it on Linux in all situations.

Um, if you can find the drive on your PC then just do Save As with your script on the flash drive as a main.py file. That's all the IDE is doing. It is just doing a Save As call for you.

The board's internal flash should appear as a USB flash drive attached to your PC.
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 7 guests