Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

External Clock as Timebase (NI PCI-6122)

Solved!
Go to solution

I am using the PCI-6122 card and want to provide a very accurate external clock (preferably 10 MHz) as a timebase. I tried to connect my external clock signal to PFI-8 and then to internally route PFI-8 to RTSI-7 but this didn't work. I am using only one card and thus have no rtsi cable beeing installed.

 

Can you help me setting up the card to use my external clock?

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

You should be able to just use the signal on PFI-8 as the clock source, without any routing to RTSI lines.  I would look at the example Acq&Graph Voltage-Ext Clk.vi.  It can be found in the Example Finder by going to Help»Find Examples... and in the browse tab selecting Hardware Input and Output»DAQmx»Analog Measurement»Voltage.

 

Doug F

Applications Engineer

National Instruments

Doug Farrell
Solutions Marketing - Automotive
National Instruments

National Instruments Automotive Solutions
0 Kudos
Message 2 of 6
(3,534 Views)

Thank you for the answer. However, the example you are pointing me to is providing an external sampling clock, which will set my actual samling rate. I am wondering if I can just apply a 10MHz standard as external clock (replacing the cards onboard clock) and then choose with the software whatever sampling rate I want to use?

 

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

thunder_ wrote:

I am wondering if I can just apply a 10MHz standard as external clock (replacing the cards onboard clock) and then choose with the software whatever sampling rate I want to use?

 


May be you can try using the 'SampleClock>>Timebase>>Source' Property available with the DAQmx Timing Property Node.

 

Also internally 6122 may be using a 10/20MHz timebase. Is there any issue that you faced becasue of which you want to go for an external timebase?

Message Edited by kikiduu on 02-09-2009 01:42 AM
------

"A VI inside a Class is worth hundreds in the bush"
യവന്‍ പുലിയാണു കേട്ടാ!!!
0 Kudos
Message 4 of 6
(3,513 Views)

kikiduu wrote: 

May be you can try using the 'SampleClock>>Timebase>>Source' Property available with the DAQmx Timing Property Node.

 


Hey actually there are no routes available to sampleClockTimebase from PFI or RTSI lines. So whatever I suggested is not going to help you. So only thing that you can do is use external sampling clock. Also you need not do any routing to RTSI lines if you use PFI 7, 8 or 9.

------

"A VI inside a Class is worth hundreds in the bush"
യവന്‍ പുലിയാണു കേട്ടാ!!!
0 Kudos
Message 5 of 6
(3,510 Views)
Solution
Accepted by topic author thunder_

Thank you for your help. It seems that there is no way around and I have to "spend" an extra signal generator (locked to my 10MHz reference) to provide a sample clock, locked to my experiment.

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