AllIn1DC VCP no longer loading

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Post Reply
tm-todd
Posts: 6
Joined: Mon Aug 09, 2021 10:42 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

AllIn1DC VCP no longer loading

Post by tm-todd »

Something happened and my VCP is no longer loading for our AllIn1DC. I get the following message. "Could not find a part of the path 'C:\WINDOWS\system32\resources\vcp\options.xml'" I did a search and found this https://centroidcncforum.com/viewtopic.php?f=60&t=8161, but it was for Acorn not AllIn1DC. Any ideas?
Attachments
report_0008DC111213-1005222813_2023-01-31_09-22-53.zip
(6.22 MiB) Downloaded 7 times
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: AllIn1DC VCP no longer loading

Post by cncsnw »

It looks like something is amiss with the Windows shortcut you are using to launch CNC12. It should be opening CNC12 (cncm.exe) in the c:\cncm directory, so that VirtualControlPanel.exe can then find its files below c:\cncm.

Somehow, on your system, when cncm.exe launches VirtualControlPanel.exe, the current directory is not c:\cncm, but is instead C:\WINDOWS\system32.
tm-todd
Posts: 6
Joined: Mon Aug 09, 2021 10:42 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: AllIn1DC VCP no longer loading

Post by tm-todd »

I don't see anything amiss in either the Windows shortcut or the start.bat file.
Attachments
IMG_20230131_150003.jpg
IMG_20230131_145608.jpg
cnckeith
Posts: 7166
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: AllIn1DC VCP no longer loading

Post by cnckeith »

make a copy of the cncm folder.
do a fresh install. does the vcp start?
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
tm-todd
Posts: 6
Joined: Mon Aug 09, 2021 10:42 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: No
CNC11: No
CPU10 or CPU7: No

Re: AllIn1DC VCP no longer loading

Post by tm-todd »

Thanks Keith. A fresh install was going to be my next step. First however, I did a diff between the current cncm directory and a backup from last week and I found that some settings in the options.xml file had changed including the transparency being set to 0%. I don't recall making those changes, I can't imagine who else would have done it, but I also can't imagine them changing on their own. So I don't know what happened. Resetting the values in options.xml brought back the VCP.
Screenshot from 2023-02-01 08-46-42.png
The file path thing was a bit of a red herring, however the warning dialog is still there in the background, but doesn't seem to be causing any issues.
path_warning.PNG
path_warning.PNG (2.79 KiB) Viewed 678 times
I think I'm going to disable the 'VCP Options' buttons so this doesn't repeat. I understand I can't move or delete the button, but I can "hide" it by modifying the svg file. What would be the best way to neuter the button functionality in the xml file? Change the skin event number to a value that is not used by the PLC?
cnckeith
Posts: 7166
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: AllIn1DC VCP no longer loading

Post by cnckeith »

things that might cause

- accidently renaming options.xml

- accidently moving options.xml

- accidently renaming a directory

- be sure to run the installer on c:\ do not change the installer path (c:\) when running the installer!

- please run windows update and make sure any .NET is up to date as the v4.22 VCP requires the latest .NET

fyi...the upcoming v5.0 installer will check the .NET version and install/update the required version if it is missing/old.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
Post Reply