Camera plugin crosshairs?

This is where you talk about Plugins. How they are made and how they work, show examples.

Re: Camera plugin crosshairs?

Postby Mallemann » Tue Apr 03, 2018 2:45 pm

I am using 1.2047.
If I load the example VB Plugin Code (from plugins/example) in VS 2010, it has .NET2.0 as the target framework by default. is this correct or should I change to 4.0?
Mallemann
 
Posts: 11
Joined: Sat Mar 24, 2018 8:50 pm

Re: Camera plugin crosshairs?

Postby cncdrive » Tue Apr 03, 2018 3:07 pm

You have to target .NET 2.0 if using UCCNC version 1.2047, because that version still targets the .NET framework 2.0, so building the plugin with .NET 4.0 will not work.
When you running UCCNC version 1.2102 or later those versions targeting the .NET 4.0, because there was an upgrade in 1.2102 to target the newer .NET 4.0, so for those new UCCNC versions you can still run the .NET 2.0 built plugins, but you can't use those new UCCNC installations to develop .NET 2.0 targeted plugins, you can only compile the plugins with targeting them to .NET 4.0, because the plugin interface dll is now .NET 4.0 targeted.

I suspect you getting that error because of a badly referenced library which your plugin can't load.
Please note that the Application.Startuppath is different when you compiling the plugin if the plugin is in the UCCNC/Plugins folder than if you running the UCCNC to test the plugin, then the Application.StartupPath is the folder where the UCCNC.exe file is. So, however I did not see your sourcecode, but this might be the problem depending on how you import executable dlls...
cncdrive
Site Admin
 
Posts: 3480
Joined: Tue Aug 12, 2014 11:17 pm

Re: Camera plugin crosshairs?

Postby Mallemann » Tue Apr 03, 2018 7:26 pm

I did buy UCCNC license some weeks ago and I thought 1.2047 was the latest released version.
Is there a new one? On your homepage, there is 1.2047 for download...
Mallemann
 
Posts: 11
Joined: Sat Mar 24, 2018 8:50 pm

Re: Camera plugin crosshairs?

Postby Robertspark » Tue Apr 03, 2018 8:07 pm

1.2047 is the current official stable release.

There is the development versions which are test versions and accepted may have bugs, however they offer the current available functions and developments too.

They are available here
viewtopic.php?f=2&t=240

1.2104 being the current release
Robertspark
 
Posts: 1771
Joined: Sat Sep 03, 2016 4:27 pm

Re: Camera plugin crosshairs?

Postby Mallemann » Wed Dec 25, 2019 2:12 pm

New Camera Plugin for UCCNC 1.2111 with Crosshair Overlay and Offset Configurator

Camera Plugin for UCCNC.pdf
Instructions
(196.48 KiB) Downloaded 331 times
Attachments
MyCameraUCCNC2111.zip
dlls
(144.53 KiB) Downloaded 271 times
Mallemann
 
Posts: 11
Joined: Sat Mar 24, 2018 8:50 pm

Re: Camera plugin crosshairs?

Postby belewis01 » Tue Apr 07, 2020 6:25 am

Mallemann wrote:New Camera Plugin for UCCNC 1.2111 with Crosshair Overlay and Offset Configurator

Camera Plugin for UCCNC.pdf


Loaded this plugin today, but it does not see my USB camera - it defaults to the built in webcam on my laptop and doesn't show any other options. Tried to open the config module, but it only shows a blank window. Looks like a really nice app, hope I can get it to work.

Webcamera.dll plugin works BTW.

Bruce
belewis01
 
Posts: 1
Joined: Mon Apr 06, 2020 11:57 pm

Re: Camera plugin crosshairs?

Postby silverdog » Mon Jun 22, 2020 1:09 pm

Would it be possible to use an IP camera instead of a USB camera?
silverdog
 
Posts: 6
Joined: Thu Jan 19, 2017 10:10 pm

Previous

Return to Plugins

Who is online

Users browsing this forum: No registered users and 4 guests