I was able build and run the CentroidAPI_CSharp_PowerFeed example with no problems.
I copied the pipeline class into my project and made sure all the references were installed and copied the code from his form to mine however when I attempt to run it bombs on CNCPipeManager = new PipeManager(); with the following error:
System.BadImageFormatException
HResult=0x8007000B
Message=Could not load file or assembly 'CentroidAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I have a new install of CNC12 and I've removed and re-added the references and still the same issue.
Any help will be greatly appreciated
CentroidAPI problem <resolved>
Moderator: cnckeith
-
- Posts: 33
- Joined: Fri Nov 22, 2024 4:25 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: B4107B77A373-0905248481
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
CentroidAPI problem <resolved>
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 33
- Joined: Fri Nov 22, 2024 4:25 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: B4107B77A373-0905248481
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: CentroidAPI problem
You can disregard this. The fix was changing the build from Any CPU to x64.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)