writing to a file.

General discussion about topics related to OpenMV.
Posts: 62
Joined: Tue Aug 22, 2017 1:33 am

writing to a file.

Postby pcls1026 » Mon Aug 28, 2017 8:09 pm

Thanks for the previous help.

I need new help.

I am running OpenMV IDE on a Windows OS PC.
I want to open a new FILE on the PC disk and write to the FILE using a PYTHON script file in the IDE.

I have used the "open--f.write --f.close" method outlined in the PYTHON TUTORIAL.
The script runs with no errors, but I cannot find the file on the PC's disk.

User avatar
Posts: 2275
Joined: Sun May 24, 2015 2:10 pm

Re: writing to a file.

Postby kwagyeman » Mon Aug 28, 2017 10:10 pm

Hi, you have to reset the OpenMV cam to see any files it writes. Windows doesn't expect a USB flash drive to create files on its own. So, but doing tools/reset OpenMV cam the os will rescan the USB drive to see the file.

Unfortunately, we can't fix this ourselves because it's part of the way most operating systems work.

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 1 guest