Jump to content

Remote VISA timeout takes longer than expected


bbean

Recommended Posts

Can someone help explain why the attached code takes longer than ~1 sec to execute if my network connection is down. As you can see in the NI Spy screenshot it takes >15 secs.

If the network is down I ASSume the 1000ms timeout should abort the VISA open. I know I shouldn't assume.

post-549-1168470539.jpg?width=400

:headbang:

Link to comment
Can someone help explain why the attached code takes longer than ~1 sec to execute if my network connection is down. As you can see in the NI Spy screenshot it takes >15 secs.

If the network is down I ASSume the 1000ms timeout should abort the VISA open. I know I shouldn't assume.

post-549-1168470539.jpg?width=400

:headbang:

I had a similar problem a while back with "remote" FPGA open which is really just a special VISA open. The FPGA open/close/read/write timeouts can not be set. So, one solution was to use a VISA open with a custom timeout. I experienced the same problem and just gave up... Heres the post at NIs website.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.