Hello, I am trying to calculate the time difference between signals using a USB-CTR04 with LABVIEW. First, Signal 1 uses an A-B TTL pulse (100KHz), and Signal 2 uses a random signal (TTL pulse). I want to measure the time between the rising edge of Signal 1's A and the rising edge of Signal 2. I have connected Signal 1 to C0Input and Signal 2 to C0GT for two-edge separation in the USB-CTR04. Both C0Input and C0GT are set to rising edge. The time interval I want to measure between Signal 1 and Signal 2 is approximately between 20 to 100 ns. However, the measured values are too large.
My question is whether it is possible to connect Signal 1 to the TRG terminal inside the USB-CTR04 and use it to start the two-edge separation task at the moment Signal 1 is detected. It seems the measurement lacks a reference due to the randomness of Signal 2, so I want to try using the TRG for start declaration. I know that NI DAQ has an "Arm Start Trigger" function. Does the USB-CTR04 support this feature?
How can I use the start and stop triggers in the USB-CTR04? I have tried using Basic None and Gate None, but I cannot determine if this is working correctly.
Question
HJLEE
Hello, I am trying to calculate the time difference between signals using a USB-CTR04 with LABVIEW. First, Signal 1 uses an A-B TTL pulse (100KHz), and Signal 2 uses a random signal (TTL pulse). I want to measure the time between the rising edge of Signal 1's A and the rising edge of Signal 2. I have connected Signal 1 to C0Input and Signal 2 to C0GT for two-edge separation in the USB-CTR04. Both C0Input and C0GT are set to rising edge. The time interval I want to measure between Signal 1 and Signal 2 is approximately between 20 to 100 ns. However, the measured values are too large.
My question is whether it is possible to connect Signal 1 to the TRG terminal inside the USB-CTR04 and use it to start the two-edge separation task at the moment Signal 1 is detected. It seems the measurement lacks a reference due to the randomness of Signal 2, so I want to try using the TRG for start declaration. I know that NI DAQ has an "Arm Start Trigger" function. Does the USB-CTR04 support this feature?
How can I use the start and stop triggers in the USB-CTR04? I have tried using Basic None and Gate None, but I cannot determine if this is working correctly.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now