Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

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,364 Views)

Could anyone help please?

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

No text needed, please check out my sig.

 

Shane

Message 3 of 8
(5,353 Views)

what do you mean?

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

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

0 Kudos
Message 5 of 8
(5,342 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,335 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
(5,324 Views)

Thanks guys. I got the idea.

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