I have discovered a problem when a single application (i.e. process) is controlling multiple Ethernet modules. The error message reported by my application is this:
So the ulAin and ulCIn functions are returning error 102. The application is calling these functions many times per second. The errors are relatively rare, about once every 15 minutes on average.
The problem has been observed when controlling multiple E-1608 modules, multiple E-TC modules, or multiple TC-32 modules.
This error never occurs if the same application is only talking to a single Ethernet module.
This error never occurs (nor any similar error) if the application is controlling multiple USB modules. I have run it with 3 USB modules for several weeks with no errors.
My application runs on both Linux and Windows by using #ifdef __WIN32 or #ifdef linux to call either the Windows or Linux UL library. I will test to see if the problem also occurs when the application is running on Windows, but I don't think it does.
Question
Mark Rivers
I have discovered a problem when a single application (i.e. process) is controlling multiple Ethernet modules. The error message reported by my application is this:
[Sat Apr 29 06:35:55 2023] 2023/04/29 06:35:55.680 MultiFunction::readInt32 Error: Calling AIn, err=102 Invalid network frame
[Sat Apr 29 07:22:55 2023] 2023/04/29 07:22:55.840 MultiFunction::pollerThread Error: Calling CIn, err=102 Invalid network frame
[Sat Apr 29 07:55:33 2023] 2023/04/29 07:55:33.678 MultiFunction::readInt32 Error: Calling AIn, err=102 Invalid network frame
[Sat Apr 29 08:00:21 2023] 2023/04/29 08:00:21.678 MultiFunction::readInt32 Error: Calling AIn, err=102 Invalid network frame
So the ulAin and ulCIn functions are returning error 102. The application is calling these functions many times per second. The errors are relatively rare, about once every 15 minutes on average.
The problem has been observed when controlling multiple E-1608 modules, multiple E-TC modules, or multiple TC-32 modules.
This error never occurs if the same application is only talking to a single Ethernet module.
This error never occurs (nor any similar error) if the application is controlling multiple USB modules. I have run it with 3 USB modules for several weeks with no errors.
My application runs on both Linux and Windows by using #ifdef __WIN32 or #ifdef linux to call either the Windows or Linux UL library. I will test to see if the problem also occurs when the application is running on Windows, but I don't think it does.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now