Fourier Transform and the DAQ Assistant

Hi,
I'm trying to take the fourier transform of a analog voltage measurement in Labview 8.6 and I'm having a problem with the data.
The measurement is an anaolog input voltage signal taken using the USB-6211 box.  I am acquiring the signal on ports 15 and 16 (differential) with the DAQ Assistant at a rate of 5KHz, 200 samples.  The setup works perfect thankfully, and a very nice waveform plot is generated on the VI.  I would now like to add a fourier transform of this plot to do some frequency analysis.
I found the FFT function, but when I tried to add the DAQ output to it, I got an error about dynamic data.  It takes me to a screen which I don't understand about dynamic data conversion, and I'm not sure what to do from this point.  My FFT graph is basically just a flat white line, which is wrong.
How can I just take the basic fourier transform of a waveform in this setup?

Hi
Your thinking is not bad. You have only some scaling problems. You may toy with the vi I am sending. Change the log/linear control and see the result.
You will find all information you need here http://zone.ni.com/devzone/cda/tut/p/id/4541 and http://zone.ni.com/devzone/cda/tut/p/id/4541. The dt value is the reciprocal of the sample frequency(1/x) The unit is second, and it will give you the time interval between two samples.
Also note how I use the "Dynamic To Waveform Array.vi" to convert the dynamic data. This VI is not documented by NI, but you find it here ...vi.lib\express\express shared\transition.llb\Dynamic To Waveform Array.vi
Good luck
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Attachments:
Spectrum Analyzer.vi ‏32 KB

