Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Get several interrupt endpoints data?

My device has 2 IN interrupt endpoints, of which default sets to 1. How should I do it to listen to both simultaneously? Do I need to open a different session for each one?
And in the other hand I've not come by writting in OUT interrupt endpoint. What function do I need to use (Labwindows/CVI)??
Image Hosted by ImageShack.us
0 Kudos
Message 1 of 3
(3,344 Views)
Here's a link to the same post that answers this question:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000000D50000&UCATEGORY_0=_318_&UCATEGORY_S=0

Note that multiple IN interrupt endpoints for USB is supported in NI-VISA 3.2.

Kris Klemett
National Instruments
0 Kudos
Message 2 of 3
(3,342 Views)
I am having a problem using 2 interrupt endpoints, and the link posted here is broken.  I have searched all over the NI website, and cannot find the article linked here.  I have 2 interrupt endpoints 1, and 8.  I get 2 handles for the device and set the first to use endpoint 1 and the second to use endpoint 8.  Then I install 2 different callbacks for the 2 endpoints, however whenever either endpoints sends interrupt data, both callbacks get called without anyway to distinguish which endpoint generated the interrupt.  I am using Visa 3.3.
0 Kudos
Message 3 of 3
(3,195 Views)