07-15-2024 01:54 AM
07-15-2024 02:06 AM
Hi sanjeev,
@sanjeev553 wrote:
Using sleep in the below code gives me error Connection lost , why , help me in this , i have mentioned where i am getting error
Which device are you communicating with?
What is the connection timeout setting of that device?
(Why do you ask in a LabVIEW board? 🙂 )
07-15-2024 05:36 AM
Thanks for your reply.
I am communicating with https://www.bkprecision.com/products/power-supplies/9803 BKPrecision PowerSupply 9803 .
I don't know about the connection timeout settings of the device . Can you suggest me why it is happening . What are the possible reasons . Why i am getting connection lost when any one VISA API hits.
(i have posted in other board as well but didnt got any response there.)
07-15-2024 05:54 AM
Hi sanjeev,
@sanjeev553 wrote:
I don't know about the connection timeout settings of the device . Can you suggest me why it is happening . What are the possible reasons . Why i am getting connection lost when any one VISA API hits.
Many devices I worked with keep their own "connection timeout" setting: they expect some messages within a certain time frame and when they don't receive a message they end the TCP connection on their side.
So you have to read the manual of your device to learn what this timeout is set to and how to change that setting (if there is an option to)…
07-15-2024 06:23 AM
Thanks for the reply .
Will check for the same as you mentioned and get back to you. Thanks for the suggestion.