AdvancedHMI Software
General Category => Feature Request => Topic started by: Morgan on April 28, 2016, 08:03:58 AM
-
• This functionality could be added to the PilotLight3Color control by adding darker colors.
• It would also be nice to have yellow as a selection for the Momentary Button color.
-
The PilotLight does function as a button also through the PLCAddressClick and OutputType properties. You can also select the LightOffColor and LightOnColors independently and one option is Yellow.
-
you could also try the modified Pilot Light control in this thread.
http://advancedhmi.com/forum/index.php?topic=1085.msg5709#msg5709 (http://advancedhmi.com/forum/index.php?topic=1085.msg5709#msg5709)
It has a couple of extra properties to allow for a brighter color when it ON. BrightOnColor and BrightEnable.
It also allows you to add text to the Lamp.
-
I have modified the file that rbelknap mentioned to allow simulating a shade instead of choosing the color. This new file also has a property that allows show/hide of the text itself.
The effects can be seen in the attached picture.
The attached file should work fine in any version of AHMI since it inherits from the PilotLight control from the Controls folder.
-
I tried using the Pilot Light but the color difference between On/Off is too small. The off color goes from light on the outside to dark on the inside. It would be better if it were switched like the SimpleLED.
I just wanted to say thanks again for this GREAT software. Being open source has allowed me to do things I could not do in other commercial HMI software.
-
I created an illuminated pushbutton control and decided to post it here for anyone else to use.
Properties included: images for the 3 states of the button (Normal, Pressed, and Illuminated), button OutputType, ValueToWrite , PLCAddressVisible, PLCAddressClick, PLCAddressValue, and MinimumHoldTime.
I have included the images I use but this control uses images you supply so you can make the button look any way you like.
I did not include a text area on the legend plate for 2 reasons:
1. I do not always want a button with a label.
2. I wanted to be able to make the text area as large or small as needed.
Depending on what version you are running, you may have to change
SubScriptions.ComComponent To SubScriptions.CommComponent
-
Nice Graphics!
-
Yo,
The images look good but, with a fixed background color they just don't blend into the panel. I hope you don't mind but, I modified them to have a transparent background. When I put them on a panel, they really blended well.
Steve Robertson
-
Hi All.
I am new to AHMI. I like the idea of an illuminated Push Button with all of the newly added features. I have added the modified IllumButton to the PurchasedControls folder, but the control thows the errors (Please see attachment) when I attempt to plcae the control on a form. I am attempting to run on AHMI v.399p
-
Double click the first error to get to the code, then add to make it this:
MfgControl.AdvancedHMI.Drivers.IComComponent
-
Hi Archie,
Thank you for your quick response! That did clear up the error. Now I get an error for Late Binding. I disabled "Option Strict" which removed that error. Back to Toolbox, attempting to add IllumButton to form and receive these errors... (See Attached).
-
I haven't tried to add these controls yet, but just a quick guess that it may be VS, try this:
1) Windows->Close All Documents
2) Close Visual Studio
3) Re-open the solution with VS
4) Build->Rebuild Solution
5) In Solution Explorer, under the AdvancedHMI project double click MainForm
6) Try to add the control again to see if you still get the error
-
OK. Tried it as you instructed. Solution will load but does not load any of the AHMI controls. See attached... It only loads the AHMI Drivers. If I delete the IllumButton.vb controlthen re-build, it will load all of the AHMI controls. Weird!
-
I fixed the 2 errors and tested this with V3.99p. Attached is the file I am using.
-
Thanks Archie. That Worked!!!