Current Position:Home > Digital frequency measurement speed in labview

Digital frequency measurement speed in labview

Update:11-30Source: network consolidation
Advertisement
I am using a USB 6210 device to measure low frequencies of 50 to 1000 Hz. I need to log the frequency every 50ms. I do this in a while loop in labview using a 1 counter low frequency measurement in labview and saving the data using express VI.Each iteration of the loop takes atleast 60 to 100 ms just to read the frequency inside the loop. How do i increase the speed of measurement in Labview ?
Solved!
Go to Solution.

The Best Answer

Advertisement
PraveenB,
Here is a table of the Counter terminals and related PFI lines.  This can be found in the NI DAQmx Help. (http://digital.ni.com/public.nsf/allkb/CCDFC93878BD8781862570FC00559980?OpenDocument)
Default NI-DAQmx Counter Terminals
Counter/Timer Signal
Default Pin Number
Signal Name
CTR 0 SRC
1
PFI 0
CTR 0 GATE
2
PFI 1
CTR 0 AUX
1
PFI 0
CTR 0 OUT
6
PFI 4
CTR 0 A
1
PFI 0
CTR 0 Z
3
PFI 2
CTR 0 B
2
PFI 1
CTR 1 SRC
4
PFI 3
CTR 1 GATE
3
PFI 2
CTR 1 AUX
4
PFI 3
CTR 1 OUT
7
PFI 5
CTR 1 A
4
PFI 3
CTR 1 Z
2
PFI 1
CTR 1 B
3
PFI 2
FREQ OUT
8
PFI 6
When you choose counter 1 in the Create channel VI it automatically reserves the gate which is PFI2.  If you use Counter 0 then PFI 2 will work fine.  Likewise if you use Counter 1 you can use anything but PFI 2.
Message Edited by Jason_D on 10-24-2008 11:43 AM
Sincerely,
Jason Daming
Applications Engineer
National Instruments
http://www.ni.com/support
  • Digital frequency measurement speed in labview Update:11-30

    I am using a USB 6210 device to measure low frequencies of 50 to 1000 Hz. I need to log the frequency every 50ms. I do this in a while loop in labview using a 1 counter low frequency measurement in labview and saving the data using express VI.Each it

  • PCI-6280 (M-series) digital frequency measurement Update:11-30

    Hello, I am trying to use a PCI-6280 board with NI-DAQmx and C++ to measure the frequency of an approximately 36kHz external digital clock source. I have been playing with the "Dig Freq-Low Freq 1 Ctr" example in the NI-DAQmx ANSI C examples dir

  • Digital frequency measurement Update:10-11

    Hi, I'd like to measure the frequency of a digital input signal with my PXIe-6358. I have found examples and codes like  Help » Find Exampels » Hardware Input and Output » DAQmx » Counter Measurements » Digital Frequency » Meas Dig Frequency-Low Freq

  • Frequency measurement using Labview 8 and Fieldpoint FP-CTR-502 - wind speed measure Update:11-30

    All the information regarding this kind of application seems to be outdated, I did not find no solution or example to construct frequency measurement VIs using Labview 8 The examples at "NI Discussion Forums : Most Active Hardware Boards : FieldPoint

  • New M Series DDK Example: High Frequency Measurement with 2 Counters Update:11-30

    This example demonstrates how to configure two counters on an M Series device to measure a high digital frequency. One counter generates a continuous pulse train of a set frequency while the other counts the external signal using the pulse train to l

  • Digital Frequency Measuremen​t for cRIO Update:11-30

    Hi, I'm new to LabView, and I'm having problems setting up a VI for frequency measurement. Any tips would be greatly appreciated! Task: I am using a cRIO with a digital I/O module (NI 9403). My goal is to connect the sensor that I am using (a MAXIM 6

  • What's the maximum digital I/O frequency for the NI LabVIEW RIO Evaluation Kit ? Update:10-11

    Hi! I'm trying to analyze some sort of sine signal at the frequency of about 3 MHz. Because the analysis should be very precise and fast (about 10 samples per period), I'm needing the maximum digital I/O frequency of the NI LabVIEW RIO Evaluation Kit

  • Is it possible to make a Frequency Domain Reflectometer using LabView? For waveguide frequency measurement? Update:11-30

    Hi everyone I have a tricky question that I have looking around for the answer but couldn't find it! I want to know if I can build a Frequency Domain Reflectometer (FDR) to measure frequency return in waveguide. Telecommunication engineers would unde

  • Measuring digital frequency Update:11-30

    Dear, I am working on a test stand that will be used for fatigue tests for a suspension, chassis etc. De vehicle components will be charged by hydraulic cylinders. These hydraulic cylinders are controlled by an AO and DO module (NI9263 & NI9401). Fee

  • How to use a photogate for frequency measurement using a NI USB-6211 Update:11-30

    Hello, I am extremely new to LabView and am having trouble using the counter feature (or if this is even what I should be doing). I am trying to use a photogate as a frequency counter when a voltage spike is created by blocking the sensor. This will