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

Pages: 1 [2]
16
Support Questions / Re: NullReferenceException in Basic Indicator
« on: August 23, 2016, 09:17:06 PM »
Thanks Archie, that fixed it.

17
Support Questions / NullReferenceException in Basic Indicator
« on: August 23, 2016, 09:00:49 PM »
Hi,

I'm getting the following error on application shutdown: An unhandled exception of type 'System.NullReferenceException' occurred in MfgControl.AdvancedHMI.Controls.dll.

I can't easily see which part of my code this is coming fro? any advice? I'm running AdvancedHMI 3.99n.

Image of error below.

Regards,
Graeme.

18
Support Questions / Re: Meter Pack and version 3.99d
« on: April 22, 2016, 01:28:24 AM »
Thanks Archie.

Yep agree with release/debug builds. Tried above, didn't help.


I'm just annoyed I can't figure out what I've done when I updated the versions....

19
Support Questions / Re: Meter Pack and version 3.99d
« on: April 22, 2016, 12:05:59 AM »
Hi,

I always do. I plan to make it the run time version for use.
I have always been able to do both, failure has just come in since the upgrade, I'm not sure what I have done wrong.

20
Support Questions / Re: Meter Pack and version 3.99d
« on: April 21, 2016, 11:58:39 PM »
Hi,

Sure do. (Version is 3.9.9.4 for first two)

21
Support Questions / Re: Meter Pack and version 3.99d
« on: April 21, 2016, 10:45:21 PM »
Hi Archie,

All is working fine in Debug mode, all upgrades work. However, I cannot compile a release build. I get the following error.


Error    BC30652   Reference required to assembly 'MfgControl.AdvancedHMI.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' containing the type 'BarLevel'. Add one to your project.   CubeHMI   C:\Data\Other\Norwood\HMI\CubeHMI\CubeHMI\Code.VGCOverview.vb   105   Active

22
Support Questions / Re: Meter Pack and version 3.99d
« on: April 20, 2016, 07:03:53 PM »
Fixed it.

Added a "dot"

i.e.
Dim PlcAddressItem1 As AdvancedHMIDrivers.PLCAddressItem = New AdvancedHMIDrivers.PLCAddressItem()
became
Dim PlcAddressItem1 As AdvancedHMI.Drivers.PLCAddressItem = New AdvancedHMI.Drivers.PLCAddressItem()

23
Support Questions / Re: Meter Pack and version 3.99d
« on: April 20, 2016, 06:40:34 PM »
Hi Archie,

Got the updated meter pack, thanks. Fixed that issue.

The other issue still remains?

24
Support Questions / Re: Meter Pack and version 3.99d
« on: April 20, 2016, 07:51:25 AM »
Thanks Archie,

email sent.

25
Support Questions / Meter Pack and version 3.99d
« on: April 20, 2016, 01:19:04 AM »
Hi,

I have just upgraded from version 3.99a to 3.99d and I can't get my purchased Meter pack to work? Is there a change required for them?

Also, AdvancedHMIDrivers.PLCAddressItem now creates an "is not defined" error.

Any help welcomed.

Regards,
Graeme.

26
Additional Components / Re: Rectangle shape as AHMI control
« on: October 22, 2015, 11:32:03 PM »
Hi Godra,

Great control. When they over lay I get a border around it? Can this be overcome? I have all borders removed and/or set to transparent?

Cheers, GT.


27
Support Questions / Pipe animation
« on: October 22, 2015, 08:43:33 PM »
Hi All,

Is there a way to animate the pipes (and elbows?) for flow indication?
ie. stay grey for no flow and go coloured for flow?

Or another method people may have used to create an animated flow screen?

Cheers,
GT.

28
Support Questions / Re: BasicLabel and Substring
« on: October 21, 2015, 09:39:28 PM »
Thanks. Worked perfect.

29
Support Questions / BasicLabel and Substring
« on: October 21, 2015, 08:36:17 PM »
Hi All,

This is most likely a very basic question, but I'm struggling.
Using TextChanged event on a basicLabel I want to manipulate the returned data, (which is just a long number, 10 digits).
I want to get a substring as indicated below, but I cannot.
If I use Substring I get System.ArgumentOutOfRangeException
If I use Mid the label goes blank.

If I use a bogus string, (TestStr3 below), it works fine.


Code below, (I've ballooned it out with un-needed variables for clarity and fault finding). Any advice welcomed.
Cheers,
GT.



    Private Sub Time_TK01_TextChanged(sender As Object, e As EventArgs) Handles Time_TK01.TextChanged
        Dim TestStr1 As String = Time_TK01.Text.ToString()
        Dim TestStr2 As String = "1234567890"
        Dim TestStr3 As String

        TestStr3 = TestStr1.Substring(2, 2)
        'TestStr3 = Mid(TestStr1, 2, 2)

        Time_TK01.Text = TestStr3
    End Sub

Pages: 1 [2]