Valid Frequency Domain Analysis ?
There seems to be two issues with using the MyDAC for frequency domain analysis ( Bode Plots etc. )
1) The system does not employ Anti-Aliasing Filters . This can create major frequency fold-back problems.
2) The analog inputs are multiplexed which leads to a channel to channel phase error .. up to 180 degrees at the Nyquist frequency.
Is there any 'behind the scenes' processing done to mitigate these issues ??
Thanks in advance
Solved!
Go to Solution.
Hello ProfP,
Thanks for the post! Sorry to leave you hanging for so long. I have some answers for the 2 points you asked about above.
1. You are correct, the myDAQ system does not employ Anti-Aliasing Filters. The ELVISmx Bode Analyzer artificially limits the input frequency when using the myDAQ to 20 kHz. At that frequency, you
only get 10 points per period from both the AO and AI.
Anti-alias filters behind the multiplexer would slow down settling behavior, so they were not included. You can add filters in front of the multiplexers (at the AI0 and AI1 pins). I'd recommend they be buffered, though. Charge injection on the multiplexer makes high speed scanning very sensitive to source impedance. Note the effect in the Settling Time versus Different Source Impedance figures (21 and 22) of the myDAQ manual: http://www.ni.com/pdf/manuals/373060b.pdf
2. You are correct. Two-channel acquisitions are phase-skewed by the 1/(2*scan rate) when the scan speed is faster than 40 kSps/ch. For example, if you acquire at 200 kSps/ch, the interval between consecutive measurements on AI0 and AI1 is 1/(2 * 200 kHz) = 2.5 us. Below 40 kSps/ch, the phase skew is constant at 12.5 us. This is intended to help very slow acquisition rates appear more like simultaneous acquisitions rather than keeping 180 degree phase skew unnecessarily. These are default configurations. You can adjust the conversion interval parameter through the DAQmx API if you prefer to customize the behavior.
Let us know if this is the information that you needed and thanks for using NI myDAQ!
Cheers
Corby
Academic Product Support Engineer
Similar Messages
-
Does photoshop offer frequency domain analysis of an image?
The standard way to remove noise, i.e. background spots, is do spectrum analysis and remove those high-frenquency signal. Is photoshop image-> adjustment -> level a frequency analysis?NR not very trivial. IMO anyway.
I had much the same questions when I moved from frequency domain to time domain. A strong preparation in analog engineering treated time domain sparsely, particularly noise. We dealt with detector noise in a nuclear physics lab by running the detectors in pairs at cryogenic temps. The detectors were connected to a coincidence circuit (and gate to you digital folks!). Even then, the output of the gate had to be carefully amplified, then subjected to an A to D converter where the output was displayed as a histogram. I'm sure things have progressed mightily since then, (ca 1950's).
I used the coincidence idea back about 2004 or so when I needed an image absolutely as noise free as possible by shooting the object (an exposed wooden frame for a building constructed from Port Orford Cedar.) twice, then constructing a curve applied to each image to allow adding them together to match the colors and values of a single shot. Extended versions of PS now allows this without any curve inventions!
Viva Al Gore Rhythms! (Didn't Bill Clinton play for him? ) -
Enhanced frequency domain decomposition for modal analysis
Hi eveyone
I can't find enhanced frequency domain decomposition algorithm for ambiant vibration of modal analysis.(Not frequency domain decomposition).
Also ı can't find to operational modal analysis example with labview.(not experimental).
Can you help me?
Best Regards...
Himmet GENCER
Software Development Coordinator at Teknik Destek Grubu
[email protected]thanks for answer.Yes I using the sound and vibration toolkit.But Exactly I don't find what ı searched.
ama ben tam olarak ne ı aradı bulmuyorum
Himmet GENCER
Software Development Coordinator at Teknik Destek Grubu
[email protected] -
Octave analysis of frequency domain data in SVT
Hello!
How can I make the octave analysis of frequency domain data in Sound & Vibration Toolkit?
Thanks,
AlfrednoviHi!
To make the octave analysis of frequency domain data you have to pass in your time domain data to the Octave Analysis VIs. The time domain data will allow you to window the signal using the correct values.
The Sound and Vibration toolkit has several examples that show how to do this. You can find them under Help>>Find Examples and then browsing to Toolkits and Modules>>Sound and Vibration. This directory has Traditional DAQ and NI-DAQmx examples as well as Octave and Third Octave analysis.
You can also look for other examples using the Example Code Library.
Good Luck,
Tica -
Frequency domain in dsp module with speedy-33 target
Hi,
I am using the speedy-33 to generate a sine wave, square wave, sawtooth wave, and a ramp wave. I am doing an FFT analysis on them to display the signals in the frequency domain. However the x-axis displays the sample number for both the time domain and frequency domain. Is there a way to moake it so the x-axis is displaying either the time in the time domain or frequency in the frequency domain.
Thanks for your help.Hi Rcarr,
I'm a little confused as to what time data you expect to see? The signal you are generating is just and array of numerics, but there is sampling information used to create that signal. Do you want to have the signal start at 0 and display the time that has elapsed?
In short, you can't do this within a VI running on the Speedy-33. However if you pass data to a host VI then you can manipulate the graph. You can do this by calculating a multiplier for the x-scale of your graph based on the dx of you sampling. There is a property node for the graph where you can set this multiplier but you can only use it on a host VI not running on the Speedy-33.
If you use the Simulate Signal Express VI you will have to create a constant that is the same value as the property you specify within the properties. You might consider using the EMB sine wave.VI that has an input for sampling rate and number of samples. You can then take the reciprocal of the sampling frequency and run that to the multiplier input by passing it to your host VI.
Let me know if I can help any further or if you have any questions.
Sappster -
Integrating a frequency domain signal
Hi
I am trying to extract the response of a frequency dependent signal :
1. First, I use the SignalFFT vi to get into the frequency domain.
2. Then I plan to integrate the FFT signal around a certain frequency and take a ratio of that wrt to the integral over the entire frequency spectrum to get a measure of how strong the signal is around that frequency.
I am choosing a range of frequencies above because the physical phenomenon producing the time domain signal produces a certain lifetime width. I need a numerical integration VI that can do step 2 above. The numerical integration VI that I found in Labview (using ver. 7.1) integrates the whole signal, and there is no way to define limits between which the numerical integration should be carried out.
Any ideas ?
Thanks.That a cool question!
This has to do with the sample rate, when you adquire the signal, you get set of samples, that hava a sample rate, and when you do an FFT on those samples, every sample corresponds to frecuency bin (kinda of frecuency samples). Example:
If you get 100 samples at 1kHz, you will get a 100 windows, this is 100 samples to represent 1kHz, however, only the half of the spectrum is valid, because of the Nyquist teorem, so this mean that from 0 to 49, you have a correct representation, from 50 to 99 you have a reflection of the spectrum. So in the first 50 "frequency samples" you have 0-500Hz
Tania Lozoya -
Hello,
I'm new in Labview. I'm trying to extract data from a Frequency Response Function to a UFF file. I know there is an example in the "Sound and Vibration toolkit" but is to extrat data from time waveforms in the Time Domain, but I wanted to extract data from the Frequency Domain.
Could anyone help me?
Thanks,
Adrian.Hi, I have been reading this post It is very interesting and also I
need help. I am doing a project involving scattering matrix (S
parameter) using frequency and time domain analysis. In order to make
use of S parameter in frequency domain from Vector Network Analyzer, I
need to convert S parameters from frequency domain (sweep from 8.2 GHz
to 12.4 GHz) to time domain using inverse chirp z transform or any. I
have no idea how to implement it. Could you please help or guide me how
to implement them. I am using Labview 8.0 and matlab. Please see the attached file for the data in frequency domain both linear , dB magnitude and phase.
Thank you so much for any help.
Tantong
Attachments:
S11 Phase.xls 70 KB
S11 dB magnitude.xls 70 KB
S11 linear magnitude.xls 70 KB -
Hi,
I need to do validation on domain name, There is a filed where user enters his domain address like WWW.DOMAIN.COM, If user dont enter proper domain name as mentioned it must return a message.
eg: it must only allow domain name only starting with name www. and end with some .com or .in or .net any thing which ends with . (period)
Need a suggestion how to validate this in plsql
Thanks
SudhirCheck this if works for U
With t
as
SELECT 'WWW.DOMAIN.IN' txt from dual UNION ALL
SELECT 'WWW.DOMAIN..IN' txt from dual UNION ALL
SELECT 'WW.TEST.IN' txt from dual UNION ALL
SELECT 'WWW.TEST.COM' txt from dual UNION ALL
SELECT 'WWW.TEST.IN' txt from dual
SELECT txt,
CASE
WHEN REGEXP_LIKE ( txt
, '^(WWW.)[A-Z]+(.COM|.IN|.NET)$'
THEN 'Okay'
ELSE 'Not Okay'
END AS is_correct_web_address
FROM t
TXT IS_CORRECT_WEB_ADDRESS
WWW.DOMAIN.IN Okay
WWW.DOMAIN..IN Not Okay
WW.TEST.IN Not Okay
WWW.TEST.COM Okay
WWW.TEST.IN Okay
For case in-sensitive
With t
as
SELECT 'WWW.DOMAIN.in' txt from dual UNION ALL
SELECT 'WWW.DOMAIN..IN' txt from dual UNION ALL
SELECT 'WW.TEST.IN' txt from dual UNION ALL
SELECT 'WWW.TEST.IN' txt from dual
SELECT txt,
CASE
WHEN REGEXP_LIKE ( txt
, '^(WWW.)[A-Z]+(.COM|.IN|.NET)$','i'
THEN 'Okay'
ELSE 'Not Okay'
END AS is_correct_web_address
FROM t
TXT IS_CORRECT_WEB_ADDRESS
WWW.DOMAIN.in Okay
WWW.DOMAIN..IN Not Okay
WW.TEST.IN Not Okay
WWW.TEST.IN Okay
Sudhir_Meru wrote:
Thanks Kiran and loknath this worked for me. Thank you very much for you reply
>
Most welcome...That what forum is intended :-)
Edited by: Lokanath Giri on १९ अप्रैल, २०१२ ६:४८ अपराह्न -
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 understand what I mean! It a bit like TDRs but its frequency instead of time.
I would like to build a Frequency Domain Reflectometer using labview application, how can I do that? What sort of code do I need and what equipment do I need to operate with the NI code?
Please give me the chance to thank you all very very much for your help and support and for looking here,
regards
FezzHi Fezz,
I am not familiar with using FDR systems but know there is a good example of producing a TDR in LabVIEW available on the community. This might provide you with a base and a grasp of the architecture you could use to create the functionality.
Time-Domain Reflectometer (TDR) Example
Regarding the equipment you would require to achieve this I strongly recommend contacting your local NI office who will be able to adviser you fully as this will depend upon your desired specification.
Kind Regards,
Aaron. E
Applications Engineer Team Lead
National Instruments
ni.com/support -
Intel_rapl : no valid rapl domains found in package 0
I have install the latest Arch x86_64 in the vmware workstation 10.0.1.
But it give me this tips "intel_rapl : no valid rapl domains found in package 0" before i log in
and I find that I give it 4G memory, but only identified 3G.
I'm sorry for my awful English, and I hope somebody could help me ,thanks.I also receive this error in a Virtualbox, however I haven't noticed any problems in installing Arch Linux. Here are my VBox settings:
Base Memory: 4196 MB
Processors: 4
Boot Order: Floppy, CD/DVD, Hard Disk
Acceleration: VT-x/AMD-V, Nested Paging
Video Memory: 128 MB
Acceleration: 3D
Remote Desktop Server: Disabled
Video Capture: Disabled
Controller: IDE
IDE Secondary Master: [CD/DVD] archlinux-2014.04.01-dual.iso (534.00 MB)
Controller: SATA
SATA Port 0: ARch.vdi (Normal, 32.00 GB)
Host Driver: Windows DirectSound
Controller: ICH AC97
Adapter 1: Intel PRO/1000 MT Desktop (NAT)
@singleman - I've noticed that when I got this error on the login screen, I could still login. I just went on with my business as normal by typing my login and password. -
Hi everyone,
I've been trying to manage some signal processing stuff, I use mathscript node for it; due to the node, i have to transform the data set into numerical values. Due to my research, i should do my processing in frequency domain.
I did a VI, but i dont think it will work properly when i will use it with acquired data. The VI in the attachment has four dummy-signal sources, sines, consider these as analog input channels. The main question is actually how to process acquired data with numerical operations. And how to properly transform the time domain series into "numerical" frequency domain array.
Take a look at the example in the attachment. The other one is mathematical expression of the process.
Thanks,
OZGUR
Attachments:
sample.vi 204 KB
mathematical.png 103 KBMotorbreath,
Here are some examples on how to use LabVIEWs graphcial coding to get things into the Frequency domain:
https://decibel.ni.com/content/docs/DOC-9981
http://zone.ni.com/devzone/cda/tut/p/id/13042
http://zone.ni.com/devzone/cda/tut/p/id/7111
http://zone.ni.com/devzone/cda/epd/p/id/2904
But essentially you are going to want to use the FFT VIs
http://zone.ni.com/devzone/cda/tut/p/id/4278
http://zone.ni.com/devzone/cda/tut/p/id/4541
http://zone.ni.com/devzone/cda/tut/p/id/3342
https://decibel.ni.com/content/docs/DOC-6390
I hope this gets you going
Sam S
Applications Engineer
National Instruments -
This is regarding clarificat​ion regarding frequency responce analysis
This is regarding clarification regarding frequency responce analysis
using
NI
PCI 4551 add-on card, especially in the singal generation part for
stimulating
the unit under test.
1. Is it possible to generate sine, step, ramp and arbitrary waveforms
using
this particular card?
2. Ifso what is the range of frequencies that can be possible to
generate
using
PCI 4551 card?( we may require from 1mHz to 2kHZ)
3. And what is the maximum amplitude of the generated signal for full
scale
value?
4. Whether real-time octave analysis for NI DSA software can serve the
purpose
of following tests: Frequency response test, Step response test,
Velocity
test,
Strain Measurement, Linearity Test, Cyclic test.
Or any other software tool is required?
Regards,
Sreedhar THi SreedharT,
In response to your questions, I've included my responses. I highly advise referencing the NI-4551 User Manual for more details.
1. Is it possible to generate sine, step, ramp and arbitrary waveforms
using this particular card?
NI-DSA includes functions to generate standard white noise, pink noise, band-limited noise, periodic white noise, single or dual-tone sine, and chirp signals. For step, ramp, and any other arbitrary waveforms you can use NI-DSA to define and generate an arbitrary analog output signal.
There is a good example which ships with NI-DSA that demonstrates how to generate arbitrary waveforms on the NI-4551. You can find this example in the NI-DSA function palette in LabVIEW under Application Examples>>Advanced>>Arbitrary Output Example.
By default, this example outputs a swept sine wave, but you can change the waveform to whatever you need.
2. If so, what is the range of frequencies that can be possible to
generate using PCI 4551 card?( we may require from 1mHz to 2kHZ)
The maximum output frequency you can generate with NI-DSA is 23 kHz. This limit is governed by the maximum output sampling rate of 51.2 kS/s. Because the digital-to-analog converters on the NI 455x DSA devices feature sharp roll-off, anti-imaging filters, you can generate a spectrally pure sine tone up to 23 kHz with minimal quantization noise, so when using the NI 455x devices, you do not need to worry about the output signal becoming choppy or noisy when approaching the Nyquist frequency.
The minimum frequency you can set is 0.1 Hz. This is limited by the finite size of the output buffer and the minimum update rate for the DAC. The output buffer is limited to 4,096 samples, and the DAC must maintain a minimum rate of 1.25kS/s for accurate results.
In Octave Analyzer Mode, when you're inputting a certain frequency, keep in mind the input range differs for each analysis type and the two configurable center frequencies. I've included the frequency ranges for a single channel below.
1/1-octave analysis
center frequency fs=25.6 kHz:
High: 8 kHz
Low: 16 Hz
fs=51.2 kHz
High: 16 kHz
Low: 31.5 Hz
1/3-octave analysis
fs=25.6 kHz
High: 10 kHz
Low 12.5 Hz
fs=51.2 kHz
High: 20 kHz
Low: 25 Hz
1/12-octave analysis
fs=25.6 kHz
High: 10.68 kHz
Low: 11.05 Hz
fs=51.2 kHz
High: 5.34 kHz
Low: 5.52 Hz
3. And what is the maximum amplitude of the generated signal for full
scale value?
The maximum amplitude is equal to the voltage range for the selected output channel.
4. Whether real-time octave analysis for NI DSA software can serve the
purpose of following tests: Frequency response test, Step response test,
Velocity test, Strain Measurement, Linearity Test, Cyclic test.
Or any other software tool is required?
The NI-DSA Real-Time Octave Analysis software add-on for NI-DSA supports fractional-octave analysis for 1/1, 1/3, and 1/12 octave analysis, level measurements, and A-, B-, and C-weighting. You can do octave, level, or both octave and level measurements, and have the additional option of specifying the weighting if required. This is all that can be done in real-time.
To perform a frequency response test, it is preferable to use the swept-sine analysis mode of the NI-4551 rather than a broadband FFT-based frequency response. Swept-sine analysis provides two main advantages over a broadband frequency response measurement in which all frequencies are excited and measured simultaneously. The first is a wider dynamic range. The second is flexible measurements of signal distortion and nonlinearity. For more information of swept-sine analysis, please refer to the NI-DSA Software Manual downloadable off our web site. http://www.ni.com/
For the Velocity test, Strain Measurement, Linearity Test, and Cyclic Test I should ask for more information about each test before attempting an answer. However, to answer your question, there are no methods I know of in NI-DSA that would directly perform these tests. In contrast with that answer, you may be surprised this functionality may be included with a LabVIEW development environment.
Let me know if you have further questions or this does not resolve your issue!
Chad AE
Applications Engineer -
Digital Watermarking on image in frequency domain
I am working on a Project which aims at studying the digital watermarking on image, with both spatial domain and frequency domain.
I have finished the spatial domain but is frustrated with the frequency domain right now. I have no idea on how I can possess the frequency domain of a image. Is there a built-in function which can help us to do so?
Thank you for your help.Also posted and crossposted:
http://forums.sun.com/thread.jspa?threadID=5433169&messageID=10958328#10958328
http://forums.sun.com/thread.jspa?threadID=5433180&messageID=10958329#10958329
http://forums.sun.com/thread.jspa?threadID=5433412&messageID=10959648#10959648
http://forums.sun.com/thread.jspa?threadID=5433693&messageID=10961065#10961065
http://forums.sun.com/thread.jspa?threadID=5433694&messageID=10961066#10961066 -
Make frequency response analyser using frequency generator and counter
Hello
Can we make a frequency response analyser using a Frequency generator and frequency counter?
How to add modulation with it? Modulation frequency is to be varied as per the input to given to the carrier!
The outputs are Frequency, magnitude, and the phase as like solartron FRA.
somebody have an Idea for this
awaiting for the solution
thank you
"Thanks with regards "
by
..........Gireesh..........Hello Gireesh,
You can use a function generator to generate frequencies and use the modulation tollkit and other tools availabe with LabVIEW to do the modulation part . Or you can use the analog output ports on the daq card to generate different frequency signals for the same purpose .This should pretty much serve your purpose.
http://zone.ni.com/devzone/cda/epd/p/id/5646
http://digital.ni.com/manuals.nsf/websearch/AF3615F31CE9656C862576070020B8F7 -
Frequency Response Analyser: Error -1802 occurred
Hi,
I'm fairly new to Labview but feel I know most of the fundamentals.
I've been trying to convert the following bit of code from Matlab to Labview (I am aware 8.20 has a math script function but I don't have access to it). Please could someone have a look at my VI and possibly tell me why I am getting the 1802 error. It suggests that "(Hex 0xFFFFF8F6) Waveforms have different dt values." but I'm not sure what this means or how to fix it.
Also, if anyone has any constructive critisism of my methods for implementing the code then I would love to hear them.
Many thanks for your time in assisting me,
Ian Haigh
% routine for calculating Transfer Function
% signal is the array containing the measured signal
% sigs is the array containing the input sine wave
% sigc is the array containing the input cosine wave
clear;
freq=11.45;
sfreq=360*freq;
cycs=10;
a=0;
b=0;
i=1;
for t=0:1/sfreq:cycs/freq;
n=cycs*360+1;
ph=60;
signal=0.37*sin(2*pi*freq*t+ph*pi/180);
time(i)=t;
sigs=sin(2*pi*freq*t);
sigc=cos(2*pi*freq*t);
real(i)=signal.*sigs;
r=real(i);
comp(i)=signal.*sigc;
c=comp(i);
a=a+r;
b=b+c;
i=i+1;
end
a=(2*a-real(1)-real(n))/(n-1);
b=(2*b-comp(1)-comp(n))/(n-1);
R=sqrt(a*a+b*b)
ang=atan(b/a)*180/pi
Attachments:
Frequency Response Analyser v7.vi 1045 KBHi Ian,
It seems that you are attempting to use different dt in the waveforms, but I founded in this link two ways to avoid having this problem. Hope you find it useful. Thanks for using the forums!
http://digital.ni.com/public.nsf/websearch/C41966093C3D030F86256FF8007F8BF5?OpenDocument
NorSa
AE LATAM
NorSa
NI Applications Engineer Latin America
Para Soporte entra aquí
Maybe you are looking for
-
Pavilion dv6 connecting to tv through hdmi
Hi When I connect my notebook to my Sharp Led TV to watch a HD movie the picture stutters on the tv but is perfect on the laptop. Could it be the HDMI cable? or do you have any other suggestions? Thanks Wes
-
Installing Flash Player after uninstalling!
I uninstalled adobe flash player as said. I install and it comes to a blank and says try again. How many times I know not. It will not work. I cannot read programs on Facebook because the flash player is not working
-
Can I use a Telstra USB broadband device with my Macbook Air OS 10.7.4?
Any advice about USB use with my Mac? I don't have regular access to WiFi. Thanks.
-
Patches still remains on the machine after un installation of lync application
On my machine I have office 2013 professional installed on it over thst when I try to install lync and some msp which is in update folder application installs successfully but when I try to remove lync 'setup.exe /uninstall Lync' it remove only the m
-
Hi, Is there a Function Module or BAPI to set the Business Partner Status? Thanks, Sachin.