Is it possible to put the default Windows camera or other camera software within the KMotionCNC screen with the editor?
Or should a new GUI be written with the included Visual Studio library?
Thanks.
Camera screen
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2786
- Joined: Mon Dec 04, 2017 1:49 am
Re: Camera screen
Hi GS76,
KMotionCNC or the Screen Editor doesn't support a Video Control.
You might see the Measure Fiducials C# Example.
KMotionCNC or the Screen Editor doesn't support a Video Control.
You might see the Measure Fiducials C# Example.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Camera screen
Thank you Tom!
I will investigate this option.
I will investigate this option.
Re: Camera screen
Dear Dynomotion,
I've downloaded KMotion 5.4.0 but it seems impossible to run MeasureFiducial correctly, also from executable file in release folder (C:\KMotion 5.4.0\KMotion\Release).
Also the VS C# 2013 project isn't working well, because after compiling the program, it always not view the camera on the ViewScreen of graphical interface and all comands are not working (they can be clicked but are not working).
What may I do?
Thank you a lot!
Tiziano F.
I've downloaded KMotion 5.4.0 but it seems impossible to run MeasureFiducial correctly, also from executable file in release folder (C:\KMotion 5.4.0\KMotion\Release).
Also the VS C# 2013 project isn't working well, because after compiling the program, it always not view the camera on the ViewScreen of graphical interface and all comands are not working (they can be clicked but are not working).
What may I do?
Thank you a lot!
Tiziano F.
- TomKerekes
- Posts: 2786
- Joined: Mon Dec 04, 2017 1:49 am
Re: Camera screen
Hi Tiziano,
It seems to work for me.
Note there is a settings file: MeasureFiducialSettings.txt that selects which Video Device to use. By default it is 1 which would select the 2nd device. Try changing it to 0.
Measure fiducials sends messages to KMotionCNC do do things like Jog so you must have KMotionCNC running for that to work. Is it?
HTH
It seems to work for me.
Note there is a settings file: MeasureFiducialSettings.txt that selects which Video Device to use. By default it is 1 which would select the 2nd device. Try changing it to 0.
Measure fiducials sends messages to KMotionCNC do do things like Jog so you must have KMotionCNC running for that to work. Is it?
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Camera screen
Hi Tom,
So it wasn't selected the correct video device.
While changing the video device number to 0 is working at all.
Thank you a lot, have a nice day.
Tiziano F.
So it wasn't selected the correct video device.
While changing the video device number to 0 is working at all.
Thank you a lot, have a nice day.
Tiziano F.