LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check 6 digital signals change value at the same time with PCI-6229??

I am using DAQ card PCI-6229.

 

 

Channel 1 generate a digital signal.

Channel 2,3,4,5,6,7 acquire digital signals.

 

I want to check:

1. Whether the rising edge of Channel 2,3,4,5,6,7 occures at the same time;

2. The time delay from the rising edge of Channel 1 to the rising edge of Channel 2,3,4,5,6,7 is within a certain range.

 

I know I can use counter to get the two edge seperation time delay. But I only have two counter, it is two time-consuming if I check one by one.

 

I don't know how to check the rising edge of 6 different channels occure at the same time.

 

Does anyone has any suggestions?

 

Thanks

 

 

 

0 Kudos
Message 1 of 2
(2,479 Views)

Hello,

You can use the DAQ card's digital input change detection circuitry to detect changes in the input, you can then use a counter to measure the relative time between samples. Please read Page 6-9 DI Change Detection Applications for more information. Let me know if this helps

Christian A
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(2,445 Views)