Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2183

24 v digital out signal from host event to fpga turning on and off

$
0
0

Hello Ni forums 

 

Hardware Specs

 

crio 9074 

c series module ni 9472 module digital 24 V output

 

 

To expand on the subject describes,

 

I want to be able send an alarm trigger to the fpga 9472 digital out that lasts for 30 seconds using the real time os clock time on the host

 

 

 

The way I approached this problem is that 

 

In the loop where the event occurs , if the event trigger is set then the fgv has a time stamp of when the event occured is sent.

In the loop that communicates with the fpga control, I write to the control based on the condition that if the difference the of the current time checked and the time from the fgv is less than or equal to 30 secs then it will send a true value, else  send false and wait for the next event occurence.

 

The main problem after implementing this is that the 9472 led does not turn off when a false value is send to it.

 

regards Mzamanstl

 


Viewing all articles
Browse latest Browse all 2183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>