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

Pages: [1] 2
1
Support Questions / Re: INI file for basic labels
« on: July 15, 2020, 01:17:07 PM »
just to follow up,this worked perfectly,  it took a quick forum search to learn about the ini file and sections but it was very easy.  This will make life so easy now
Thanks

2
Support Questions / INI file for basic labels
« on: July 10, 2020, 09:59:40 AM »
Hello all,  I am working on an application that will have many screens, each will have it's own advanced hmi application.  They are all the same but will have basic labels pointing to different address's and will have different IP's(CLX) .   I searched the forum and found how to use the INI to assign the IP address's but can the same be done with basic labels?

Thanks
Allan

3
Support Questions / Re: chart question
« on: February 19, 2020, 08:19:30 AM »
Thanks Archie, I had tried this before but I messed up the index and update.  I have it working now
thanks
Again

4
Support Questions / chart question
« on: February 18, 2020, 08:24:59 AM »
Hello everyone.  I'm getting really confused about the chart feature.    I want a bar chart that will display the value of 30  tags.  I want it to look like the default chart that gets pulled in from the toolbox.    I'm confused on where I reference these tags, where I set the y min and max  and where I label each column

thanks
Allan

5
Support Questions / Re: error in new download of 2017
« on: October 23, 2018, 07:27:23 AM »
that did it , thanks

6
Support Questions / error in new download of 2017
« on: October 22, 2018, 03:38:03 PM »
Hello all, just did a fresh download of visual studio 2017 and advanced hmi,  right from the get go I get a error:
 
Error      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   

any ideas??      

thanks
Allan

7
Open Discussion / Re: unhandled exception no response from plc
« on: January 29, 2018, 07:41:47 PM »
found the culprit, i dug into the error a bit more and found it had to do with a timer ,  i had a timer set up to constantly update the rtc in the plc.  not sure why, but occasionally the plc would not respond.  since the timer as a "luxury" item, i just deleted it and haven't had a drop out since.

8
Open Discussion / Re: unhandled exception no response from plc
« on: January 25, 2018, 08:27:36 PM »
do you think it's a bug with the software?

9
Open Discussion / unhandled exception no response from plc
« on: January 23, 2018, 07:32:35 PM »
Hello all, anyone have any issues with comm faults,  a few times a day i get a unhandled exception no response from plc error.  I have a slc 505 in my basement running my aquarium,  my pc is upstairs.  This has been happening for months, i assumed it was because i was using one of those powerline bridges to get the ethernet down to the plc.  i just upgraded it to a wifi bridge and get the same result. Now i don't know where the issue is


Thanks in advance
Allan

10
Support Questions / Re: Sending an Email Triggered by a Bit
« on: November 30, 2016, 08:32:34 PM »
thanks everyone

11
Support Questions / Re: Sending an Email Triggered by a Bit
« on: November 30, 2016, 08:22:02 PM »
hi archie,  One more question,  is there any way to get multiple lines and variables in the body

ie
 mail.Body = "The Temp of the water is " & EthernetIPforSLCMicroCom1.Read("N7:0")
                      "The depth of the water is "& EthernetIPforSLCMicroCom1.Read("N7:1")
                       " water flow is "& EthernetIPforSLCMicroCom1.Read("N7:1") 
 I tried this but get errors,

if i put mail.body in front of all of them i only get the last one.

thanks
Allan

12
Support Questions / Re: Sending an Email Triggered by a Bit
« on: November 29, 2016, 11:26:42 PM »
worked first time, thank you so much

here is the code i used to get gmail to work,  I pieced it together from a few different sources.  It requires gmail to have an app password through 2 step verification
i am not very good with vb so dont laugh if there is mistakes,,, i am good at cut and paste

Private Sub DataSubscriber1_DataChanged(sender As Object, e As Drivers.Common.PlcComEventArgs) Handles DataSubscriber1.DataChanged



        '* Make sure Data came back
        If e.Values IsNot Nothing AndAlso e.Values.Count > 0 Then
            '* Did it come back as True or 1?
            If String.Compare(e.Values(0), "TRUE", True) = 0 Or e.Values(0) = "1" Then




                Try
            Dim SmtpServer As New SmtpClient()
            Dim mail As New MailMessage()

            SmtpServer.EnableSsl = True
            SmtpServer.Credentials = New _
        Net.NetworkCredential("youremailaddress@gmail.com", "apppassword")
            SmtpServer.Port = 587

            SmtpServer.Host = "smtp.gmail.com"
            mail = New MailMessage()
            mail.From = New MailAddress("someone@gmail.com")
            mail.To.Add("someone@yahoo.com")
            mail.Subject = "Test Mail"
                    mail.Body = "The Temp of the water is " & EthernetIPforSLCMicroCom1.Read("N7:0")
                    SmtpServer.Send(mail)
            MsgBox("mail send")
        Catch ex As Exception
            MsgBox(ex.ToString)

                End Try

            End If
        End If
    End Sub

13
Support Questions / Sending an Email Triggered by a Bit
« on: November 29, 2016, 10:10:09 PM »
Hello all, i have got the "sending email by bit working now"    is there a way to include variables in the message ?     ie,    The temp of the water is (n7:0)         I'm using the EthernetIPforSLCMicroCom1 driver

Thanks'
Allan



14
Support Questions / Re: emailer1
« on: July 24, 2016, 06:51:18 PM »
i think the settings are right, i used the settings in outlook and got it going.    i was able to automate an excel spread sheet to send email through outlook .  i added another post about this

thanks for your help
and again software is awesome

Allan

15
Support Questions / datalogger2
« on: July 24, 2016, 06:48:31 PM »
Is there a way to get data logger2 to overwrite one group of cells instead of adding another row?    If i can get it to do that i can automate excel to send emails based on certain conditions.  i have that part mostly  figured out.

thanks
Allan

Pages: [1] 2