LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sbrio 9612 digital input

I have found a really nice example on how to measure frequency on a fpga digital input.  However, when I am trying to find the same method I can't find the wait for rising edge method.  Where can I find that or what am I missing? 

 

Thanks,

 

Eric.

0 Kudos
Message 1 of 6
(830 Views)

Attach a link to this example you found.

0 Kudos
Message 2 of 6
(829 Views)
Sorry, I suppose that would have made sense to attach what I was talking about.

http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgaconcepts/customizing_i_o/



I can get the fpga I/o method node, but I can't figure out how to get the wait for rising edge trigger.
0 Kudos
Message 3 of 6
(826 Views)
I also suppose I should add I am using the built in digital inputs.
0 Kudos
Message 4 of 6
(824 Views)

I just ran in to the same problem.  My code worked fine on a 7853R, but when I ported it over to sbRIO 9632, LabVIEW throws an error and doesn't recognize my wait on falling edge.  Basically after reading the forums and scanning the help, it appears that the method is not available for all targets... specifically the 9632 for me.  So I'm going to have to create my own logic for the rising edge. 

 

See two screen shots attached of LV help for the 7853R and the 9612 and then a screenshot of a vi that worked on the 7853R, but is an unrecognized method on the sbRIO 9632.

 

If anyone has an efficient way to wait on a particular edge, please post it.  Otherwise I will just use a while loop and wait for the updated value to be different than the previous and the correct level.

0 Kudos
Message 5 of 6
(805 Views)

Hey sockanasa,

 

I think your idea of just using a while loop and comparing you current value with the previous one is as good an idea as any to programatically detect an edge.

 

Good Luck,

 

Doug B 

Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(784 Views)