Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Period measurement with external clock

Solved!
Go to solution

Hi,

 

I have the USB-6210 and I'm using Labview 8.0. 

I use the 6210 for period measurement of a signal. I have another card (not NI) that I would like to sync with the 6210. The other card has a 10MHz clock with a TTL output.

 

I'm trying to use the 10MHz TTL of the other card as an external clock for my measurements (this would essentially sync the two). The period measurement doesn't support external clocks. I can't make the CI count edges work either. Any suggestions? Is it possible to sync the 2 cards? If not what are my options?

 

Thanks a lot,

Eyal

0 Kudos
Message 1 of 6
(3,926 Views)

Hi Eyal,

You can import a Master timebase through a PFI line or you could use that external clock as a reference; your 6210 would then Phase Lock Loop the timebase to the external signal. Both of these methods you could use to synchronize the two devices. Are you getting an error when trying to use an external clock for a period measurement?

Matt
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(3,899 Views)

Hi Eyal,

I double checked and unfortunately your USB 6210 does not have PLL capabilities. Also, I’m not entirely clear on what you are trying to accomplish.  You can set the counter Timebase source with a DAQmx channel property node like in the picture. This will let you use the 10MHz clock from your other device for your counter tasks if you connected it to a PFI line.

Ctr timbase.PNG

Matt
Applications Engineer
National Instruments
0 Kudos
Message 3 of 6
(3,886 Views)

Hi Matt,

 

I tried to use the node and I got the following error: Specified property is not supported by the device or is not applicable to the task.

 

All I'm trying to do is to have an external signal as the source and an input signal as the gate.  That way I can count how many source pulses (external clock) I have between each two rising edges of my input signal (gate). It is exactly identical to the period measurement task I just want to use an external clock and not the internal one.

 

Thank you,

Eyal

0 Kudos
Message 4 of 6
(3,867 Views)
Solution
Accepted by topic author Eyal_S.

Hi Eyal,

 

How do you have your task configured?  It should look something like this:

 

 

Counter_Input.png

 

 

Best Regards,

John Passiak
0 Kudos
Message 5 of 6
(3,850 Views)

Hi John,

 

Thank you it works great.

 

Eyal

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