LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb interrupt timeout event handling

Solved!
Go to solution

Hi all,

 

I am new to labview, I am doing PIC and PC USB data transfer. I am wondering is there any way I can handle the timeout event generated by "VISA wait on Event" VI, so that when there is no coming data within certain time, it would continue proccess other code rather than generate a error. I am thinking of why VISA USB intterupt has a timeout. Interrupt can only be trigger whenever it is requested, any method to link a USB interrupt event to EVENT Structure rather than polling, which makes more sense to me.

 

Untitled.png

 

Thanks & Regards

0 Kudos
Message 1 of 8
(4,580 Views)

Could anyone help please?

0 Kudos
Message 2 of 8
(4,575 Views)

No text needed, please check out my sig.

 

Shane

Message 3 of 8
(4,569 Views)

what do you mean?

0 Kudos
Message 4 of 8
(4,563 Views)

Difficult to understand your message and could you elaborate to it more exactly to problem.

0 Kudos
Message 5 of 8
(4,558 Views)

Intaris means check out the USB nugget links in his signature. They take you here and here. There is some great information there about using VISA with USB. Kudos Intaris!

John B.
Embedded Networks R&D
National Instruments
Certified LabVIEW Developer
0 Kudos
Message 6 of 8
(4,551 Views)
Solution
Accepted by Peter Huang

Yeah, sorry for being so cryptic.

 

I indeed meant the USB nuggets linked to in my signature.  I assumed once I had mentioned it they would be found.......  Sorry.

 

You should find an example of using Interrupt functions in there.

 

Shane.

0 Kudos
Message 7 of 8
(4,540 Views)

Thanks guys. I got the idea.

0 Kudos
Message 8 of 8
(4,521 Views)