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

Pages: 1 [2] 3 4 ... 8
16
Support Questions / Re: ModbusTCP SendData DLL Instance not created
« on: November 13, 2019, 06:28:40 PM »
I tried the same thing it didn't work. When I put the quotation marks in "40005", "1" it worked!!!

17
Support Questions / Re: Show and Hide
« on: October 03, 2019, 07:53:33 PM »
I found it.

The timer on form one was continuing to run and turning off form 3.

18
Support Questions / Show and Hide
« on: October 03, 2019, 06:22:11 PM »
I am running an app with basically three forms. The first form (MainForm) does  a line of code
operator_reports.Show()
That is the 3rd form. After .5 seconds it does another line of code.
operator_reports.Hide()
That all works fine, and I can see the form display and then go away. Now I change to the second form (Parameters)
It has a button on it that runs a routine as follows.
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Me.Hide()
        operator_reports.Show()

    End Sub

When this button is clicked it goes to the operator_reports screen for a second then bombs out back to visual studio. The program is still running but the forms are not displayed? If I remove the Me.Hide() from the above it will go to operator_reports for a second and then right back to the parameter form. Any suggestions?

19
Support Questions / Pc to Pc communications
« on: August 14, 2019, 10:36:05 AM »
Can I set up AdvancedHMI running on one PC to communicate to another PC running AdvancedHMI via ModbusTCP. I need to transmit a few bytes from one computer to another (but not back). It seems Modbus would be the easiest way to achieve this. Currently I am writing a file over a network but I get a lot of errors because of the conflicts involved with one computer reading while the other is writing. Or do you have a better suggestion?

Thanks,
Dave

20
Support Questions / Re: Message Handler quit working
« on: August 07, 2019, 06:58:54 PM »
Archie;

I changed the content of the email I changed the subject heading and it still locks me out after 5 emails.

If I send five emails via my laptop from one site to another it will lockout, but change the subject and it will start again. I have tested sending 10 emails via laptop with different subjects and it works.

It locks out because of my computer or the VS software. For example, I can send emails between excite and mail. I can also send emails between Rackspace and gmail. If I send 5 emails between excite and mail, I am now locked out and cannot send between Rackspace and gmail. Is having VS Community the problem?

Thanks,
Dave

21
Support Questions / Re: Message Handler quit working
« on: August 07, 2019, 10:26:45 AM »
Archie;

Seems no matter what I do it won't work. I have changed the body the header, but after 4 or 5 emails lockup with this error.

8/7/2019 9:20:17 AM - Send Message : This operation cannot be performed while a message is being sent.
8/7/2019 9:20:17 AM - An asynchronous call is already in progress. It must be completed or canceled before you can call this method.

I have gotten out of VS and restarted, rebooted, even sent an email between the servers manually. It will not allow more than 5 via software.

Dave


22
Support Questions / Re: Message Handler quit working
« on: August 07, 2019, 08:54:33 AM »
Archie;

I think I found it! I sent 7 emails from excite to Rackspace all exactly the same and vice versa. Only 4 showed up.

After that I sent another email different header and different body and it went thru. I am going to set MessageHandler1.MessageSubjectPrefex = Now

Hopefully this will change the email enough to allow it to go thru.

Hope I don't have to wait the 4 hours to test.

Thanks again,
Dave

23
Support Questions / Re: Message Handler quit working
« on: August 07, 2019, 07:31:29 AM »
Archie;

Its 5 emails whether successfully sent or not then you have to wait 4 hours.

Dave

24
Support Questions / Re: Message Handler quit working
« on: August 06, 2019, 10:54:47 PM »
Archie;

Strike that I will send it to your office email.

Dve

25
Support Questions / Re: Message Handler quit working
« on: August 06, 2019, 10:54:04 PM »
Archie;

I don't want to send all that info over this forum. I will send it to your phone.

Dave

26
Support Questions / Re: Message Handler quit working
« on: August 06, 2019, 10:28:15 PM »
Archie:

That rings a bell, server.

Message Handler Problem.

I have used 4 different email providers excite, gmail, mail, and Rackspace. I have used two laptops and a tablet. They all send 4 or 5 emails then lock up for four hours.

Lets look at what I am doing. I set MessageHandler1.Value to a 1 the system starts emailing to the person in the emailer list based on what I have in the file Emailer. Currently Emailer looks like this.
1,1,1,1,1,1
2,1,1,1,1,1
3,1,1,1,1,1

Emails look like this

1,ddddd13@excite.com
2,ddddd13@mail.com

After I set MessageHandler1.Value to a 1 I wait 10 seconds and then set it to a 2. At this point I should get an email from alarm 1 then 2 then after a minute from 1 again then 2 after another minute from 1 then 2.

I only get 4 or 5 emails. Then the system locks up for 4 hours. I can reboot change the properties in the message handler to send from a different email provider and change the emails file to send to a different email address. Nothing, its locked up for 4 hours.

Are there any other properties for the MessageHandler that are not on the messageHandler properties window?

Im baffled,
Dave

27
Support Questions / Re: Message Handler quit working
« on: August 06, 2019, 12:47:53 PM »
Archie;

That's it. Five emails then it locks out until 4 hours have elapsed. I will compile the program and load it on the customers computer and try it.

On the Data Base side, I still don't see anything that looks like a file address. Do you remember if we did that FTP?

Thanks,
Dave

28
Support Questions / Re: Message Handler quit working
« on: August 06, 2019, 09:27:14 AM »
Archie;

Version 21 is acting the same way now. It worked for a while then one email does not go out, and it does not report an error. The next email errors because the last one is still in the Q. I wonder if this is related to the 5 emails every 4 hours. I will let you know in about 3 hours.

As for the Data Base View/Other Windows/ Data Sources brings me to the DataBase setup for the variables being passed but I don't see anything that looks like a path.

Thanks,
Dave

29
Support Questions / Re: Message Handler quit working
« on: August 05, 2019, 11:35:56 PM »
Archie;

No, for the Data Base. I think its under solution explore SQL. Is that right?

Thanks,
Dave

30
Support Questions / Re: Message Handler quit working
« on: August 05, 2019, 11:21:01 PM »
Archie;

FYI the version that works is a version prior to all the problems with VS.

Thanks,
Dave

Pages: 1 [2] 3 4 ... 8