LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout attribute for resource versus timeout param for WaitOnEvent

Couldn't find a direct answer in the documentation for this question, so maybe someone can shed a little light. Does the timeout attribute for a resource override the timeout parameter set for WaitOnEvent ?

 

For example, I set the VI_ATTR_TMO_VALUE to 4,294,967,294 but set the timeout on WaitOnEvent to 5000, when does the WaitOnEvent actually return ? If I could test this myself I would, but currently I can't Smiley Frustrated 

0 Kudos
Message 1 of 4
(2,582 Views)

Hi jcobb003,

 

What software version are you using?

 

Regards,

Mitchell Faltin

Applications Engineer

National Instruments

www.ni.com/support

 

0 Kudos
Message 2 of 4
(2,528 Views)

I'm using the vesion of the API that came with NI-VISA 16.0. The header file says VISA library 5.7.

Note that I'm not actually using LabVIEW, I just didn't know what other board to put this. The actual implementation is being done in Ada (interfacing to C of course). Smiley Happy

0 Kudos
Message 3 of 4
(2,523 Views)

You mentioned in the original post that you are unable to test this. Why is that? 

 

My recomendation would be to set up a test case and record results. Once we have that, we can begin to troubleshoot any issues that we run into

 

Best Regards,

Mitchell Faltin

Applications Engineer

National Instruments

www.ni.com/support

 

0 Kudos
Message 4 of 4
(2,505 Views)