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 ... 3 4 [5] 6 7 ... 342
61
You can open Visual Studio Installer and add the feature without re-installing VS completely

62
When you installed VS, did you install the Desktop workload?

63
Try moving some of the older data files to another folder. I'm thinking maybe it is overflowing on too much data.

64
Support Questions / Re: Error handling in form controls
« on: September 18, 2023, 08:52:31 AM »
What version of AdvancedHMI are you using? I tried this with 3.99y Beta and unable to replicate it.

65
Support Questions / Re: Error handling in form controls
« on: September 12, 2023, 12:09:59 AM »
Can you post more detais on the error you get, such as the stack trace that shows the file and line number. The driver and built in controls should handle any expeception and show the exception on the control without crashing the program.

67
Support Questions / Re: Trouble changing IP address of MicroLogix PLC
« on: September 08, 2023, 09:40:35 AM »
This may be a dumb question, but did you unzip the project before opening it? I've come across cases of people working directly in the zip file and VS gives all kinds of weird issues.

I would also try a full clean:

https://www.advancedhmi.com/forum/index.php?topic=1062.msg5555#msg5555

68
Support Questions / Re: "The path is not of a legal form" error
« on: July 21, 2023, 10:07:42 AM »
Can you scroll the error to the right so I can see the end of the Stack Trace

69
Support Questions / Re: "The path is not of a legal form" error
« on: July 21, 2023, 09:09:58 AM »
I have a tag that I am trying to read with AdvancedHMIDrivers.EthernetIPforCLXCom.  It is a valid tag but I get the error "The path is not of a legal form".
Is that the exact error? I tried searching the error list in AdvabcedHMI, and do not find that. A more common error is "Path Segment Error"

70
Open Discussion / Re: C# Subscribe
« on: June 14, 2023, 08:29:37 AM »
As per replying to this older topic. 

I have the same issue with subscribing not working; the driver now seems to have changed since the above was posted.  The third parameter is now missing?

Below is the entirety of the solution with a Windows form.  The read tag via the  push button works fine, but the subscription is not working.
The AdvancedHMI provided demo program works; but even the below very simple case is not tripping the event.
I tried a standard (non-UDT tag) and that made no difference.

Code: [Select]

using ClxDriver.Common;

namespace PLCTestB
{
    public partial class Form1 : Form
    {
        ClxDriver.EthernetIPforCLX plc;
        //  HearTBeat
        //IPC.ComsCycleOut
        public Form1()
        {
            InitializeComponent();
            plc = new ClxDriver.EthernetIPforCLX();
            plc.IPAddress = "192.168.1.31";
            plc.Subscribe("IPC.ComsCycleOut", 1, SubscribeCallBack);
        }

        private void SubscribeCallBack(object sender, PlcComEventArgs e)
        {
            label1.Text = e.Values[0];
        }

        private void button1_Click(object sender, EventArgs e)
        {
            label2.Text = plc.Read("IPC.ComsCycleOut");

        }
    }
}

Have you tried it using a DataSubscriber?

71
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?

72
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.

73
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.


74
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

75
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

Pages: 1 ... 3 4 [5] 6 7 ... 342