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

Pages: [1]
1
Error exiting application

I'm using HMI version 3.4 and VB.Net 2010.

I modified the demo form included in AdvancedHMI 3.4 to read and write registers and IO points for my application using  a ML 1400.  This worked fine, no errors when exiting the application.  I added the modified demo form to my project (many other modules and forms).  I combined this project and the AdvancedMHIDrivers project into a common solution.  That is, I have one solution with two projects.  When exiting the application I get the following error only if I access the AdvancedHMI parts of the code:

(Note I'm using VB.NET 2010)

Microsoft Visual C++ Runtime Error!

Runtime Error!

Program: C:\GS\bin\GS.vshost.exe

R6025
- pure virtual function call


I have tried exiting the application via the Main() sub routine finishing, End command,  or Environment.Exit(0) and all produce the same error message.

Any experience or advice with this error?

2
Support Questions / Re: Cannot Read with ReadInt or ReadAny
« on: August 08, 2013, 10:37:22 AM »
I removed the heartbeat control and it is behaving.

3
Support Questions / Re: Cannot Read with ReadInt or ReadAny
« on: June 20, 2013, 09:19:30 AM »
I am in the testing / learning phase, so there is a DigitalPanelMeter displaying one of the same values and 1 BasicIndicator monitoring the PLC "Heartbeat".  I'll remove these and report back.

4
Support Questions / Re: Cannot Read with ReadInt or ReadAny
« on: June 17, 2013, 12:08:05 PM »
Now using version 3.4, I have 26 text box controls corresponding to the 26 parameters I desire to read from the PLC.  Periodically, without changing the value in the PLC, 0 is returned instead of the value.  I'm using a button to initiate the read.

Each of the 26 reads are similar to this:

Dim addOffset1 As String = "L11:1"
Dim myStr1() As String
myStr1 = EthernetIPforPLCSLCMicroComm1.ReadSynchronous(addOffset1, 1)
txtOffset1.Text = myStr1(0)

I am using Windows 7-64bit and VS2010.  I get the actual value, say 4400 or 0.  Where the 4400 is what I expect and the 0 is not what I expect.
Also, I disable the button after I press it and after the 26 reads, I re-enable the button.

Thank you.

5
Support Questions / Re: Cannot Read with ReadInt or ReadAny
« on: June 13, 2013, 11:13:42 AM »
Using 3.26

6
Support Questions / Cannot Read with ReadInt or ReadAny
« on: June 13, 2013, 10:27:21 AM »
I'm trying to read from the ML 1400 PLC using ReadInt and ReadAny, 0 is returned.  I can write using:
   
EthernetIPforPLCSLCMicroComm1.WriteData("L12:1", 333)

These do not work:
        Dim myint() As Integer
        myint = EthernetIPforPLCSLCMicroComm1.ReadInt("L12:1", 4)

        Dim mystr As String
        mystr = EthernetIPforPLCSLCMicroComm1.ReadAny("L12:1")

Any suggestions?  Thank you in advance.

Pages: [1]