Spectral analysis of an acquired signal

Hello there,
I am trying to acquire a signal for spectral analysis. I have set the analog input VI to 1Chan/NSamp/Dbl format, and fed the data to the express spectral analyzer VI. The VI is set to acquire arrays of 100 samples length, before feeding it to the FFT VI. The problem is, however, that the waveform graph I use to present the spectral distribution shows spectral analysis for a bandwidth of 0.5 Hz only (0 to 0.5 Hz), and I have no clue why this happens. I am sure there is something I do not know about how to set the application to go right.
P.S. I have also tried the low level FFT VI, the wavegorm graph shows a bandwidth corresponding to the number of samples being acquired at each iteration, (100 in my case), which really confuses me. I have looked at the examples, and none of them uses DAQ for FFT, they all use signal generators which work fine with me.
Does anyone have an idea of what I am doing wrong, any help shall be greatly appreciated...
Thankyou for your patience,,,
Bedair

Hello there,
Attached is a sample code of my problem, please note that I use LabVIEW 8.0
Thank you for your help,,,
Bedair
Attachments:
sample_code_fft_noise1.vi ‏86 KB

Similar Messages

  • 8051 based spectral analyser

    Greetings,
    I am working on a project that consists in creating a spectral analyser for the power line using the 8051 and the ADC0808 for analog to digital conversion. In the LabVIEW I am trying to sample the waveform of the power line and use the FFT algorithm to perform the spectral analysis with 0Hz to 2.5kHz of range.
    Do you think that is possible to use this uC with no problems to perform this application with the Instrument I/O Assistant? Here is the screenshot that what I am trying to do.
    Observation: The frequency of the desired signal that I am trying to sample is equal to 60Hz and the ADC0808 has a conversion time equal to 100us.
    Thanks,
    FBorges22
    Attachments:
    Spectra.PNG ‏32 KB

    Borges -
    The I/O Assistant is used to help you establish communication with serial, GPIB, Ethernet devices. It does not, however, process signals in any way.  You should be able to establish communication without any problems using the I/O Assistant.
    To perform an FFT analysis of your signal, you will need to use one of the many signal processing VIs in LabVIEW. There are express VIs that do Spectral Measurements as well.  
    I hope this helps
    Bruno Noronha
    Bruno Noronha
    Certified LabVIEW Associate Developer
    Using LabVIEW 8.6

  • Could I do the spectral analysis of blood pressure data only use your software?

    Dear,
    I am doing an experiment about baroreflex (Blood pressure reflex) using a system of PowerLab (ADInstruments). I have many data that I want to do Spectral analysis and try to find specific software to do that. I found from literature that you may have a software (LabView?) could do spectral analysis of blood pressure.  If so, could I do the spectral analysis only use your software?
    Thank you,

    Hello mlin,
    LabVIEW can interface with your transducers using hardware.  Once the acquisition is over, LabVIEW can get the data and convert the time information into the frequency domain so that you can see the amplitude of each of the frequencies involved with the signal.  I am just curious about the equipment you will be using.  You will need some data acquisition cards that have drivers for LabVIEW unless you are just getting the information from a desktop instrument.  If you are using a desktop instrument, then LabVIEW could send the commands to automate the process.  I hope this answers your question.
    Steven T.

  • Using two daqmx create channel to acquire signals in random

    Hi
    I am trying to acquire signals from PXI 4472 with two DAQmx create channels. The channel selection is random. For eg. first create channel i have ch. 0, 2, 4, and 6 and the other create channel is Ch. 1,3,5 and 7. This I can do, but the problem is that I need to write the acquired data in seperate files for each channels and that too in sequential order. How can I do that. I know i need to use the loop but how will I will select the channels from two different task.
    Thanx in advance
    Nitin

    Ok, here was my idea, I am not sure if it will work for you or not after looking at your VI. 
    You can use some of your subVIS that you made to make the path different for each file.  But what I had in mind for the channels was what I did in the vi i attached.  You can just repeat the process for each of the channels and you would know that they were saved correctly.  You could also feed in the iteration number of the main VI while loop to have the binary files change sequentially (ie, data1, data2, etc).
    Again, this may not be a route you want to take, you may have other ideas. 
    Ill try to work on it some more later, but I have to get back to work for now
    Kenny
    Kenny
    Attachments:
    pxi subvi idea.vi ‏31 KB

  • Why is it that when I saved the waveform of my acquired signal into a wav file, the output waveform of my saved file turn out to be different from my input signal?

    Hi all,
    I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct.  I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
    Thanks. 
    Attachments:
    heart sound analyzer.zip ‏257 KB

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • Remove blue line in spectral analysis; paintbrush not selectable

    I'm trying to remove a persons talking from a sound file.  His talking shows up in spectral analysis as the color blue.  Is there some way to select and mute it?  The paintbrush is not selectable, tried to do this manually.  Audition clearly identifies the speaking, so if it could be removed, that'd be great.
    Thanks

    Sounds like you may have "Spectral Pitch Display" on, which draws a blue line for pitch correction and analysis, but does not expose the selection tools as you've seen.  Just turn on standard "Spectral Frequency" view and the paintbrush and other spectral selection tools will be enabled.  (You can click the left-most Spectral button in the tool bar, or just use the SHIFT+D default shortcut)

  • Spectral Analysis using Lightroom

    A bit of an odd question, but I would appreciate any help.
    Is it possible to use Lightroom as a spectral analysis program for standardized images?
    For example:
    I have numerous standardized images of geological samples.  Some are lighter, some darker depending on the makeup of the sample.  Can I export the spectral histogram from Lightroom as a data point for the composition of each sample?  Is there any way to access the histogram/spectral data in a way that allows it to be quantified and placed into a database?
    Thanks for the help!
    -Marshall

    The histogram is based on Melissa RGB which is ProPhoto RGB primaries with a gamma (TRC) of 1.0 which isn’t easily exported so I doubt this is going to be useful to you. The histogram (here or in Photoshop etc) are not based on spectral data anyway. This is probably more useful for you:
    http://store.rmimaging.com/spectrashop4.aspx

  • Acquire Signal with NI-SCOPE 5102

    Hello. i'm a beginner in LabView. I have to acquire signal from a NI-Scope 5102 and I have absolutely no idea how to do that in LabView, I instaled the drivers but in my computer I don't have the acquisition boards. I tried to see the examples and I can´t find nothing that can possibly help me. I need a step-by-step explanation of what to do. 

    FilipeV wrote:
    All right I will tell you what I have to do. In college we built a printed circuit board that produces a triangular and square signal. In the second part of the work we have to build a virtual instrument capable of selecting only of both signal or both of them at the same time, display in a graph the selected signal and saving the values in a file. The signals generated in the circuit will be read with a NI-Scope 5102. If you wanted to do this what would you do?
    I will see the examples and try to understand what I should do.
    I only had one lesson of LabView and we didn't do anything like this. We only worked with some waves and learned to control the frequency and other parameters, and to view the waves on a graph. That's why I'm so confused with this.
    I'd cheat.  You haven't been properly trained with the tool.
    Use Signal Express Set up measurement step and data logging.  Configure the OI with a boxes for chanel selection. test it.  Generate LabVIEW code
    The context aware help you'll have in SE will probably teach you a bit about scopes too.
    (I can't believe I just said that but if the profs won't teach the tools that only leaves bad practices to get'r'done) Don't think that your programming that way though
    Jeff

  • Measuring delay-time when acquiring signal?

    hi everyone,
    I'm generating and acquiring signals at the same time using 1 VI. And I need to display the delay-time in front panel. As you can see in the picture below, I have like 2us delay (for green) and about 25us (for red). 
    I'm using PXI 6733 to generate analog signal, and using PXI 5105 to acquire.
    Is there any way to display this delay in frontpanel??
    Regards,
    Yan.

    hi Gerd, thanks for reply.
    can you please be more specific about using numeric indicators? how should I put it into my program? I'm using a VI based on example NI Scope EX Stream to Disk.vi as reference. I would like to display it in front panel.
    regards,
    Yan.
    Attachments:
    niScope EX Stream to Disk1.vi ‏43 KB

  • Audition's Spectral Analysis Bug

    Hello there, 'ive been using audition for a short period of time and i've found it one of the best recording/editing softwares i have ever used. Anyway, there's something on the spectral analysis window that is bothering me. I don't if it's just some configuration that is messed up or if it is the fact that i'm new to it, but it appears nothing, just a white and stuffless window. I'm attaching a .jpg so you may undestand the issue.
    How could i fix this issue?

    If you wouldn't mind sending me a quick info file from Audition, I may know the cause of that problem.  In Audition, if you click Help > About Adobe Audition and click the SYSTEM INFO button, it will write out a text file with some information about the installation.  If you could send that as an attachment to [email protected], I'd appreciate it very much.  I'll be better able to verify if what we believe to be the cause of the effects issue you describe is in fact relevant to your installation.
    Thanks in advance,
    Durin

  • Spectral analysis?

    what are people using for spectral analysis in logic express. ive tried searching the internet and cant find any good options. obviously it needs to be au and since im running intel it also needs to be ub. oh yea and free would be pretty nice too. haha.

    I was using Inspector. It's still free.
    http://www.rogernicholsdigital.com/inspector.htm
    Dual 2.5Ghz 2004; 2.5GB RAM   Mac OS X (10.4.8)  

  • How do I acquire signal few seconds before triggering

    Hello guys,
    I am working on impact test and I want to acquire signal few seconds before trigger starts. How do I configure my DAQ assistant to do that?
    Thanks.
    Solved!
    Go to Solution.

    Well usually you configure your DAQ device (Which one do you use?) to continiously capture data into a ringbuffer and set the triggerposition to 20%-50% (related to the number of samples you want to read). After the trigger is set the start of your data will be set by the driver. 
    All this is done by the DAQmx or scope driver. Just set the samplerate, number of samples, trigger and position of trigger.
    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 ǝɥʇ'

  • FFT analysis of a spectrometer signal

    Hi all,
    I am acquiring spectrometer (Ocean optics hardware) signal via USB data acquisition into LabVIEW.
    The signal is
    Wavelength(nm)        Intensity
    xyz                              xyz
    xyz                              xyz
    xyz                              xyz
    xyz                              xyz
    The set up is as follows. The light is incedent on the PET film which has a thin coating of dielectric material using Ocean optics spectrometer.
    Now i need to analyse this signal to find the thickness of the dielectric material and frequency components using FFT.
    Excuse me if i am not clear about anything.
    Regards,
    KM

    Hi ejkaiser,
    Sorry i was little bit confused with the data set i posted before. let me make it clear. 
    The spectral data set (Raw Data) is as shown below.
    The thickness data is shown below.  I need to increase the resolution of the thickness data. Excuse me if i am not clear about anything.
    Raw data from Spectrometer
    Wavelength (nm)
    Intensity
    344.16
    1257.45
    344.381
    1257.45
    344.603
    1257.45
    344.824
    1273.84
    345.045
    1232.88
    345.267
    1671.14
    345.488
    1605.61
    345.709
    1634.28
                   continues uptil
    1041.76
    1693.67
    1041.91
    1621.99
    1042.07
    1638.37
    1042.23
    1716.2
    1042.39
    1708.01
    Output after FFT
    Thichness (X-Axis)
    150.2n
    Amplitude (Y-Axis)
    15.0889
    300.4n
    22.9708
    450.7n
    11.9293
    600.9n
    13.9295
    751.1n
    37.245
    901.3n
    81.2098
    1.052u
    122.347
    1.202u
    111.464
    1.352u
    48.7365
    1.502u
    27.3915
    1.652u
    value continues
    19.6806
    Regards,
    KM

  • Acquire signals from a monitor

    How does one acquire the physiological signals from a medical monitor? The monitor is a non-national instruments monitor. The patient monitor records ecg, invasive blood pressure from a patient and displays this on a screen. This information is relayed to a central station. Is there a way to obtain these signals and see the ecg and blood pressure waveforms in labview and thus analyse these waveforms. Thank you

    Sssantosssh wrote:
    How does one acquire the physiological signals from a medical monitor? The monitor is a non-national instruments monitor. The patient monitor records ecg, invasive blood pressure from a patient and displays this on a screen. This information is relayed to a central station. Is there a way to obtain these signals and see the ecg and blood pressure waveforms in labview and thus analyse these waveforms. Thank you
    Is reading the manual for this medical monitor something you are not capable of doing?

  • Analysing and generating a signal

    Hello,
    I am using NI Multisim 13.0.I want to generate a signal similar to the one shown in the attachments acquired using labview which is the output of a phototransistor.The output image contains 10 signals each contaning each acquired by using 1k samples and below freq images shows freq components only 1 signal of 1k sample.From the images it can be analysed that it has DC volatge of 2.6V but I am confused as it contains different frequenices and most(very high number) of the frequencies are lying below around 1Hz and some are lying at  around 135 and others at 275 to 300 and very less number of other frequency components.
    What all things to be taken to generate these kind of freq's and How to add these different kind of frequencies to the DC component so as to generate the signal that will be same as in the shown image.
    I want to genearte this signal in multisim as this will used as a input for designing the filtering stage in multisim.
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Generate_signal.pdf ‏174 KB

    Hi Tien P,
    I am trying to read the samples in .LVM (that are saved using 'one header only while' writing into .LVM file) that has samples for more than 1 sec duration since 1sec duration has 1k samples so more samples will be there for more than 1 sec as shown in the attached file.But When I am trying to read this into the multisim uisng LVM voltage source it only showing 1 sec samples waveform (as shown it the attached image)and after that it is not plotting anything but it is supposed to plot the as many samples that are in the .LVM file.
    Can I know how to read all the samples form the .LVM file.
    Thanks.
    Attachments:
    unable_to_conts_samples-LVMfiel.JPG ‏92 KB
    contsamplesheader1.txt ‏645 KB

