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.


Topics - Steve Etter

Pages: [1]
1
Support Questions / ChartBySampling - Can it be made to....
« on: September 07, 2018, 11:45:44 AM »
I've got my ChartBySampling working pretty well but there are three (3) things I'd like to make it do that I can't seem to accomplish:
1)  Make if "freeze" and stop scrolling new data.  I want to let the operator look at the waveform held still on the screen.
2)  Make it "unfreeze" again.  Pick-up again with current data (I expect data will be ignored/lost while "frozen")
3)  Make it "restart" from scratch.  Keep all current Min/Max settings but erase the screen and start scanning anew.

Can any of these be done and, if so, what properties do I use to do so?

Thanks in advance,
Steve

2
Support Questions / Using with a Windows Gadget
« on: August 07, 2018, 12:08:34 PM »
I know this is a little OT, but I hope it's ok...

Several years ago we created a Windows Gadget that looked at 4-digit value from another Brand X HMI application.  All the gadget does is display this one value and update it on a regular basis.  It still works, but for a couple of reasons, I would like to replace this HMI application with an AdvancedHMI version.  The reason I want to use a gadget is to allow anybody with a PC on the network to open and look at the value without having to have the AdvancedHMI program loaded. 

The value I need to watch is generated in an AB PLC and I have created a single page AdvancedHMI application that sees the value using EthernetIPforCLXcom.  I added a SimpleWebServer and am able to see the running application on the development PC using IExplorer on another PC.  The problem I can't figure how to get the gadget to see the value.  With the old Brand X HMI application we were able to simply use the http://XXX.XXX.XXX.XXX/ address.  That doesn't seem to work for the new application.

Anybody have knowledge of gadgets and how I might be able to see my AdvancedHMI value with one?

3
Open Discussion / Error on New Installation / New Build
« on: July 13, 2018, 02:06:37 PM »
I've just fired up a brand new computer, Windows 10, installed both VS Community Express 2017 and the downloaded and installed the latest version of AdvancedHMI.  When I unzip Advanced HMI and fire it up, everything seems good until I do that very first "Build" which won't complete.  Instead I get a failure with this message:

"Couldn't process file MainForm.resx due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files.   AdvancedHMI"

I get a second failure message for AdvancedHMIcs.

I haven't located anything on the web and can't move on at the moment.

Any ideas?

4
Support Questions / Writing to the Recipe.ini file
« on: March 29, 2018, 02:01:30 PM »
I've managed to work through the RecipeButton.vb read the recipes from my Recipe.ini file way I want, but now I want to be able to over-write values for recipe changes.  It appears in the parser.vb file that this functionality should be there already, but I haven't been able to get my file to change.

Here is the code I've tried so far and while it appears to work (no errors), it doesn't do anything to the file designated in the IniFileName section.

Code: [Select]
    Protected Overrides Sub OnClick(e As EventArgs)
        MyBase.OnClick(e)

        '* Make sure an INI file was specified
        If Not String.IsNullOrEmpty(m_IniFileName) Then
            If String.IsNullOrEmpty(RecipeFileError) Then
                ' Get the file name from the button configuration
                Dim file As New AdvancedHMIDrivers.IniParser(m_IniFileName)
                ' Get the file section from the PLC as per the button configuration
                Dim section As String = m_ComComponent.Read(m_PLCAddressSaveSection, 1)(0)
                ' Verify the file section exists
                If Not String.IsNullOrEmpty(section) Then
                    Dim c() As Char = {vbNullChar}
                    Dim TrimmedSection As String = section.Trim(c)
                    Dim SettingList() As String = file.ListSettings(section.Trim(c))
                    Settings.Clear()

                    For index = 0 To SettingList.Length - 1
                        If String.Compare(SettingList(index), "ButtonText", True) <> 0 Then
                            Dim s As New RecipeSaveSetting(SettingList(index), section)
                            Settings.Add(s)
                        Else
                            Text = file.GetSetting(TrimmedSection, SettingList(index))
                        End If
                    Next
                End If
                If m_ComComponent IsNot Nothing Then
                    For i = 0 To Settings.Count - 1
                        Dim v As String
                        Try
                            v = ""
                            v = m_ComComponent.Read(Settings(i).PLCAddress, 1)(0)
                            While v Is ""

                            End While
                            file.DeleteSetting(section, Settings(i).PLCAddress)
                            file.AddSetting(section, Settings(i).PLCAddress, v)
                        Catch ex As Exception
                            System.Windows.Forms.MessageBox.Show("Faile to write " & Settings(i).Value & " to " & Settings(i).PLCAddress & " ." & ex.Message)
                        End Try
                    Next
                Else
                    System.Windows.Forms.MessageBox.Show("ComComponent Property must be set.")
                End If
            Else
                System.Windows.Forms.MessageBox.Show("INI File Error - " & RecipeFileError)
            End If
        End If
    End Sub

Any help?

5
Support Questions / Using the Recipe.ini file
« on: March 12, 2018, 02:51:31 PM »
Is there an example or tutorial out there of how someone is using the recipe.ini file?  I haven't found anything in my searches.

Thanks in advance.
Steve

6
Support Questions / Date & Time to PLC
« on: November 02, 2017, 04:08:14 PM »
Is there an easy way to send the Date and Time data from the HMI application to the PLC?  I figure I can scratch out some code and a timebased update routine if I have to, but I imagine someone is already doing this.  Thanks in advance.

7
Support Questions / Transparent FormChangeButton
« on: October 31, 2017, 08:15:09 AM »
I'm trying create formchange buttons that are active but transparent.  Basically I have a page with a cell layout and the operator will touch the one of several machines and the HMI will then switch to display a machine-specific page.  I can't seem to find a way to make the buttons transparent though.

Pages: [1]