Hello Guest it is April 26, 2024, 05:32:27 AM

Author Topic: mach4 video screen element  (Read 681 times)

0 Members and 1 Guest are viewing this topic.

mach4 video screen element
« on: May 07, 2022, 08:27:48 PM »
Is there a way to get cross hairs on the video screen element. I would like to use a video window with my USB microscope for optical xy zeroing.
Re: mach4 video screen element
« Reply #1 on: May 08, 2022, 04:17:21 AM »
Yes, you can add an image in the 'Image' property of the video control. See attached
Re: mach4 video screen element
« Reply #2 on: May 08, 2022, 12:20:49 PM »
Thanks that was a little tricky but it worked.
For anyone else who needs this, here is what I did. I looked at the size in pixels of my video window in the Mach4 screen and created a grayscale image of a centered black cross with a transparent background in photoshop. Saved it as a png (attached). Changed the extension on my screen set file extension to .zip and then added the cross hair image to the images file in the new zip folder. Changed the extension back to .set. I could then go into the screen editor and add this image to the video screen element.  Since the cross may not be exactly centered, I recalibrated my offsets to the tool center as a final step. The cross overlay was smaller then the video image so controlling the number of pixels may not be that important.
I am sure there are other ways to do this, but this worked for me. It takes about 20 incremental .01" jogs for my microscope camera to traverse a drywall screw head, and the cross makes it easy to see the center and maintain consistent offsets, so I am happy with the results.
Re: mach4 video screen element
« Reply #3 on: May 08, 2022, 02:43:13 PM »
When you're in the screen editor you can just go to Screen>Manage Images when you want to add new images
Re: mach4 video screen element
« Reply #4 on: May 08, 2022, 03:45:00 PM »
Thanks, Mach4 has a lot of things to discover