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

Pages: [1]
1
Support Questions / Re: EthernetIPforCLX example in C#
« on: December 19, 2016, 01:20:23 PM »
Do you have a sample WinForm  app in C# that uses EthernetIPforCLX ?  I looked at the sample C# and it does not appear to have any communication in it.

2
Support Questions / Re: EthernetIPforCLX example in C#
« on: December 19, 2016, 01:17:14 PM »
It was changed at the bottom of MainForm.Designer.cs where the member was declared for the MainForm class.  Then in the call to the constructor in InitializeComponent() and, lastly, there is a class with a PLC communication thread that has a ref to the object as a member.

I also had to comment this line out :

   (( System.ComponentModel.ISupportInitialize )( this.m_ControlLogix )).BeginInit();

and a corresponding EndInit() call because of exceptions.

Now, when the program runs it gets continual exceptions and no communication happens.

I am very inexperienced in C#.  I have a LOT of experience with C++ though.




3
Support Questions / Re: EthernetIPforCLX example in C#
« on: December 19, 2016, 12:29:24 PM »
I have now have the app building and running but it doesn't seem to work correctly.  I see continuous exceptions and see no data.

The way this started is I got a little app from a co-worker.  He said it would build and it runs.  I can't get it to build.  I download the v3.99s package from SourceForge and with a couple of tweaks it will build but, as I wrote, it doesn't run right.

The main change I made was going from EthernetIPforCLXCom to EthernetIPforCLX.  After that change, the program throws an exception in a call to (( System.ComponentModel.ISupportInitialize )( this.ABcomm )).BeginInit();

My questions are - what is the version that uses EthernetIPforCLXCom?  Is that available anywhere?  What can I do to make BeginInit work or is it even necessary?


4
Support Questions / Re: EthernetIPforCLX example in C#
« on: December 19, 2016, 10:51:40 AM »
Thank you for your reply Archie.  I'll see what I can do with that.

5
Support Questions / EthernetIPforCLX example in C#
« on: December 16, 2016, 06:51:02 PM »
Hello, I am having problems getting my program to build and run correctly.  Is there a sample app in C# that uses EthernetIPforCLX available anywhere?  Also - is there documentation available for the class?  I ask because I haven't been able to find any.

Pages: [1]