11-02-2006 09:07 PM
11-05-2006 09:02 AM
09-04-2007 05:42 PM
Hi Jess, we are using the 6251 for sampling some analog signals. We would like to time stamp the samples with an accuracy of 10 ppm. From your post it seems like 6251 clok is 50 ppm. If we were to use an external clock of 10 ppm would it be possible to run the counter using the external clock. Could you give an example code.
Thanks
-Charles
09-05-2007
12:51 PM
- last edited on
02-11-2025
02:02 PM
by
Content Cleaner
Hi Charles,
The accuracy gain in your timestamp would come from the fact that the sample clock itself would be more accurate. The sample clock in the 6251, for example, is 50ppm. If you could provide a sample clock that was more stable, then the time between samples would be more stable.
The PXI-6608 counter board has a 75ppb (parts per billion) timebase stability compared to the 50ppm (parts per million) timebase on the PCI-6251.
The waveform data type has three elements:
t0 - timestamp from Windows when the acquisition started
dt - time between samples, calculated as the reciprocal of the sampling rate
Y - amplitude of the sampled signal
If you are using a PXI chassis then by placing a precision time source like the 6608 in Slot 2 you can override the 10Mhz PXI backplane clock. The M series (6251) can PLL it's 80Mhz timebase to the PXI backplane clock, inheriting it's stability.
I hope this helps!
Have a great afternoon.
Best regards,
MatthewW
Applications Engineer
National Instruments
09-05-2007 12:58 PM
We are planning on using an external clock derived from a GPS source. We are planning on using a 10Mhz clock to run the 32 bit counter and read the counter value after sampling. Reading the documentation I see that the counter has a source as well as data. If we do not provide a data would the counter keep incrementing. Is there a good example in Labwindows for a counter using an external clock and not using the data input.
Thanks
-Charles
09-06-2007
05:25 PM
- last edited on
02-11-2025
02:03 PM
by
Content Cleaner
Hi Charles,
Here is what I understand your application to be:
1. Provide a external clock to Source.
2. On active edge of Data to the Gate then Count will be latched into PC memory
This is called Event Counting Buffered, used when you want to measure elapsed time between sequential events occuring on the gate. The difference between this and
a non buffered event count is that the count is stored on the counter card at a hardware timed instant, as opposed to the computer sending a request to the counter card to
take a count reading. With a known Source clock frequency we can then calculate the time between each gate edge.
A example showing a buffered event count in LabWindows can be found here:
C:\Program Files\National Instruments\CVI81\samples\DAQmx\Counter\Count Digital Events\Cnt-Buf-Cont-ExtClk
Incidentally, the PXI-6608 can synchronize to a GPS IRIG-B or PPS signal.
I hope this helps!
Have a great afternoon,
Best regards,
MatthewW
Applications Engineer
National Instruments
07-27-2009 08:58 AM
Hi Jesse,
When you mean 50ppm of stability I am not sure on what clock this proportion shuld be applied:
a- on the fastest clock of the 6251, i.e. 80Mhz
b- on the time base that you use in your application i.e. either 0.1Mhz, 80 MHz or 20 MHz.
I do not see this clear in the 6251 manuals, it says:
Base clock accuracy: 50 ppm
Internal base clocks: 80 MHz, 20 MHz, 0.1 MHz
I am also doing a timing application!
07-30-2009 07:44 AM
07-30-2009 10:01 AM
Yes I think you are right
I made some calculations (you can see them here http://forums.ni.com/ni/board/message?board.id=40&message.id=7560#M7560)
So all in all derived clocks inherit the stability of the main oscillator
I am not sure yet how these errors propagate when I do a frequency estimation. Anyway that is a little bit off topic in this thread (however, any idea, you can post it here http://forums.ni.com/ni/board/message?board.id=40&message.id=7560#M7560 )
08-28-2009 04:36 AM
Hello again ....
I just noticed that it is not clear in the specifications (of 6602, for instance) if the clock accuracy includes:
- Temperature drift
- Power supply drift
I think this must be clarified in the manuals