Page 1 of 2
Unable to open nc files (Resolved)
Posted: Sun Jan 31, 2021 11:55 pm
by FKreider
Hello everyone,
Please forgive me if this has been discussed in the past- I used the search function but did not see any relevant results.
I am programming in Fusion 360 and used the standard CENTROID fusion post processor.
When I try to open the file from my flash drive through CNC12 I get the following error:
(This is happening on a machine running an Acorn board that is not connected to the internet and I followed every step in the acron PC setup guide.)
Re: Unable to open nc files
Posted: Mon Feb 01, 2021 10:09 am
by martyscncgarage
FKreider wrote: ↑Sun Jan 31, 2021 11:55 pm
Hello everyone,
Please forgive me if this has been discussed in the past- I used the search function but did not see any relevant results.
I am programming in Fusion 360 and used the standard CENTROID fusion post processor.
When I try to open the file from my flash drive through CNC12 I get the following error:
errorpic.jpg
(This is happening on a machine running an Acorn board that is not connected to the internet and I followed every step in the acron PC setup guide.)
Post the G code file in its exact format here.
It must be a text file.
It should be a .nc or .cnc file
Can you open it with a text editor like Notepad++?
Marty
Re: Unable to open nc files
Posted: Mon Feb 01, 2021 10:17 am
by swissi
FKreider wrote: ↑Sun Jan 31, 2021 11:55 pm
Hello everyone,
Please forgive me if this has been discussed in the past- I used the search function but did not see any relevant results.
I am programming in Fusion 360 and used the standard CENTROID fusion post processor.
When I try to open the file from my flash drive through CNC12 I get the following error:
errorpic.jpg
(This is happening on a machine running an Acorn board that is not connected to the internet and I followed every step in the acron PC setup guide.)
Looks like your flash drive is formatted with NTFS and has permissions set that don't allow your CNC-PC to access them.
Just open a regular Windows File-Explorer on your CNC12 PC and try to copy the file from the flash drive to the c:\cncm\ncfiles folder on your CNC12 PC.
If this is giving you also a permission error, this has nothing to do with CNC12. You have a permission problem on your Flash drive that you need to solve.
-swissi
Re: Unable to open nc files
Posted: Mon Feb 01, 2021 10:28 am
by FKreider
I just attempted to open the file on a 3rd computer as a sanity check and that computer wouldn't even recognize the USB drive. I will try a different flash drive and report back.
Re: Unable to open nc files
Posted: Mon Feb 01, 2021 10:41 am
by martyscncgarage
Reformat the flash drive on the Win10 PC
Re: Unable to open nc files
Posted: Mon Feb 01, 2021 1:39 pm
by Nigelo
Generally, it's not good practice to routinely open any file direct from a flash drive. Open the flash drive with Windows explorer and copy the file to your CNC-PC (e.g. Desktop) and then open it from there.
Just my 2 cents
Re: Unable to open nc files
Posted: Tue Feb 02, 2021 10:53 am
by martyscncgarage
FKreider wrote: ↑Mon Feb 01, 2021 10:28 am
I just attempted to open the file on a 3rd computer as a sanity check and that computer wouldn't even recognize the USB drive. I will try a different flash drive and report back.
Please let us know if you resolved your issue and if so, what you did.
Marty
Re: Unable to open nc files
Posted: Tue Feb 02, 2021 12:25 pm
by tblough
Nigelo wrote: ↑Mon Feb 01, 2021 1:39 pm
Generally, it's not good practice to routinely open any file direct from a flash drive. Open the flash drive with Windows explorer and copy the file to your CNC-PC (e.g. Desktop) and then open it from there.
Just my 2 cents
Parameter 4 controls whether the files are automatically copied to the hard drive, and you can adjust this to fit your preference so you don't have to manually copy files. This was originally implemented to copy files from floppies to the faster SSD. Now, flash drives are sufficiently fast and since you are only reading from the flash, there is no downside to running files directly from thumb drives and automatic copy can be left off to prevent clutter of your cnc directory.
Re: Unable to open nc files
Posted: Wed Feb 03, 2021 8:01 am
by Nigelo
Good point about para 4, Tom, I hadn't considered that.
I should have expanded my point to say that opening a file direct from a thumb drive is just one step away from a User editing and saving back to thumb drive but forgetting to "eject" the thumb drive where cached write is still enabled = File corruption waiting to happen. Of course, the latter could still happen when a modified file is copied back to the thumb drive in its entirety but risks are reduced.
Re: Unable to open nc files
Posted: Wed Feb 03, 2021 7:11 pm
by martyscncgarage
Nigelo wrote: ↑Wed Feb 03, 2021 8:01 am
Good point about para 4, Tom, I hadn't considered that.
I should have expanded my point to say that opening a file direct from a thumb drive is just one step away from a User editing and saving back to thumb drive but forgetting to "eject" the thumb drive where cached write is still enabled = File corruption waiting to happen. Of course, the latter could still happen when a modified file is copied back to the thumb drive in its entirety but risks are reduced.
I never have had an issue. When you point CNC12 to the file on a USB drive, it immediately copies the file the C:\CNCM(T)|NCFILES directory.