AdvancedHMI Software

General Category => Support Questions => Topic started by: TSLJon on April 12, 2014, 02:15:45 PM

Title: Strange Error - Any ideas
Post by: TSLJon on April 12, 2014, 02:15:45 PM
Any ideas on this one?

As I exit normally debugging mode though sometimes in the software build it flags this error. Software works well until you red cross to close.
Title: Re: Strange Error - Any ideas
Post by: johwaa on June 06, 2014, 05:23:13 PM
VB.Net does some weird things at times, you could put a Try - Catch structure around it. Run it after that and see if it is working or not (you should be able to tell right off).

Like this:

Try
      Dim x As New MfgControl.AdvancedHMI.Drivers.Common.PlcComEventArgs(New String() {ex.Message}, PolledAddressList(i).Address.Address, 0)
Catch ex1 as Exception

Then look at ex1.message to see what (if anything) the exception was.