09-10-2010 08:18 PM
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
09-13-2010 04:22 PM
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