Machsupport Forum
Mach Discussion => Mach SDK plugin questions and answers. => Finished Plugins for Download => Topic started by: Klaus1311 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
-
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
-
Thanks Klaus!
Brett
-
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
-
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
-
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
-
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
-
Hi Klaus,
I forgot all about that. Ill give it a go.
Thanks again ,
Troy
-
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
-
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
-
Hi Klaus
I have deinstalled the plugin and downloaded and reinstalled V3.02 again. It produced the same result of "Plugin dll defective".
It may not be relevant, but I noticed that about halfway through the installation, I always get asked to repair Microsoft Visual C++2010 x86. I followed the instructions to repair this, including a reboot, and I got the message that it had been successfully repaired. However, when starting Mach3, I get the dll defective messages again.
Regards
David
-
Hi David,
What main processor type are you using, is it perhaps an AMD? Please install the attached PluginTest, run it and use menu Test -> Analyze. This will put some files on your C - drive. If you send me these files I will have a look at it.
Regards
Klaus
-
Thanks for the quick reply.
I installed your Plugin Test and ran Test -> Analyze. I got a message box headed "Plugin Test Error" with the message "Plugin not installed or not at least started once". Hit OK, and got a table describing various features of my installation. I got 7 files on the C drive, which are attached.
The CPU is an AMD Athlon(tm) XP 2600+
Thanks
Regards
-
Hi David,
I think I have bad news. Plugin version3 is completly rewritten. With that version I'm using the OpenCV library. This library obviously has problems with AMD Athlon processors. For the moment I don't have a solution for this problem. Depending on the feature you need, you could use version2 where I'm using a different library. You'll find it attached to this post.
Regards
Klaus
-
Hi Klaus
I tried V2 and it works correctly on the AMD machine. I installed V3 on another machine with an Intel processor and V3 worked correctly, so it seems that the AMD Athlon is the culprit.
Thank you very much for your help.
Regards
David