How to measure frequency with PCI-4474 card

Hi,
I'm trying to measure frequency with PCI-4474 card.
Any sample code available?
Thanks.

Hi,
Thank you for posting the the NI forums.  There aren’t any example programs that ship with the DSA drivers.  Will you be using this with the Sound and Vibration Toolkit?  If so, there are numerous examples that install with this software package.  Check out the LabVIEW Example Finder >> Toolkits and Modules >> Sound and Vibration Toolkit. 
In addition to this, you could also use the signal processing VIs that ship with LabVIEW.  There are also examples that ship with LabVIEW that use these VI in Example Finder >> Analyzing and Processing Signals FFT and Frequency Analysis.  There is an entire Signal Processing palette that should contain the functionality that you need.
I hope this helps.  Post back if you have further questions. 
Ed W.
Applications Engineer
National Instruments

Similar Messages

  • How do I configure my PCI-GPIB cards so that one is a controller and the other is a device being controlled by the first card

    I have 2 PC's, both fitted with PCI-GPIB cards. One will be the system controller and the other will be a device on the GPIB bus. How do I configure both cards using LabWindows/CVI v7.0 to achieve this ? What commands are used to send and receive the data ?

    Hi Pete,
    For the controller board you don't really need to do anything. By default the GPIB interface is configured as controller.
    The non-controller can be configured in MAX. Right-click on the interface, uncheck the ono-controller box and change the primary address. It is usually a good idea to set these parameters programatically. Use ibpad to set the primary address and ibrsc to release system control.
    For the controller you can use a device descriptor (using ibdev) or a board descriptor (ibfind).
    You can only open a reference to the non-controller board using ibfind (ibfind("gpib0"), for example). This will open a board reference. You cannot use a device reference because that implies that the board is capable of addressing the bus. On
    ly the system controller can.
    Here are some links I found on the web on this subject:
    Passing GPIB Control -- System Controller vs. Controller In Charge
    Tutorial: Programmatic File Transfers over the GPIB
    Example: Using a C Program as a GPIB Non-Controller with LabVIEW as the GPIB Controller
    Example: Serial Polling Between Two Computers (Controller and Non-controller)
    Hope this helps.
    DiegoF
    National Instruments.

  • Does performing a DAQmx Clear Task on a PCI-4474 card change the state of the IEPE current?

    Does performing a DAQmx Clear Task on a PCI-4474
    card change the state
    of the IEPE current?  If the IEPE current was on, does it remain
    on even though the task as been cleared?  If the IEPE current
    remains on, then I assume I don't have to wait for the IEPE current to
    settle if I make a new Task and start a new measurement--is this
    correct?
    Thank you in advance for your help.
    Ken

    DAQmx Clear Task should not turn off IEPE current. You will have to explicity set IEPE current to On (for that channel) whenever you use any of the AI channels on your 4474 in order to keep the IEPE On because the IEPE for all channels in the AI subsystem will be set to the default state (Off) unless explicitly configured. That said, if you clear a task that had IEPE On, and then initialize a new task and set IEPE On, the IEPE will be uninterrupted and there should be no need to wait for the IEPE to settle. Other components of your measurement system might need time to settle if their state was changed between tasks (DUT, sensor, AC coupling, etc.)
    Doug
    NI Sound and Vibration

  • UCS C220 M3S with PCI mezzanine card raid SAS 2008M-8i :((

    Hello
    May be someone has already spend a little time with this configuration. the main stuff is my ucsc doesn't think he has disk to boot one even if with CIMC I see the opposite.
    I configure with server conf utility ucs-cxx-scu-3.1.3b.iso with raid1 and as I have 2 UCS C220M3S I do also with Raid0 on another one. the trick is when I install ESXI 5.1 (VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso) during install the setup od VMware detect the disk and install on it but after reboot always same storie no disk !!!
    I don't see where to do something ??? So If someone encountered this problem, my be has already find the trick
    The bios is C220M3.1.4b.0 and I have also  a PCI Broadcom 5709 1Gbps 4 port NIC on slot 2 on both UCSC
    here is the config 2xXeon CPU E5-2650 @2.00Ghz with 64 GB of Ram.
    Any idea is welcome
    Cheers
    CX
    and for the one configure  with raid1

    UCS C220 M3S with PCI mezzanine card raid SAS 2008M-8i
    file attach UCSC220M3S right setup.pdf give illustrated answer
    Point was VM distribution but bios which does not see SAS PCI Mezzanine Ctrl
    Thanks to PDI help

  • How to measure frequency

    hi i have made FM Jamer circuit in multisim 13 , my circuit image you can see below , now i want to measure the Measure Frequency which is Generated it L1 Inductor , so i do not know how to measure frequency in multsim , please help me , or also it would be good to use Antena instead of inductor or not , i have not see any Antena component in multsim 13 

    Hi Zahis,
    The measuring probe measures frequency, this video shows how you can use a probe in Multisim:
     http://www.youtube.com/watch?v=xKEQ3EXEaP8
    Tien P.
    National Instruments

  • Sound and Vibration Measurement Suite with PC Sound card?

    Hi all,
    I'm new to LabVIEW, so please bear with me.
    I would like to take some basic network measurements of a single channel hardware audio device. I have a PCI sound card which I was able to play sound files and receive input with using the sound2 Simultaneous_Sound_IO.vi. I'm wondering if it's possible and how difficult it would be to integrate this VI with the VIs associated with the Sound and Vibration Measurement Suite? I've downloaded the trial version of the Measurement Suite and it appears to include all of the measurements I need (frequency response, THD, dynamic range), however they're all designed to work with NI DAQ hardware.
    If it is possible, could someone point me in the right direction as far as integrating the two, or even post or direct me towards existing VIs if there are any?
    Thanks so much

    Which S&V vi's do you mean to be dedicated to NI hardware?
    A quick peek into the addon show me waveforms as input and the sound vis have a waveform output.
    OK I didn't look at the examples and by habbit ignore the express vis .   But maybe you just want to use a program instead of programming your application?
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Can I measure frequency with a SCXI-1120 module and SCXI-1320 terminal block?

    I am attempting to measure a square wave from a directional encoder to display RPM of a dynamometer. The waveform will have a frequency of 0-4KHz, with 3.6KHz being nominal, at about 5volts RMS. How can I measure the frequency of this waveform with the hardware I am currently using? In addition to what is listed above, I am using a PCI6034E GPIB card and LabView software.

    In order to measure frequency, I would not recommend to use the SCXI-1120, but the SCXI 1126, which is a programmable isolated F-to-V module.
    If by any reason you do not want to use SCXI-1126, then I would suggest to use the counter/timers of your board. The counter/timers are TTL compatible, and are the devices that we mostly recommend for doing precise frequency measurements.
    In order to have access to the counter/timers of your board through your SCXI chassis, you will need SCXI-1180, which is basically a feedtrhough panel for your DAQ board.
    Once we have access to the counter/timers through the SCXI chassis, we can proceed with the coding.
    I found a pretty good webpage that clearly explains how to perform frequency measurement with the DAQ-S
    TC counter/timers (DAQ-STC is the type of counter/timer chip that you DAQ device has). Here is the link to it:
    Pulse Width & Frequency Measurements
    As you will see, this link contains tutorials, application notes and example programs. I would recommend to pay special attention to the example program called: DAQ-STC: Measuring frequency.
    Good luck with your application!

  • Section of the data collected with PCI 1422 card connected to a CCD camera looks step-like

    I am using the PCI 1422 card with a DALSA CA-D1-0128T camera to acquire and save fluorescence data from a heart stained with a potentiometric dye. The camera is set to work at 490 frames per second. My acquisition program (made using a producer consumer loop in Labview 2009) works fine most of the times, but sometimes a small section of the collected data looks step-like (not continuous). I have attached herewith a word document containing a snap of the data. Could you please give me some suggestions as to why this happens and how can I rectify it? 
    Thanks in advance 
    Anuj Agarwal 
    Attachments:
    Doc1.doc ‏123 KB

    Hi Anuj,
    First, this sounds like a very cool application.  What are you measuring? Is it in vivo?
    I believe that I see what you are referring to--is it where your cursor is that you are seeing the "step" problem?  Also, could you give us a little more information aboutwhat type of data we are looking at?  Is this some sort of image analysis data?  
    In terms of code structure, due to the way that LabVIEW handles image data types (it is essentially a pointer to the data instead of the data itself), I wouldn't recommend passing an image via a queue.  
    So, please let me know a bit more about what type of data we are looking at, and what your code looks like, and I'll be happy to help. 
    Cheers, 
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • Will DAQ with PCI-4474 and a Kinemetrics Episensor ES-U sensor work?

    We are planning to setup a DAQ system measuring some low level vibration. The system considered will be a PC based card, PCI-4474 and a Kinematrics Episensor ES-U accelerometer. Before purchase,we would like to find out is there any compatibility issue between these two devices or any complicacy in setting them up. Suggestions are welcomed. Thanks.

    Hi Zenz,
    I just want to ask how is your project going regarding the PCI-4474 and a Kinematrics Episensor ES-U accelerometer. I am using the same model of accelerometer from Kinemetrics but now it's power by an old ADC from Kinemetrics also. Now were planning to shift to NI DAQ including the power supplies. Were more on vibration testing.
    Thanks
    Sherwin
    Philippines 

  • How to Measure Frequency to RPM NI-DAQmx Tasks

    Hello,
    I am trying to measure frequency using NI DAQmx task and then convert this to an RPM if at all possible.
    I have the following hardware options at my disposal.
    I have SCXI 1126 Module along with a SCXI 1327 terminal, as well as a PXI 6289 Multifunction DAQ.
    I have wired in a mag sensor to ai7 on my 1126 and when I pass a metallic object I get a amplitude of 6  - 8  so I am able to read the mag sensor.
    What I am trying to do is to somehow convert this analog measurement into a RPM while only utilizing the NI DAQmx task.
    Any help would be appreciated.
    Tim
    Solved!
    Go to Solution.
    Attachments:
    Freq Set Up.jpg ‏2993 KB

    So I would select new in "Custom Scaling"
    Then would I select linear?
    Your calculations are simple but I am unsure if this would give me the desired result.  From my attachment I am seeing an input amplitude of 6 Hz for each pulse.  What I mean by this is that every time I bring a ferrous object near my mag pick up I get a pulse, this is what I was trying to illustrate in the attachment.  The analog pulse comes in a 6 Hz so I would simply multiple this pulse by 60 (assuming I get one pulse per rotation) to get RPM?
    How would this make sense if I only input one pulse for a long duration of time? 
    I have notice the amplitude of the pulse input increases with increased pulse frequency.  Does this mean the lowest RPM I can record is 360 RPM?  
    Tim

  • How to Measure frequency of less than 300 Hz

    Is it possible to measure frequency without a counter module? All I have is a cDAQ with 9205, 9221 and 9263 modules.

    Hello,
    I am assuming that you want to measure analog frequency, since you have analog input and output hardware.  There is a useful LabView Help file titled Measuring Analog Frequency.  You will be able to measure analog frequency using just software and no counters.  However, this involves using Fast Fourier Transform (FFT) functions that are only available in LabView Full and Professional versions.  Please also take a look at the examples in the Example Finder.  Some helpful ones are titled … Signal Generation and Processing.vi, Spectrum Measurements.vi, and Simple Spectrum Analyzer (sim).vi.  These example’s block diagrams are a little busy, however you can see how they are using simulated signals with the FFT Power Spectrum.vi.  Note that the example titled Spectrum Measurements.vi uses express functions.  These functions are going to involve less programming, but offer lower program efficiency.
    Samantha
    National Instruments
    Applications Engineer

  • Measure frequency with 2 counters

    Hello,
    I'm measuring a digital frequency signal using a PXI-6602 module using the 'high frequency with 2 counters' method.  From the examples I have found, it seems that you specify only the counter which is doing the measuring and the measurement time.  How does LabVIEW know which counter is used to generate the HF pulse reference train, for example:
    ctr 0 - measuring 200kHz signal
    ctr 1 - generating  50kHz signal
    Do I independently set up and start the ctr1 generation, and as log as it starts before the measurement commences, does LV then sort it all out without any other input?
    Thanks
    Dave

    You should connect the signal (whose frequency needs to be measured) to Ctr-1, and there gonna be an internal connection between the output of the first counter and the gate of the second counter (as described here).
    You may want to check this link as well.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Measuring frequency with counter or analog input?

    I have some frequencies which I need to measure. Some signals are digital and some are analog.
    I have a PXI-6040E DAQ which has both counters and analog inputs. 
    I heard that you can measure higher frequencies with the counters than with analog inputs.
    What is the range of frequencies an analog input can determine versus a digital counter? 
    Where is the cutoff that you must absolutely use a digital counter to determine the frequency?
    Is the cutoff different for different DAQ cards? Or is generally the same.

    Have you looked at the specs for the device? The max sample rate and the max counter input will be listed there. The max frequency for an analog input is based on nyquist sampling theory. Are you at all familiar with? It states your sampling frequency has to be at least twice the frequency you are measuring.
    Since each device might have a different max sample rate, your last question is answered.

  • RTSI cable configuration with PCIe 1433 card

    Hi All:
    I tried to trigger my line camera with RTSI signal.
    The layout is: trigerr signal  is generated from one PCI card 6259 (Dev2/ctr0). The line camera is connected with one PCIe 1433 card, and the two cards were connected with RTSI cable.
    The problem is that how to register or configure PCIe 1433 with RTSI cable in MAX, it seems I can only configure PCI card within RTSI cable ......
    If it is true, how should I do to rout the trigger signal to the camera, such as "route Dev2/ctr0 to Trigger line 0"?
    Below is printscreen of MAX Configuration. Attached is my VI.
    thanks a lot.
    Bob
    Attachments:
    Triggered with RTSI from DAQ.vi ‏63 KB
    camera configuration.jpg ‏218 KB

    Thanks a lot, the post helped.
    But I am still confused with the details:
    To camera and PCIe 1433 configruaration, as the attached pictures shows: RTSI is configurerd as Camera Control Line as number "2"; the exposure control of camera is defined as "triggered".
    In previous attached VI, you may find that the IMAQ configurer trigger is applied to define trigger  type as "RTSI", trigger number as "2".
    About ttrigger signal from PCI 6259 (Dev2), digital pulse is generated and output terminal is defined as ctr0 ( seems only ctr0 or ctr1 is option).
    So I still do not know how to route signal from "Dev2/ctr0" to "Imag0 CCL 2" in labview.
    By the way, I read  the online example "LL Triggered Ring using DAQmx Pulse Train", http://www.ni.com/example/29476/en/.  Within this VI,  the DAQmx Connect Terminals VI is applied to route the counter's output to a RTSI pin so the signal can be used by the IMAQ device. However Dev2/ctro is not recognized as scour terminal, only other items such as PFI, APFI or RTSI are avaible, and output signal source is also limited with similar things, sounds like just internal connectrion with Dev2.
    thanks a lot.

  • How to measure frequency when no static line

    Hi. I think to directly measure frequency using DAXmx function my input signal should be connceted to DAQ PFI Lines but in my application the clock frequency is outputted on P0.0 line . Is there any way to directky measure frequency uding DAQmx function or I should do it manually?
    Thanks

    Hi tintin,
    you really should have learned to post good ( read as: meaningful, with sufficient explanations and background information) questions after more than 200 posts in this forum…
    What frequency do you want to measure?
    What is the relation to outputting your own "clock frequency" on some DO pin?
    Which hardware do you use?
    Why do you need to measure a signal frequency when you know that frequency as you output that signal?
    How do you measure frequencies "manually"?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

Maybe you are looking for

  • The slide show runs in "live mode" but will not run from the browser.

    Here is the link to the web page http://www.williamshomesteadranch.com/welldone.html This is the first time that I've tried to use a widget and it looks good, but will not run fromthe browser.

  • SLD error coming . Pls help

    In Design when I click Import Software Components version I get error Unable to read software component versions from System Landscape Directory "sapp06ci:50000" Pls help Regards

  • JDBC Reciever Encoding

    Hi my scenario is FILE -> XI -> JDBC Im using content conversion to convert the file from flat to xml the encoding is UTF-8 , I want to change it to ISO-8859-8 because the hebrew letters is changed to question marks any ideas? thx,Shai

  • [HELP HELP HELP!!!] I JUST WANT 4 SPEAKERS WORKING NOT 5

    I have searched the whole internet for a solution no one seems to know what im talking about. I have a HP Pavilion DV7 Notebook with windows 8.1 installed 8 gb ram and amd-a6 processor overclocked to 2.30ghz and my pride Beats speakers. For sometime

  • AAA accounting on ASA 5510/ 8.4(1)

    I have AAA accounting setup and working on my ASA 5510 running  8.4(1). I can account specific service based on TCP ports, etc. I want to do accounting for VPN use sessions for when users connect and disconnect from the VPN in the 5510. I found sever