Hello Guest it is March 28, 2024, 04:22:14 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - HenryInUtah

Pages: 1
1
Modbus / Where to start
« on: May 18, 2022, 01:42:56 AM »
Hello -
My final goal is to read the current XYZ positions in Mach 4 through Modbus TCP.  I have written programs to read and write data via Modbus (although I will have to brush up on it) so that part doesn't scare me.  Concerning Mach 4, I don't know what I need to know.

I fumbled through the Modbus plugin dialog but was expecting a screen where I could say something like "this address contains this data, and by the way it is a float".  I looked for some documentation on the Modbus plugin but didn't find anything.

Can you please point me in a direction to get started?  Is there documentation?  Are there examples similar to what I want to do (read positions from Mach 4)?

Thanks for your suggestions!

2
Video P*r*o*b*i*n*g / Image overlay for USB camera
« on: May 18, 2022, 01:34:02 AM »
Thanks to the magic of the Internet, I figured out how to add a tab with a "camera widget" and an image overlay.  I would like to improve it a little...  There are three buttons and I would like the button click to change the image used for the camera overlay. 

Something like: btnOverlay3.onClick -> videoDisplay.image = "someimage.png"

Obviously I have no idea what the code needs to look like or where it goes.  I'm guessing that there would need to be a function in some script and then the name of that function goes into the button event.  I posted this to the "video probing" category because that is the goal, but maybe there is a better choice?

Thanks in advance for your help.
 


Pages: 1