02-04-2010 07:57 PM
Hi All
I need to control an device using a LAN cable connection. I am able to communicate with the device and i able to write a string into the device, however when i try to read out the data and the response from the device, it just simply pop me an error
VISA : (Hex 0xBFFF0015) Timeout expired before operation completed.
From this, i try to increase my timeout error to 10s (10000) and try again but no luck. I don't know what happening from that .
I try to use normal TCPIP socket which is not a visa, when i read out the data, it is OK
Does any body know what's happening ??
Thanks
William Lee
02-05-2010 02:41 AM
Hi All
Btw, I use labview 7.1. Now I faced a problem that when I write a string thru the visa Write function, it pop me the error:
The connection for the given session is lost ...
I try to reconnect the device but still same pop me the error that stated above.
I don know what happening, can somebody help.....
02-05-2010 02:46 AM
Please refer to the attachment is a NI Spy file
Btw the the timeout timer I use is 30s.
02-08-2010 05:37 AM
Hi William,
Thanks for the info, the NI Spy log seems to indicate that Write and Read are not working as expected. To help further could you drop me the VI you are using along with some information about what it's doing please, it may just require some TCP KeepAlive functions or perhaps the use of some additional properties on the VISA reference line but additional information will help me narrow that down.
Kind Regards,