Machsupport Forum

Mach Discussion => Video P*r*o*b*i*n*g => Topic started by: excusme2004 on April 14, 2013, 12:34:27 PM

Title: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on April 14, 2013, 12:34:27 PM

Plugin Control >Video Window> How ı can open button ???

 ı can add Button mach3 first page button names "Camera"

ı want when ı click this button Plugin Control >Video Window Open screen

I watched the roads;

1-)   SendKeys ("+%PV")     ; ı cant work What's wrong with - ı open first page and click camera button but nothing at all happens

2-)  DoMenu( 6,1 )              ; ı cant work What's wrong with - ı open first page and click camera button but nothing at all happens


how ı can please help ? (http://s18.postimg.org/w04etcsl5/image.jpg)
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: Tweakie.CNC on April 15, 2013, 04:25:37 AM
Should it not be   SendKeys "%PV"

Tweakie.
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on April 15, 2013, 05:35:59 PM
ı try that but no change :/   SendKeys "%PV"

ı click button but no change screen :((
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on April 15, 2013, 07:46:40 PM
SendKeys Command is not work please help me  ??? ??? ??? ??? :-X
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: Tweakie.CNC on April 16, 2013, 02:04:13 AM
Have you enabled Brian’s plugin ( Config / Config Plugins) ?

You may find this thread of interest http://www.machsupport.com/forum/index.php/topic,22932.0.html

Also you may wish to try Klaus’s video window, which seems to work better for me – the details are here http://www.kd-dietz.com/klausphp/pages/ger/plugins/webcam/description/wcam_description.html

Tweakie.
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on April 16, 2013, 06:14:12 AM
video manually running smoothly. I would like to use mach3 video window mode.

What if I did not work in mach3 sendkeys command.

  for example: SendKeys "J", the result is not working ..

  for example: SendKeys "a" results not work ..

I can not get no response when I press the button I added.

Could it be for using windows7?

Seems so simple, but the fact that I worked day and night to one week I could not: (

(http://j1304.hizliresim.com/18/j/m4c3j.png)

(http://j1304.hizliresim.com/18/j/m4c41.png)
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: Tweakie.CNC on April 16, 2013, 06:59:47 AM
You may be right and the problem could be related to using Win7.

So you can open Brian's video window manually.

Will the video window display the picture from your camera ?

Tweakie.
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on April 16, 2013, 08:05:00 AM
When I click on any area of ​​the camera coordinates in the machine that I want to go to  :-\

will it work suggested that scrpt - http://www.machsupport.com/forum/index.php/topic,22932.0.html

Do you have windows 7 using the SendKeys command?
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: Tweakie.CNC on April 16, 2013, 08:11:54 AM
Quote
Do you have windows 7 using the SendKeys command?

No - I use WinXP.

Tweakie.
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: Klaus1311 on April 16, 2013, 11:18:21 AM
Hi,

I can't speak about the "Video Window" plugin. My camera plugin can switch the camera window on / off with a SetLed command, which can be assigned to a button.




Klaus
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on April 16, 2013, 01:49:40 PM
hmm .. number of code to set the video plugin? How do I know?
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: Klaus1311 on April 16, 2013, 02:20:40 PM
here is an example, of how you can switch on / off the camera window.
Add a button named Camera on
assign "Execute Basic Script"  with the following Content:
SetUserLed(1102,1)      (if LED number 1102 is used by another control, take an unused one)
Add another button named Camera Off
assign "Execute Basic Script"  with the following Content:
SetUserLed(1103,1)      (if LED number 1103 is used by another control, take an unused one)



In Mach3 goto Config -> Config Plugins       Enable WebCamPlugin-Version-V2.12
restart Mach3

goto Config -> Config Plugins -> CONFIG      check "Macro control on"
if you had to change the LED numbers, because they where used by other controls, you can assign the proper LED number in that Dialog



Klaus
Title: Re: ı add button puggin video but dont dont dont work pls help ???
Post by: excusme2004 on June 16, 2013, 06:14:09 PM
Very Thanks..