Maybe you are looking for

  • MacBook Pro No Longer Operational

    I have a Macbook Pro which was purchased in 2005, I believe.  I currently have been running MacOSX 10.5 on it.  It had been running decently, but within the last couple of days, I've totally lost its functionality.  Initial Symptoms: Spinning Ball De

  • Updating my IPOD Touch to OS 4.1

    when trying to update to OS a message appears "An error occurred while backing up this ipod (-120) Would you like to continue to update this ipod without back up? Continuing without backup will result in the loss of all contents on this ipod" Is it O

  • Canon Raw File Transfer using Canon 7D / Lion / Aperture 3.2

    Is anyone finding issues in unloading raw files with a Canon camera and the latest software?  I have been doing this successfully for some time using Aperture 3.1 with Snow Leopard.  I use a 13" MBP with 8GB of memory and a huge hard drive.  I upgrad

  • Tabbing Between Forms

    Hi Im working on a poll about people style life in housing and homes later, after the identification of person, i go to the housing tab and in the las question ask the number of homes..... it look like something like this: Well, that what i need its

  • I Cannot do Alignment in SFP Form

    Hi Guys, I need a solution to my issue here, which is related to SFP forms. I cannot do alignment to some certain columns in the left and right?!! However, I can delete it and modify its content. Can any one tell me how can I do this?