AdvancedHMI Software
General Category => Support Questions => Topic started by: StefanA on January 24, 2016, 04:55:40 AM
-
Hi,
I would like to use checkboxes to control modbus registers / coils as a alternative to buttons. E.g if checkbox1 checked then coil 00001 = 1. Is there a simple way to achieve this?
-
Which driver are you using?
-
I'm using modbusTCPcom1
-
I replied before I read your full post, otherwise I would've figured out the answer to my own question from your address example. The reason I did ask that question was so I could give a less generic answer.
Let me come up with something and get back with an answer.
-
- Download the attached file
- In Solution Explorer, under the project AdvancedHMIControls, right click the \PurchasedControls folder
- Select Add Existing
- Browse to the CheckBox.vb file you downloaded
- Build the Solution
You should now have a CheckBox in the ToolBox under the AdvancedHMIControls group (initially it may be at the bottom of the list)
-
I'm not able to add the checkbox component. Errors are generated when I try to do that. I think I have the latest version of AHMI (3.99a) but I still use VB Express 2010. Can that be the problem?
-
What errors do you get? I created that on the next unreleased version so there may be some potential problems I overlooked.
-
Attached is a version that will work with 3.99a