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

Pages: 1 ... 4 5 [6] 7 8 ... 343
76
Support Questions / Re: Advanced HMI driver performance problem
« on: June 14, 2023, 08:28:51 AM »
Have you tried version 3.99y Beta which is available from this forum?

77
Open Discussion / Re: Zombie posts
« on: June 12, 2023, 07:59:48 PM »
I submitted 6 or 7 spam posts.

How often are new users registering?

Edit: I guess I can just look at the member list to get an idea.
There are probably an average of a couple legitimate registrations each day.

78
Open Discussion / Re: Zombie posts
« on: June 08, 2023, 09:21:20 AM »
This has been truly annoying. I try my best to keep up and delete them as soon as I see them. I will see if I can make the account creation more stringent.


79
The very first thing I would do is to use version 3.99y Beta from this forum.

I think you can simplify your code because the BasicLabel uses the string for PLCAddresses and not the new complex address object.
Code: [Select]
Private Sub RadioButton1_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton1.CheckedChanged
If RadioButton1.Checked Then
            OmronEthernetFINSCom1.IPAddress = "192.168.1.80"
            BasicLabel36.PLCAddressValue = "D4082"
            Label23.Text = BasicLabel36.PLCAddressValue
End sub

Private Sub RadioButton2_CheckedChanged(sender As Object, e As EventArgs) Handles RadioButton2.CheckedChanged
        If RadioButton2.Checked Then
            OmronEthernetFINSCom1.IPAddress = "192.168.1.81"
           BasicLabel36.PLCAddressValue = "D4120"
            Label23.Text = BasicLabel36.PLCAddressValue
End sub

This is what I would do to see what is happening.
- View Code on BasicLabel.vb
- Go to line 740 and look for this:
Code: [Select]
    Private Sub SubscribeToComDriver()
        If Not DesignMode And IsHandleCreated Then
            CreateSubscriptionHandler()

            SubScriptions.SubscribeAutoProperties()
        End If
    End Sub
- Set a breakpoint at "SubScriptions.SubscribeAutoProperties()"
- Step through the code using F11
- When it gets to this code, look at the variable values:
Code: [Select]
                            If PA Is Nothing Then
                                SubscribeTo(PLCAddress, 1, Nothing, PropertyToWrite, 1, 0)
                            Else
                                SubscribeTo(PLCAddress, 1, Nothing, PropertyToWrite, PA.ScaleFactor, PA.ScaleOffset)
                            End If

80
Support Questions / Re: Rotational Indicator Counter
« on: May 22, 2023, 06:41:56 PM »
The only way to make multiple continuous rotations is to keep going beyond 360

81
Support Questions / Re: Rotational Indicator Counter
« on: May 22, 2023, 10:32:00 AM »
Maybe something like this:
Code: [Select]
    Private Sub RotationalIndicator1_ValueChanged(sender As Object, e As EventArgs) Handles RotationalIndicator1.ValueChanged
        Dim turns As Single = RotationalIndicator1.Value / 360
        RotationalIndicator1.Text = turns.ToString("0.0")
    End Sub

82
Support Questions / Re: Startup Form
« on: May 09, 2023, 10:26:50 PM »
The last 2 errors are a result of the first error. Since it cannot compile gTrackbar, it cannot create the DLL's

If you double click the first error, what line of code does it take you to?

83
Support Questions / Re: Startup Form
« on: May 07, 2023, 09:53:58 PM »
Be sure to close forms in VS and do a Rebuild ALL

The bin directories and file in them are created by VS and not anything you can create. By deleting them, forces VS to recreate them.

84
Support Questions / Re: Startup Form
« on: May 05, 2023, 07:53:28 AM »

85
Support Questions / Re: data binding crash
« on: May 01, 2023, 07:28:28 PM »
When you say "whole application" do you mean Visual Studio?

86
Support Questions / Re: Program locks up if connection is interrupted
« on: April 22, 2023, 09:16:55 AM »
The event or property ConnectionEstablished and ConnectionClosed I can't find them.
They don't exist for the Omron driver. Attached are some patch files that can be used with 3.99y Beta that adds those events.

Extract the zip file, then replace the files in the AdvancedHMIDrivers project with the attached files, then Rebuild Solution

NOTE: These events have not been tested

88
Open Discussion / Re: Floating Numeric display
« on: April 18, 2023, 01:06:21 PM »
No, I'm using the latest version 3.99x
Try the version 3.99y Beta from this forum. I think it supports the @F with the Omron driver

89
Open Discussion / Re: Floating Numeric display
« on: April 18, 2023, 12:38:31 PM »
What code do I have to use to read floating point numbers and also double integers with omron plc with the OmronEthernetFinsCom driver?.

I tried the following code, but it doesn't work, I get the error "The string entry is not formatted correctly"
         Dim ValueFloat As Single = EthernetFins_ST60.Read("D2000@F")
         Dim ValueDint As Integer= EthernetFins_ST60.Read("D2000@L").
Are you using version 3.99y?

90
Support Questions / Re: Program locks up if connection is interrupted
« on: April 06, 2023, 08:38:06 PM »
How to prevent the program from crashing when accessing a plc that is not connected?. It can be controlled with some instruction that the plc is connected before accessing to read in it?.
Are you using V3.99y beta? it has better communication handling.

Pages: 1 ... 4 5 [6] 7 8 ... 343