Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

No communication with ENET serial ports after a timeout

Hi everyone,

 

I have a serial equipment connected to one ENET-485/4 serial port. I am monitoring this equipment with LabVIEW 7.1 . Every time my network has a timeout of 12 seconds aproximately, LabVIEW gets a timeout error message from the virtual port. I have to close and re-open the virtual port in order to monitor my equipment again. N.I. support told me this problem happens because the timeout in the network makes virtual port miss its ID and when time out is gone the virtual port gets another ID. Also they told me  it is a problem of ENET equipment and the next version will not have this problem.Currently, they are looking for a solution to my problem, but it is taking a lot of time. I am very worried about this because I have eleven ENET 485-4 and all of them have this problem.

I would appreciate any help to solve this terrible problem.

 

Regards,

 

Juan Carlos Nieto

0 Kudos
Message 1 of 3
(3,416 Views)

Hola Juan Carlos

                          Gracias por utlizar el foro de National Instruments.

Ya hice la migracion de tu codigo y el asunto de la desconexion no se soluciona de manera sencilla programaticamente ( con el cambio de VISA se siguen generando errores con el sesion ID)

Esto , como ya te he comentado, sera corregido en un futuro y te prometo que todos en la empresa haremos lo posible para que sea de la forma mas rapida y eficaz.

gracias por tu paciente espera

saludos

 

Erwin Franz

Certified LabVIEW Architect, Certified TestStand Developer
0 Kudos
Message 2 of 3
(3,383 Views)

Hi everyone,

 

I'm having an issue with the serial ENET's. If the Ethernet link is gone for more than 10 seconds the ENET stops sending the serial read and after a while the LED that indicates that the port is being used turns off.

 

I have tried the following solutions:

 

Item Action Point Date Started Date Finished Results Comments
1 Normal operation of ENET. Open serial port and start polling for "Bytes at port"  14-jun-10 18-jun-10 ENET stops reading serial bytes randomly in time. 7 serial ENETs in the same PC. Connected via Cisco Configurable Switch. One Ethernet Built-In NIC on Dell Optiplex 960 Windows XP SP3. NI Serial 3.5.1. ENET Firmware REVA1
2 Remove WAN access to configurable Cisco switch and make a LAN with ENETs + PC. 18-jun-10 28-jun-10 One ENET stopped communicating with PC after 10 days of operation. In this test the PC didn't accessed to remote servers, no database reading/writing. DIO Enets & Serial ENETs in the same LAN.
3 Install 2 NICs on Dell Optiplex 960 23-jun-10 28-jun-10 The 7 ENETs stopped communicating at the same time. NIC 1 used to communicate with ENET's LAN. NIC2 used to access remote servers and activate database reading/writing. IT people changed the IP of NIC2 while the program was running. Doubtly test. The app got restarted on 28/jun/2010 and it's still working on 29/jun/2010. The app will be monitored during the next days.
4 Reproduce issue in LAB 28-jun-10 28-jun-10 Issue found If you disconnect Ethernet cable from ENET for more than 10 secs the ENET stops communicating. No error is poped-up on LabVIEW app and there's no other way to restart the communication than power cycle.
5 Update to NI Serial 3.6 29-jun-10 29-jun-10 Issue still present No change. No new firmware found for the ENET on NI Serial 3.6

 

If the ENET loses the ethernet link for less than 5 secs the ENET will keep sending the bytes read.

 

Any ideas are appreciated.

 

Thanks in advance.

0 Kudos
Message 3 of 3
(3,066 Views)