FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt on analog or digital signal change

For us, the Robot season is over. However, in learning some new tricks for next year, in LabVEIW, is there anyway to have either a DIO transition generate an event (an interrupt) on an analog transision generate an event?

This would have been helpful during this season but we didn't think of it until a competition.

Thanks

"Lockheed" Joe
Testing Blog"
0 Kudos
Message 1 of 4
(5,430 Views)

Hi,

I have no expierence in this area, but would you be able include all that you want to be interrupted in a Case Structure.  With that I would imagine you could just wire DIO into the case selector.

Hope it works,

Davis Catherman

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

There is an interrupt pallete in the utitilites section. It can use a digital source (either a digital I/O or an analog trigger). I have not used it, however.

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

Thanks,

I'll try it as soon as I get access to the robot's cRio.

"Lockheed" Joe
Testing Blog"
0 Kudos
Message 4 of 4
(2,606 Views)