05-11-2016 06:33 AM
Hello,
I used a cDAQ9188 chassi connected to the computer with LAN Link.
For a reason that I don't understand, I usuly have the error -201250.
Why this error appear and what may I do to fix the problem ?
For the moment I have change the Timeout value from 10 s to 20 s when I used DAQMX Read / Write function, but nothing change.
I have also check the Ethernet Cable...
Thanks for reply.
Regards
05-11-2016 06:38 AM
Is there anything else on the network? Does this happen at the start of your program or after some amount of time? Do you have firewalls disabled?
05-11-2016 06:47 AM
Thanks for your answer.
Yes, the network is composed of a Ethernet Switch where a Power Supply is connected and the nationnal Instruments Chassi.
I don't know what are the setting of the firewall, but I can disable it ...
My instruments work fine from September 2015 to febrary 2016. I don't understand why the problem after...
Regards
05-11-2016 06:51 AM
@__KB__ wrote:My instruments work fine from September 2015 to febrary 2016. I don't understand why the problem after...
Did you install a driver update (or any other update for that matter)?
05-11-2016 06:57 AM
No I haven't do any driver update.
I have only add to my system a USB to RS232 cable converter.
I have also observe that sometimes my Keyboard is too Slow. I don't know if there is a link between the keyboard slow and the timeout of the instruments...
05-11-2016 07:02 AM
That sounds like something is using up resources. Have you looked at the Task Manager?
If I had to take a wild guess, you recently added code to handle your serial port and you probably have a "greedy loop" that is using up all of your CPU.
05-11-2016 07:23 AM
I haven't add a new While loop for RS232 exchange. But it is right that I have change the port to use the new RS232 cable...
I will check the computer Ressources, and maybe try to find another USB to RS232 cable.
Maybe I will try to find on Windows how to modify the execution level....
I have five equipment using USB : 1 Keyboard, 1 mouse, 1 USB to 8 ports RS232 HUB, 1 USB to RS232 and 1 USB Key...
=> I don't knows if Windows 7 managed fine all theses USB devices and could generate problems with my instrumentations... 😞
05-11-2016 07:26 AM
Does the chassis pass the Self Test?
What is the network configuration of the device?
05-11-2016 07:43 AM
Yes the device pass the self test, expect when timeout connection appear of course. In this case I have to re-init all my instruments.
I haven't modify the Networks setting. I have keep from the begining the default networks setting : It is a dynamic IP Adresse I remeber...
05-11-2016 08:38 AM
Changing it to static might help. It's a long shot, but please try it if you can.
There is also a very easy to use network monitoring tool provided by Microsoft called TCPView. You can use it to check if it shows any issues while the error is appearing.