Hello Guest it is December 06, 2019, 10:29:38 PM

Author Topic: Mach3 Camera Plugin V3  (Read 17185 times)

0 Members and 1 Guest are viewing this topic.

Mach3 Camera Plugin V3
« on: September 01, 2014, 06:08:35 AM »
Hi,

in the past, some users had problems connecting their cameras with my camera plugin. I've rewritten a new version using CV API. Since the new plugin GUI looks very similar to the previous plugin its named Camera Plugin V3. This version is a Beta version. It installs an installation log-file "c:\\CameraPlugin_KD.log" for trouble shooting purposes.


Klaus
The brain isn't a soap, it doesn't shrink when used.

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Re: Mach3 Camera Plugin V3
« Reply #1 on: September 05, 2014, 03:02:54 PM »
Hi Klaus,
 I had 2 problems when installing.
1st. Plugin was installed in the Mach3 plugins folder inside of another plugin folder.
2nd. I have my menu bar set to not show(setting in the General Config window) and use buttons on screen to show/hide menu. Being set like this was not allowing the Video plugin to show.

Other than those issues the plugin is working nicely with low CPU usage, maybe another 5-7% more CPU usage.

Thanks again,
Troy
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com

Offline Chaoticone

*
  • *
  •  5,633 5,633
  • Precision Chaos
    • View Profile
Re: Mach3 Camera Plugin V3
« Reply #2 on: September 05, 2014, 06:38:51 PM »
Thanks Klaus!

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Mach3 Camera Plugin V3
« Reply #3 on: September 06, 2014, 07:08:24 AM »
Hi Troy,

thank you for your feedback. About your issues:

1) What was the default path of the installer package showing, did you change the installation path of the installer package?
2) What OS are you using? I'm testing with Win7. It seems to work with my system. Is the "Macro control On" button checked?
   I tested with the following scripts:
   Using 1 button
        led = GetUserLED(1104)
        If  led = 1 Then
        SetUserLED(1102,0)
        SetUserLED(1103,1)
        SetUserLED(1104,0)
        Else
        SetUserLED(1102,1)
        SetUserLED(1103,0)
        SetUserLED(1104,1)
        End If


     Using 2 Buttons
        On
         SetUserLED(1102,1)
         SetUserLED(1103,0

       Off
         SetUserLED(1102,0)
         SetUserLED(1103,1



All examples use the default led numbers 1102, 1103, 1104


Klaus
          
The brain isn't a soap, it doesn't shrink when used.

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Re: Mach3 Camera Plugin V3
« Reply #4 on: September 06, 2014, 07:40:53 AM »
Hi Klaus,

1) Iam using the default path. Did not change any path.

2)Using Windows XP Pro. Did not create a button and try it that way. And the "Macro control On" is not checked.Will use your codes below and get back with you.

Thanks again,
Troy
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Re: Mach3 Camera Plugin V3
« Reply #5 on: September 07, 2014, 09:22:01 AM »
Hi Klaus,
 Scripts worked great even with System Menu set to off. :)

On another note. Can the option to rotate image be added?

Thanks again,
Troy
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com
Re: Mach3 Camera Plugin V3
« Reply #6 on: September 08, 2014, 11:34:43 AM »
Hi Troy,

for the moment I'm not planning to add a image rotation feature, this would take quite a bit of CPU resources. Some cameras are shipped with dedicated drivers and software where mirroring and flipping of the image can be set.

Klaus
The brain isn't a soap, it doesn't shrink when used.

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Re: Mach3 Camera Plugin V3
« Reply #7 on: September 09, 2014, 07:06:20 AM »
Hi Klaus,
 I forgot all about that. Ill give it a go.
Thanks again ,
Troy
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com
Re: Mach3 Camera Plugin V3
« Reply #8 on: October 23, 2015, 11:18:43 AM »
Hi Klaus

I am having some problems installing the plugin.  I followed the installation instructions, but when I start Mach3 I get the message "Plugin DLL defective  reload"  then "webcam plugin defective  ignoreing" after which the installation of Mach3 completes.  The Plugin is not installed.  In the Mach3 Plugin folder is webcamplugin.dll with what I guess is the version number of 3.0.0.0 but does not appear on the list when I press "config plugins" in Mach3.

I would be grateful if you could let me know what I should do next?

Thanks

David
Re: Mach3 Camera Plugin V3
« Reply #9 on: October 23, 2015, 12:28:54 PM »
Hi David,

please deinstall the plugin. Download the actual version v3.02 and install it. If that doesn't help, please let me know.

Regards
Klaus
The brain isn't a soap, it doesn't shrink when used.