NX-Series Processors - Frequent Crashes During IP Client Processing
Reese Jacobs
Posts: 347
in AMX Hardware
I am in the process of upgrading some systems from NI to NX processors. I have run into multiple instances where an NX-1200 processor (running latest firmware - 1.5.68) will reboot during the middle of performing IP client operations. The latest reboot occurs when an IP connection has been made to an RSS weather server and the HTTP response from the server is being processed. It occurs at the same point in time and is very repeatable. This is not the first time I have seen the NX reboot during network operations - I initially did some testing with the old i!-EquipmentMonitor module sending email via SMTP and the processor would reboot when sending an email message. I have since converted to the internal SMTP functions so that problem went away.
I am curious if anyone else has run into similar problems with NX reboots. I do not have *any* devices connected to the processor - no EXB devices, no touch panels, no AXLINK, no ICSLan, etc. This is very disconcerting and does not give me a lot of confidence in the NX upgrade. The same code runs on an NI-3100 without any problems. I have several NX-4200 processors that I have yet to test so I guess that is the next step unless someone has other recommendations.
I am curious if anyone else has run into similar problems with NX reboots. I do not have *any* devices connected to the processor - no EXB devices, no touch panels, no AXLINK, no ICSLan, etc. This is very disconcerting and does not give me a lot of confidence in the NX upgrade. The same code runs on an NI-3100 without any problems. I have several NX-4200 processors that I have yet to test so I guess that is the next step unless someone has other recommendations.
0
Comments
Tools: yeah no kidding. At the Developers Conference we've requested the addition of being able to see IP communications in the diagnostics. What we've been told is that it is very difficult to pull off since IP communications happens in a layer outside the layers of Netlinx. There is no way to port it through for whatever reason. This is from the Firmware engineers. Haveing said that, I usually just have to do a send_string 0 for smaller messages and for bigger messages, I create a large global buffer to hold strings. Then I copy/paste out of debug into a text doc to read.
Also it's a good idea to telnet into the master and turn messages on. IP communications messages do happen there and while in no way comprehensive, the do often provide helpful clues. MSG ON ALL.
It may turn out this is a hardware problem but I doubt it seriously. It seems to be related to the new TLS functions. I am not using TLS certificate validation nor have I introduced any TLS/SSL certificates onto the master. The master is running standard 1.5.68 firmware. If anyone is interested in giving the test program a spin, I can send you the AXS file so you can examine the code, compile it, and see if your NX handles it any better. I have several NX-4200 processors here so I guess the next step is to try them.
I will separately try to send the test file to AMX Tech Support but since I am only an independent programmer and not a dealer, I am not sure how they will treat the request. Thanks to all who posted for the additional data points.
Simon
var = 0
switch([array[var]])
Any chance your parsing code has a similar construct?
Paul