PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe-6738 Sine Wave generation clock

Solved!
Go to solution

Trying to determine what kind of accuracy to expect from a PXIe-6738 analog output channel using the Voltage Sinewave Generation mode on the test panel. I.e. just need to output a simple sinewave at a known frequency and be assured it is accurate to some ppm.

I'm assuming one of the internal base clocks is used? Then some divider logic is used to get me the desired frequency. Can anyone confirm if this is indeed how this is accomplished? 

0 Kudos
Message 1 of 3
(1,048 Views)
Solution
Accepted by topic author JohnW242424

In the SFP, you specify the sampling rate and in turn, determines the Sine signal frequency (1/1000 of the sampling rate).

santo_13_0-1626142318451.png

 

In terms of your question on the accuracy, there is only one 100MHz timebase onboard with 50ppm accuracy and the other 20MHz and 100kHz timebase are derived from this 100MHz.

santo_13_1-1626142768581.png

santo_13_2-1626142786263.png

 



The actual frequency will depend on the coercing of the sample clock to the available divisor with the base clock. Unfortunately, you don't have a direct way to read back the coerced sampling rate. If you're using LabVIEW/any ADE for automation, you can read back actual sampling rate using property node and thereby you know the actual frequency.


In the below snippet you can see that, though you request 17356 as sampling rate, the generated frequency is not 1/1000 (coerced due to available sampling rate) and turned out to be 17.3551Hz.
santo_13_3-1626143035913.png

Ideally, the 50ppm base clock accuracy directly translate to sampling clock accuracy and if you're generating a complete cycle, then 50ppm directly applies to the frequency generated.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(1,014 Views)

Got it.

Knowing that all timing is derived from 100MHz clock is what I needed to know.

Thank you

0 Kudos
Message 3 of 3
(991 Views)