LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication timeout

I am using ESP300 motion controller,after I run the programme always it is giving communication timeout error,but controllor is moving after end the programme it is giving that eror,sometimes it is giving that error sometimes it is not giving,Engineer came here and see this error but he could not able to solve that problem,if you know the reason to that error please send some information,so that we could run our instrument.
 
Thank you
Message 1 of 5
(3,818 Views)
The only ting I can see is that you shoud change the representation of the timeout control from DBL to I32 to avoid any rounding during conversion. Maybe the function will get a 1 ms timeout. Although 0 is an exact representation in DBL and should give 0 in I32.

If this does not help you should contact support directly.
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 5
(3,809 Views)
Hi,
 
I see the message only now and I cannot open your VI cause I'm still with labview 7.1, but I use also the ESP300 and I had same problem of timeout using the GPIB commands. I don't know if you use only the GPIB commands, me I try to change all GPIB commands by VISA commands and the  timeout error disapeared, I don't know why it disapeared but it seems that the problem is from the GPIB driver for me.
I had the timed out problem when I was reading the position and sometimes in movement, my first solution was to clear this error (always error 6 timed out) but with a try with VISA session this problem was resolve, no timeout error.
 
Regards.
 
Greg
Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
0 Kudos
Message 3 of 5
(3,752 Views)
This is the code in LV7.1.
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 4 of 5
(3,734 Views)
Hi,
 
So I test yesterday on my application the communication with the ESP300 using VISA session and my GPIB card, no error timed out happened for test during more than 12 hours.
I let here my little library made on the ESP300 library for GPIB but modified with VISA, there are not for the moment all commands. I do not test the serial communication, so if someone use this library and serial let me know if serial is working.
 
Regards. 
Greg S.
CNRS
LV 7.1 8.2 8.6 2009 2011 2012 2013 2014
LPMC - CNRS
N'oubliez pas de complimenter cela fait toujours plaisir.
0 Kudos
Message 5 of 5
(3,725 Views)