ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(5,363 Views)

Could anyone help please?

0 Kudos
Message 2 of 8
(5,358 Views)

No text needed, please check out my sig.

 

Shane

Message 3 of 8
(5,352 Views)

what do you mean?

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

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

0 Kudos
Message 5 of 8
(5,341 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
(5,334 Views)
Solution
Accepted by topic author 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
(5,323 Views)

Thanks guys. I got the idea.

0 Kudos
Message 8 of 8
(5,304 Views)