Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Implement fast AND operation using PFI/DIO?

Basically, I am building a timing circuit that must have very low timing jitter (<<10ns ideally), and I need a way to AND two TTL signals.  I could build an AND gate circuit, but was wondering about using DAQMX to do it.  

 

Is it possible to use DIO or PFI lines to implement an AND operation without synchronizing to an internal clock?  Basically, look if both are high and generate a HIGH/LOW output on a third pin without timing jitter associated with waiting for a sampling clock?  I realize I could just trigger off of one signal and read the other, but if it has to wait for the next clock cycle of a free running sampling clock, the timing jitter will probably be too high.

 

 

 

0 Kudos
Message 1 of 6
(6,090 Views)

You won't get the speed you want.  You really just need to do this in a simple hardware circuit.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(6,061 Views)

Thats disappointing.  I was hoping one of these NI boards would save me from having to solder AND gates and wire up power supplies.  

0 Kudos
Message 3 of 6
(6,047 Views)

Have you considered using a counter task? What hardware are you currenly working with? You could potentially use a counter gate to monitor one signal and a the source to monitor the other.

 

Regards,

 

Brandon V.

Applications Engineer

National Instruments 

0 Kudos
Message 4 of 6
(6,035 Views)

I have an X and an E series board, so I certainly have a few counters available.  Do you have an example I could look at?  I guess the basic idea would be to count one signal and gate the other, but I didn't realize it was possible to produce an output signal on a pin in real time.  

0 Kudos
Message 5 of 6
(6,028 Views)

It looks like you'll have to look into FPGA solutions in order to achieve that level of response time.

0 Kudos
Message 6 of 6
(5,999 Views)