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 - madmaxed

Pages: [1]
1
Open Discussion / Re: AdvancedHMI on Webpage
« on: April 10, 2015, 12:58:14 PM »
Any update on a tutorial?

2
Feature Request / Re: Padding Characters to BasicLabel
« on: March 27, 2015, 08:04:54 AM »
Glad I could contribute.  I'm going to post another idea, in addition to the events for the multistate indicator.

3
Feature Request / Padding Characters to BasicLabel
« on: March 25, 2015, 03:10:57 PM »
I've already done it for non-scaled values to add left padding.  This allows for keeping a fixed amount of digits or characters for any value.
    '**********************************
    '* Padding to text
    '**********************************
    Private m_ValuePadCharacter As Char
    Public Property ValuePadCharacter() As Char
        Get
            Return m_ValuePadCharacter
        End Get
        Set(ByVal value As Char)
            m_ValuePadCharacter = value
            UpdateText()
            Invalidate()
        End Set
    End Property
    Private m_ValuePadLength As Integer
    Public Property ValuePadLength As Integer
        Get
            Return m_ValuePadLength
        End Get
        Set(ByVal value As Integer)
            m_ValuePadLength = value
            UpdateText()
            Invalidate()
        End Set
    End Property

Changed UpdateText method
                If m_ValueScaleFactor = 1 Then
                    If ValuePadLength > 0 Then
                        MyBase.Text = m_Prefix & m_Value.PadLeft(ValuePadLength, ValuePadCharacter) & _Suffix
                    Else
                        MyBase.Text = m_Prefix & m_Value & _Suffix
                    End If
                Else
                    Try
                        MyBase.Text = Value * m_ValueScaleFactor & _Suffix
                    Catch ex As Exception
                        DisplayError("Scale Factor Error - " & ex.Message)
                    End Try
                End If


4
Support Questions / Re: BasicIndicator Text based on current state
« on: March 25, 2015, 11:33:28 AM »
Again thank you.  Would there be an event for all three states?

5
Support Questions / Re: 7 Digit Panel Meter with Input?
« on: March 25, 2015, 10:59:50 AM »
Thanks,

I thought about adding the keypad code, but since the base inherited methods are hidden I wasn't sure if just adding it would work.

6
Support Questions / BasicIndicator Text based on current state
« on: March 25, 2015, 10:58:26 AM »
I'd like to change the text of the basic indicator depending on the which of the three color states is active.  I tried the following code, but it isn't working quite right.  Hoping to use some event from the indicator to set the text.

Private Sub BasicIndicator2_ValueSelectColor1Changed(sender As Object, e As EventArgs) Handles BasicIndicator2.ValueSelectColor1Changed
        If BasicIndicator2.SelectColor2 Then
            BasicIndicator2.Text = "Stopped"
        ElseIf BasicIndicator2.SelectColor3 Then
            BasicIndicator2.Text = "Running"
        Else : BasicIndicator2.Text = "Complete"
        End If
    End Sub


7
Support Questions / 7 Digit Panel Meter with Input?
« on: March 25, 2015, 09:09:17 AM »
I am currently using the DigitalPanel meter, but need to be able to enter a 7 digit number for life cycle testing.  But it is limited to 6 digits.  Also purchased the meter expansion pack, but see that neither of the two digital meters allow for input like the default DigitalPanelMeter.  Any advise would be greatly appreciated.

Jon

8
Support Questions / Micro850 Ethernet Alias
« on: March 02, 2015, 02:00:52 PM »
Is it possible to read Micro850 (820) Global variables by Alias name?  I have things working using global tag names, but can't seem to access tags based on the Alias Name.


Thanks,
Jon

Pages: [1]