Similar Messages

  • Time jumps when I use NI 9217 and the daq assistant

    Hi,
    in my program I want to measure temperature and pressure,
    the pressure part have no problem and I get the right signal in the right time but if I start the temp. Measurement I get time jumps in my graph and I have no idea why this happen.
    I have tried every setting from the daq ass. for the measurement of the temp. (sample, rate, timeout) but it makes not really a difference.
    Pleas help me before I freak out.
    Best and regards
    sascha
    Attachments:
    3druecke_temp.vi ‏165 KB

    ok the problem is your " time has elapsed " vi . Try the attached vi . remove the case structure and you can see the difference . it will give you an idea ............
    Attachments:
    difference.vi ‏68 KB

  • I do not have the daq assistant vi on my labview 2010 and have found no drivers for it what should i do

    I do not have the daq assistant vi on my labview 2010 and have found no drivers for it. I downloaded the service pack but  that did not have it either what should i do.

    Hi Youzhang He, 
    Did you install LabVIEW first on your PXIe 8102 before the drivers?  Most likely, you're missing LabVIEW support for your DAQmx drivers. Fortunately, this is an easy fix. What you should do is open Add/Remove Programs, select National Instruments Software, select Uninstall/Repair. In the window that pops up listing NI software, select NI-DAQmx 9.x and select Modify. In the window that appears, expand Application Development Support and select to install LabVIEW support.  From here complete the install process and restart your system.  LabVIEW support should be installed and DAQ Assistant should appear in your palette.
    Allie

  • Error message from labview when trying to set up the DAQ assistant

    I recieve a message from labview when I try to set up the DAQ assistant and select a channel to use. The error I get states "An exception occured within the external code called by a Call Library Node. This might have corrupted LabView's memory. Save any work to a new location and restart labview". Labview then freezes. I have reset the DAQ device in trying to slove this but I still get the same message. How do I solve this?? thanks - mars2006

    Hi Mars-
    It sounds like your NI-DAQ installation may have become corrupted. I would suggest uninstalling and reinstalling the DAQmx 7.4 driver to correct this problem and ensure that you're up to date. This download is available here: NI-DAQ 7.4
    If the problem persists you may want to uninstall and reinstall LabVIEW and then NI-DAQ in that order. The error message will usually give an indication as to which VI the error occurred in. Please let us know which VI is failing if you're unable to avoid the error with these suggestions.
    Have a good day-
    Tom W
    National Instruments

  • How to deal with the Error-89130 about the DAQ assistant?

    Once prss the "test" button of the DAQ assistant, the "Error-89130 occurred at DAQ Assistant" show up. It`s no doublt that the labview programme with a DAQ assistant  can`t be run and instead  the " Error-88303 occurred at DAQMx star Task Vi:1" or " Error-88304..." show up while other labview programme without DAQ assistant can run corrrectly. I have reseted or reinstalled the DAQmx, but it didn`t work.  Any other ideas for troubleshooting this? Thanks

    Please refer to this KB, and see whether it works. If problem also exists, please tell the DAQmx version and the DAQ card name.
    Haifeng Xu
    NISH AE

  • How to control a digital output signal using the DAQ assistant?

    I am using a USB 6251 DAQ board and would like to control a switch. I am gathering airflow, pressure, and acoustic data on the same board (analog input) and would like the switch to trigger when the airflow value is within a pre-determined range. Finally, I would like to reverse the polarity of the switch (to off) about a second after the initial digital signal, all of which is during continuous data acquisition.
    I am able to actuate the switch only when pressing the "run" button in the DAQ assistant window. I am proficient with data acquisition but have never tried programming an output... Please help!
    Thanks!
    -a troubled researcher
    P.S. I am running LabVIEW 8.5 as well.

    blsmith4,
    You probably won't get the control of the digital port on your card by only using the DAQ Assistant. One of the following examples should provide you the functionality that you would like out of the box:
    Digital - SW - Timed Output (Simple)
    Digital - Continuous Output (More Complex)
    Continuous Write Digital Port - External Clock - Non Regeneration (Most Complex)
    Let me know if these work better for you.
    Best,
    Jason M.
    Applications Engineer
    National Instruments

  • I do not see the DAQ Assistant Express on Functions Input palette.

    Software config: Windows XP machine, Traditional NI-DAQ 7.4.4 for PCI 6602. I do not see the DAQ Assistant express on Functions>>Input palette. I get error message when I place the Instrument I/O assistant on the block diagram:-" Measurement and Automation Explorer or Instrument I/O Assistant not installed correctly. Please install from LabVIEW CD". I've tried uninstalling, re-installing driver and rebooting my computer several times.

    Hello PJ-SJM,
    The DAQ Assistant Express VI installs with the NI-DAQmx Driver and not Traditional NI-DAQ.  The good news is that the PCI-6602 is supported in both Traditional NI-DAQ and NI-DAQmx.  Check this KnowlegeBase article to find out what version of NI-DAQmx you need and then search the Drivers and Updates page for to find the version you need.  Once you download and install the driver you should see the DAQ Assistant Express VI on your functions pallet.
    The Instrument I/O Assistant is not for use with DAQ cards, it is for using other communication protocol like serial or GPIB.  However, if you need this you can install the Device Driver CD and it should work after that.  Note:  The device driver CD that came with LabVIEW should also contain the correct version of NI-DAQmx.
    I hope this helps, and have a great Friday!
    Brooks

  • In Labview 8.5, what happens if the signal input exceeds the signal input range set by the DAQ Assistant?

    Hello all,
    This should be a pretty simple question, but I can't seem to find the answer on-line and don't currently have the capabilities to test this:
    I'm using LabVIEW 8.5 and have a VI that imports sensor data through the DAQ Assistant. In the configuration tab there is a signal input range. What happens if my sensor exceeds this range? Will I get a warning? Will the value default to the maximum (or minimum)? I was interested in writing in some code to display an error as I approach the limits of this range, but was unsure if I also needed to include some code to display an error if the range is exceeded as well.
    Thanks for the help,
    Tristan
    Solved!
    Go to Solution.

    Hello Tristan,
    The behavior depends on the range you choose and the device you are using.
    If you are using a device with only one valid input range, we will use this range even if you set a smaller minimum and maximum in the DAQ Assistant.  Thus, if your device only supports ±10V and you set the range to ±8V, you will still continue to get valid data after your sensor exceeds 8V until you approach 10V.  Once you reach the limit of the range of your device, the output will "rail" and just return the maximum value until the signal drops below the maximum again.
    Note: A device that is nominally ±10V usually has some overshoot (like ±10.2V) that is typically specced in the manual.
    However, if you are using a device with multiple input ranges then things get more complex.
    The NI-DAQmx drive will pick the smallest range that fully encompasses the range you choose.  So, suppose your device supports the following input ranges: ±0.2V, ±1, ±5V, and ±10V and you choose 0V - 3V as the range in the DAQ assistant.  The NI-DAQmx driver is going to look at your input range and the list of input ranges that your hardware supports and choose the smallest that encompasses the full range you set.  This would the ±5V, because that's the only range that contains up to 3V.  As a result, any input signal between ±5V will be returned and any outside this range will "rail" to either the maximum or minimum value.
    We do this because using smaller ranges make more effective use of the resolution of the ADC.  Thus we try to use the most efficient range based on what you request without picking a range that will cause you to miss data.
    Let me know if I can clarify this further. 
    Seth B.
    Staff Test Engineer | National Instruments
    Certified LabVIEW Developer
    Certified TestStand Developer
    “Engineers like to solve problems. If there are no problems handily available, they will create their own problems.”- Scott Adams

  • Is the DAQ Assistant compatible with LabView7?

    I am equipped with LabView7 and a NI DAQ-Pad 6015 and am trying to monitor temperature using two thermocouples. I have searched for some tutorials online but most suggest using DAQ assistant, which is not listed in the input section of my functions palette. I have downloaded the most recent NI-DAQmx driver which is supposed to be compatible with LabView 7.x. I'm not sure if this means that it is compatible with LabView 7.0. I still do not see the DAQ assistant appear.
    Any help or suggestions (about DAQ assistant or how to program in LabView7 to solve my problem) is greatly appreciated!
    Thanks.
    Solved!
    Go to Solution.

    I have installed DAQmx 8.1 and now the DAQ assistance appears. However, when I select Analog Input >> Temperature >> Thermocouple and arrive at the physical channels screen, it says "No supported devices found."
    I also notice that when I open the Measurement & Automation explorer, it does not appear to detect my DAQ pad, even though the light on it is blinking Ready. A window pops up and says "Can not find RTE directory: C:\Windows\system32\cvirte" followed by "Unable to open c:\program files\national instruments\max\bin\cvirte.rsc". After clicking okay to both windows, I check under Devices and Interfaces to see that my DAQpad 6015 is not listed.
    Previously before I had uninstalled everything and reinstalled using DAQmx 8.1 my device was detected, but now it doesn't seem to be detected anymore.
    Also, I just realized that while it says everywhere that I have LabView7, when I start the program, the opening window has LabView7 Express written on it. I hope this isn't the cause of all the troubles.
    Message Edited by Particle42 on 05-28-2009 03:19 PM

  • Can't see the "DAQ assistant express VI" in LabView7 express

    i am using the LabView 7 express avaluation package, and trying to use my PCI 6132 DAQ card with it.
    i cannot see the "DAQ assistant express VI" simbol in the "input" box, and therefore cannot connect to the DAQ.
    all drivers are installed, and i manage to log data directly from the DAQ, using the "Measurement & Automation" software.
    any ideas?
    doe's the evaluation version even supports this DAQ?

    GilKlar,
    Did you install DAQ first, or LabVIEW? The most common cause of this problem is that DAQ support was installed before LabVIEW support. In this case, the DAQ driver will not find any valid installations of LabVIEW and thus, will not install the necessary VIs. Please try repairing the DAQ installation and making sure that support for LabVIEW is checked.
    If this does not solve your problem, please let us know what version of the DAQ driver you are using, as well as how you are acquiring data in MAX.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • There are no inputs or outputs on the DAQ assistant to connect to

    Hi everybody,
    I am new to labview and have run into some difficulties with the DAQ assistant.  I am running labview v8.0, NI-DAQmx v8.7.1 and  have a PCI-6224 DAQ installed.  It seems that when ever I drop the DAQ assistant (the instrument assistant, and the simulated DAQ has the same issue) onto the block diagram, and configure it, there are no inputs or output which I can wire a control or indiactor to.  Is there a step that I am missing somewhere? 
    Thanks in advance!
    Solved!
    Go to Solution.

    Sorry, forgot to attach the end result. Note I did have errors come up, they may have been due to no DAQ cards in my PC.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    Attachments:
    daq_test[2].vi ‏83 KB

  • How do I include all the necessary files required for the DAQ Assistant to create an executable file?

    I am creating an executable file to run on a computer that does not have LabVIEW installed.  The problem is that I am using the DAQ Assistant.  The VI Hierarchy is rather large, and I am not sure how to include all of the required files to eliminate the error "The full development version of LabVIEw is required to fix the errors."  Attached is an image of the VI Hierarchy.
    Solved!
    Go to Solution.
    Attachments:
    hierarchy.jpg ‏419 KB

    Yes I did create an installer.  See image installernoDAQmx.jpg  
    When this is all I do I get an error that subvi is not included, a list of about 6 subvi's.  To eliminate this error I manually add the subvi from the dependencies list to the my computer list. This allows me to add them as support files.  This eliminates the error about subvi not included, but then I get the error I spoke of earlier.
    If I include the DAQmx I get an error.  See image installererror.jpg
    Not sure what MAX refers to?
    Attachments:
    installernoDAQmx.jpg ‏259 KB
    installererror.jpg ‏103 KB
    dependencies.jpg ‏344 KB

  • I have recently installed windows XP on my bootcamp partition. I am in need for the drivers and what not so that it will run effectivly and the bootcamp assistant canot find the "Windows Support Sofware" Can anyone help me find it manually?

    As the title has stated, I have recently installed Windows XP on my Bootcamp Partition. I am in need of the "Windows Support Software". I am assumeing that is the information that has the Drivers and what not that allow me o properly use my Mac with windows. If anyone can help me locate this inforamtion i would be greatly.... Greatfull.
    P.S. The bootcamp assistant is telling me that the Windows Support Sofware canot be found.

    You both would have had correct awnsers, but i have a Macbook that is close to three years old. And i can't seem to find my Disc. The only reason i haven't ordered a new one in case of emergencies is I plan on upgrading to the new OS in less then a month.
    I think the following may help me (In case anyone els is looking):
    http://support.apple.com/kb/DL830

  • Command a ventilator with USB6251 and The Daq Signal Accessory

    Hello,
    I would like to make a school project using Labview and the USB6251 connected  to the Daq Signal Accessory Board.
    The Labview program must read continuously the temperature from the temperature sensor (AI channel 4, internally connected) from the Daq Signal Accessory Board. When the temperature reaches an established value, then a led on the front pannel must be turned on and an output singal from the Daq must start a ventilator connected to the Daq which cools down the sensor and then stops.
    Would it be possible to do something like this? Even if I generate a square signal and the ventilator runs only on the high state of the signal. The ventilator requires at least 120 mV DC current. I am afraid that if I take such current from the Daq I might damage the device.
    Thank you.
    Solved!
    Go to Solution.

    I guess you mean 120 mA DC current . If you look at your daq board spec you will find that the max current are far bellow 120 mA. This is true for both analog out and digital out. Take a look at this site it may help out some. http://www.me.umn.edu/courses/me2011/robot/technotes/motorcontrol/motorcontrol.html cool site. If you want speed control you have two options PWM or regulating the motor voltage.
    Good luck
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Business Rules: Account transformation and the source YEAR / PERIOD

    Ladies and gents,
    lets assume you have an amount of 100 on account A everymonth for 2 years.
    in my business rules, account transforamtion, i put those sales to be transfer to an  account B.
    When i put DEC in period and -1 in year, then it will post the previous year cumulated amount of A to B. So be will have 1200
    Now, lets assume  I put 9 in period and -1 in year then it will bring me the total of previous year October if i am in january Y1, or previous year November if i am in february... But then in march, april, ... until the end of the year it will bring previous year December.
    Now, when i put -3 in period and no change in year, for january, it brings january, for february it brings february, for march it brings march... But on April it brings january as expect...
    I want it to come with 0 for the first 3 month... and only start in april!! Why does it do that considering that it for the previous example +3 after march always brings december... why then -3 in january doesnt bring nothin!!
    Nic

    You can greatly improve your chance of receiving a helpful answer to your question if you state the version (MS or NW) and the release (5.1, 7.0, 7.5) of BPC which you are using.
    Also notice the sticky [note|Please do not post BPC, SSM or FI/CO questions here!; at the top of this forum whereby we announced new dedicated forums for BPC which are the proper place to post your questions regarding BPC in the future.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

Maybe you are looking for

  • Minor mac e-mail problem

    Hi, using the Mac-Mini I have e-mail problem, I must shut the mail program by force if I will not hav all my e-mails all over the desk. Anybody there with a problem like this

  • Change Font Size of iView Tray Header

    Hi All, I need to change the font size of the iView Tray Headers in my Portal and I can't seem to find this property in the Theme Editor. I have had a look at the following threads: How to make iview header ? and Changing the font size of the iview t

  • Imaq histograph error

    I used IMAQ Histograph VI in this vi. The image source is set as a grayscale I16 image. When it is running on the machine it works OK, but when I run it on my own computer, it shows an image type error for IMAQ Histograph. I read the help file, the m

  • Getting Error while installing UCM

    Hi All, Am getting error while installing the UCM in my system. Error description:- NOTICE:     Install logging initialized at 2/5/10 3:34 PM. NOTICE:     Installing master server. NOTICE:     Installing with Java version 1.5.0_11. NOTICE:     Instal

  • Adobe flash player installer uninstaller 10.3 r181 has stopped working

    I have a Vista 32 machine. Have tried installing, unstalling, rebooting, and over and over untill the cows came home. Totally frustrated. This litte error message is NOT VERY DESCRIPTIVE. Help