Legacy ACP10, error when I try to open Acp10cfg.ncc file

Hi all,
I was stuck couple of days on one issue and fortunately a smart idea from @GeneShiau has fixed that so it’s time to share the solution with the hope you don’t waste your time if you jump on similar case.

From an empty prj with AS 6.5.3.11 I just added X20CPU and ACOPOS P3, no mapp Motion, no tasks:

Runtimes:

With mapping table no issue, I could open that:

but when I tried to do the same with Acp10cfg.ncc I got the error “Failed to create empty document”:

I didn’t see any issue when I opened the file with my editor:

During the investigation I saw same issue when I tried to open axis watch window:

I cleaned configuration, closed AS, deleted diagnostic/temp/binaries folder, restarted my pc…nothing

I deleted Motion and Motion6x folder as recommended by Lukas in similar case, but nothing: Fix ACP10 Motion problems in Automation Studio (empty NC test window, NC init parameter file empty, ...)

After that I didn’t see the popup error message, but a Warning in the Output Results:

I asked my colleague @GeneShiau to open my prj on his pc and no issue! I was almost ready to reinstall AS but then Gene asked me “Have you tried to execute regobj.bat?”…that has fixed my problem!

I did a search for regobj.bat in Automation Studio Help and I found a relation with these 4 errors (All under the Section “Motion Builder”):

Regarding my warning 9330, in this case is in the section “AS build > Analyse Project”:

a) I did: I deleted my Acp10cfg.ncc and added new one → same issue
c) When I deleted my Acp10cfg.ncc I opened with file explored the folder Motion to be sure the file Acp10cfg.ncc was not there and it wasn’t

Thanks
Ciao
Valerio

I don’t know whether it’s good or bad that this is still a solution for issues.

1 Like

mamma mia Matt!

You know what happens when you report this kind of issue to our Support, you have the default answer:
“When the issue arises and you copy the prj to another pc - does the issue then also arise? If yes then collect all data and create a CASE, If no then it is somehow related to your PC”

you know when the answer is “no”, in polite way the message is: “good luck, you have to figure out where is the cause of the issue by yourself”.
In most of the time after few hours of investigation you uninstall and reinstall AS or in very special cases you make an image of your pc and send that to Support, again in special cases.

Ciao
Valerio