Frequency of signal

Hi friends,
the signal is formed with a hardware. in VI, I would like to change frequency of the signal. For this, what can I do?
Have a nice work

Do you have any code?  If so, post it.  Is this a class assignment?  If so, don't ask us to do your homework for you, as it will only cheat you out of learning LabVIEW.  Are you trying to learn LabVIEW "on your own"?  There are lots of good tutorials (which will take a little time to work through, but LabVIEW programming is a skill which requires a little time and practice).
I "borrowed" the following list of links to (mostly free) tutorials/instructions from Hooovahh --
NI Learning Center
NI Getting Started
-Hardware Basics
-LabVEW Basics
-DAQ Application Tutorials
3 Hour LabVIEW Introduction
6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
BS

Similar Messages

  • Generating frequency hopping signal

    I'm working with 5661 + 5671.
    I want to generate frequency hopping signal with 5671. The frequency band is 2400-2500MHz, and the hopping rate is one hop per frame (1.024ms) or 976 hop per second.
    I also need to be able to test the hopping signal with 5661 RFSA.
    Does it possible to run such hopping test with the 5661+5671?
    Thanks,
    Chen
    Solved!
    Go to Solution.

    HI
    I want to generate a hopping signal with PXI-5671 RFSG and want to analys with PXI-5660 RFSA. While seaching for the related posts i came across ur post, The frequency range in my case is between 200-300Mhz but i will use 200-220Mhz due to BW of 20Mhz...the hopping rate i wil use is very slow as compared to urs..i m trying to do this with 10-20 hops per second..
    I m new with the hardware i have used it to generate and analyz the signals but stil unable to generate the hopping signal with predefined hopping sequence and hopping rate...
    can you guide me that how to do this????or can u give me a copy of ur VI so that i can learn it from ur program and regenrate with my specs to chk weather it works or not...??
    I wil b realy thankful if u can help me in anyway....
    REGARDZ

  • Help Creating Pulse Frequency Modulated Signal

    I'm trying to create a Pulse Frequency Modulated Signal ... I have seen the examples showing how to create a frequency modulated sine wave (using the function generator example, I believe) but am not sure where to look next.
    Any suggestions?
    For some context, this would be used to simulate the signals similar to those found traveling through/ transmitted through a nervous system.
    Thanks for the help!

    Hello Slow,
    You can generate ECG signals using the Biosignal Generator by changing the Signal type in the pull-down menu. Take a look at this description.
    Regards,
    Alina M

  • 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

  • Frequency of signal from anemometer

    hello,
    I 've to the output of an anemometer, an AC voltage whose frequency is related to the wind speed. unfortunately I did not get my signal frequency. I'm using the CompactRIO 9074 with NI9221 module. I see my good signal but I can not seem to extract its frequency. Have you any idea of VI? This is urgent.
    Thank you.

     Hi,
    I put a screen capture of the code as an attachment. I read my signal from the anemometer on the AI2 port NI 9221. For my range-measuring sensor, I have to measure frequencies from 0 Hz to 125 Hz. Documentation of the anemometer is attached too.
    Thanks
    Attachments:
    code.jpg ‏65 KB
    NRG40C.pdf ‏121 KB

  • Noisy signal when using PXI 4461 DC Voltage

    Hi
    I'm conducting shot noise measurements on single molecule junctions. In order to bias the sample with a very clean DC bias, we've purchased the NI PXI-4461 for our lab. According to the specifications, the output noise should be in a order of 23*10^-6V for a bandwidth of 80kHz. However, when testing the V output by connecting it to a spectrum analyzer (SR780) at V=0 DC bias and differential output mode (To generate the DC signal, I've simply used the test panels.), the output spectra was very noisy (x units are Hz y units are Vrms/sqrt(Hz)):
    So we've discovered the output is actually very noisy and especially has a high peak at ~53kHz, probably from the AC power supply. Connecting a 10Hz low pass filter significantly improved the result:
    Which shows that  the output noise filters of the 4461 are probably not activated. Also the peak at 50kHz from the power supply still remains very substantial (later, we've managed to reduce it further by disconnecting the ground of the output). According the the specifications of the 4461, it should be possible to get a very clean DC signal from it:
    "NI 4461 output channels have both analog and digital anti-imaging filters. These filters remove the unwanted out-of-band components generated when an analog signal is produced from digital data. The digital filters limit the bandwidth of the output signal to half the original conversion rate, thereby rejecting images caused by the 8-times oversampling process. The signals generated by the analog output circuitry are low-distortion, low-noise, flat-frequency analog signals."
    So my questions are:
    1. How can I make these anti imaging filters work using labview? (code examples will be great)
    2. Are there is any other configuration parameters of the PXI-4461 which can be used to lower the output noise?
    3. How can I reduce the power supply noise? (regarding this - we also have a computer PXIe-8106 running on the same PXI chassis)
    Sincerely,
    Ran Vardimon

    Hello Ran,
    It sounds like your main issue is filtering the output noise from your DSA card and you're trying to find a proprty to activate the anti-aliasing filters. There is a DAQmx channel property node that can filter that noise, and is described in the KnowledgeBase article here. The article covers the AI property, but you can use the class browser to find the AO version as in the attached picture. Hopefully this helps.
    Jake H | Applications Engineer | National Instruments
    Attachments:
    Class Browser.png ‏25 KB

  • How to synchronize the signal sending and data acquiring process dynamically with one DAQ_Urgent

    Dear Sir,
    I am using one DAQ card to send a modulation signal (which is a signal summed by a low frequency saw tooth and high frequency sin signal) to the laser controller, and acquire voltage signal from another instrument  (It is in a same measurement system with the laser controller)?
    I would like these two process happening at the same time.
    In the attachment, there are two parts, one of them is signal generating program, the other one is data acquiring program, how to do like this: when I press"run", first the modulation will be sent to the laser controller immediately, and at the same time, the acquiring program starts as well...
    In addition, I think my program is not complete, could you please help me check if there are any other problems with it? 
    Thank you very much.. and appreciate your quick reply in advance.
    Best regards,
    Memorysun
    Attachments:
    Signals generation and lockin recording.vi ‏1227 KB

    Jamie S. wrote:
    Hi Memorysun,
    Thank you for your post and welcome to the forums.
    From your description what you want to achieve is:
     Write data to a Analog Output channel that is then recieved by the Laser
     Acquire (read) data from using an Analog Input channel (output from Laser/Instrument)
    This can be achieved using a single VI with 2 seperate DAQ tasks, one the "Continuously Writes" to the Laser and the other that "Continuously Reads" from the Laser/Instrument. Can I recommend the following examples that can be found in the NI Example Finder (Help>>Find Examples>>Hardware Input and Output>>DAQmx):
     "Cont Gen Voltage Wfm-Int Clk.vi" (for continuous writing)
     "Cont Acq&Graph Voltage-Int Clk.vi" (for continuous acquisition)
    The code from within both these VI's can be placed in a single VI therefore achieving the desired functionality.
    Many Thanks
    Jamie,
    They would be better served with an example that routes the AO hardware sample clock to the source of an externally clocked AI.
    Using the examples you posted will still leave them with the challenge of trying to alligh stimulus with response.
    Ben 
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • DAQ frequency measurement using anolog input channel

    Hello,
    I try to develop a DAQ application which run on a real time target.
    I want to measure frequency using anolo inpur channel of my DAQ card. I have a problem.
    Let me first try to explain what i trying to do. In the first loop i do sampling and show the result as double array.
    I need to show samples as double array so i can not read sample as waveform. With a shared variable i sent these samples to second loop.
    First loop reriod is msec and second loops period is 20 msec.So when the second loop run, 20 samples were alraady ready, frequency measurement is done.
    The problem is that i need to show frequency measurement as far as possible. Say frequency of my signal is about 100 hz, then this
    configuration gives correct frequency measurement. But if frequency of the signal is about 10 hz, this configuration fails since period of second loop is 10 msec and it is not enough time to measure a 10 hz signal. But if i adjust period of the second loop as 100msec,
    then i can measure 10 hz signal but then i can give measurement of a 100 hz signal  +90msec late. What can i do so i can measure frequency af signals ranges 0-100hz and give measurement result as far as possible?
    Attachments:
    measure_amp_freq.GIF ‏35 KB

    eesen,
    What you are doing doesn't make any sense to me. First of all, you should take multiple samples with the DAQmx Read and not one sample at time with the timed loop. Your frequency measurement will then actually be more accurate. You also should return a waveform. That includes timing information that the Freq & Amp function needs to determine the frequency. It cannot do it with a dbl array. If you have to display a dbl, then just use the Get Waveform Components to extract the y array. You can get rid of the second timed loop and use a regular loop for the DAQmx Read. If you just set the rate to be twice the highest input frequency and acquire enough samples for a couple of cycles, you should have a pretty accurate reading.

  • NI Scope FFT frequency shift

    Hi,
    I use a DAC card (NI PXI/PCI-5401) to generate a sinus and a ADC card (NI-PCI-5911) to pickup this sinus. To transform the time domain sinus signal into a frequency domain signal, I have used an example of NI using the NI-Scope vi "Add process" with FFT.   Somehow, the sinus generated at 50kHz is shown in the frequency domain at a frequency of approximately 58kHz. I don't understand this shift. Would you have an idea? Both vis used are attached
    Best,
    Ninskaya
    Attachments:
    Data Acquisition Mult.no.vi ‏206 KB

    Hi Ninskaya!
    What happens if you try higher or lower frequencies?
    Best regards,
    Hendrik
    Message Edited by Honsel on 05-30-2006 08:24 AM

  • Frequency to time domain

    Dear all,
    I've acquired some frequency domain data from PXI-5660 using 'Read average power spectrum.vi' and 'SMT unit conversion'. Now, there is a requirement to convert this data into time domain. I've tried by simply passing this data through an inverse FFT VI but I didn't work. Any advices or suggestions on how I should proceed?
    Thanks for the help!
    Shazlan

    Hi All,
    I am working on DAC bench automation.I am sending a digital signal at some sampling frequency to DAC(Digital to analog) board.
    The output from the DAC board is connected to Spectrum Analyzer(Agilent E4440A).
    Using LabVIEW driver I am able to get the Frequency domain signal in my Graph.
    I wanted to calculate the THD,THD+N,SFDR,Harmonics and SNR.Please anybody suggest how i can get these values.I am having below information:-
    1. Sampling Frequency
    2. The amplitude of the received signal is in dBm and base (X-Axis) is in frequency.
    3. Fundamental Frequency.
    4. Start Frequency and Stop Frequency.
    5. There is the attached sampled data and snapshot of the frequency domain graph.
    Thanks.
    Ritesh Mishra
    Attachments:
    SampleFFTData.vi ‏16 KB
    FreqDomainPlot.PNG ‏34 KB

  • Plotting of two signals

    Hi there !
    I am a LabView beginner and I need some ideas to implement my project using LabView.
    My project is a tens instalation for car alternators and in the end it should show a plot of rotating speed versus the current given by that alternator.
    Considering the hardware section, I want to use voltage/frequency converters. In this way, I can use as "aquisition equipment" a sound card. In other words, I want to convert the speed and current information into frequency modulated signals. The calibration will pe made in the hardware.
    Considering the "software section" I need an virtual diagram that take the frequenncy modulated signals from the soundcard and plot them in order to obtain an Rotational speed versus output current diagram.
    At the moment I solved the problem o data aquisition by using the Acquire Sound VI and that' left (I think) should be finding and setting a propper plotting VI.
    Would you be nice to give me some ideas about dealing with the software section of my project ?

    Hello Moxica,
    You've posted this question to the Dynamic Signal Acquisition forum but your question seems to be mostly about using LabVIEW to plot data you've already figured out how to take. I would suggest posting your question to the LabVIEW forums in order to bring better visibility to your issue and get information in a timely fashion. 
    Jonathan L.
    Applications Engineer
    National Instruments

  • Digital mixed with analog signals

    I tried several ways to capture analog and digital signals. I would need more than the standard two allowed on the NI-9174, so I came up with this using digital lines on the NI-9401 cDAQ. What do you think about this method?
    Attachments:
    Cont Read and record Dig Freq2.vi ‏50 KB

    Hello Bassinbc,
    After looking over your post and your code, it looks like you want to take a frequency measurement with a NI 9401 in a cDAQ-9174. Currently you are using a Digital Input task to perform this measurement. I was suggest though to use counters to implement this measurement. I have added an example to this post that will help you get started with this. I am assuming that you are working with low Frequency digital signals.
    As for the hardware configuration, the 9401 doesn't have to be placed in any particular slot for the NI-9174 but if you have a NI-9172, then you would have to place this module in slot 5 or 6. Finally, you are look at the device pinout in MAX to find out where to connect your sensor to it.
    I hope this information helps but if you have any more questions, feel free to post.
    Jim St
    National Instruments
    RF Product Support Engineer
    Attachments:
    Implicit Frequency Measurement.vi ‏22 KB

  • MyDAQ - Generating a digital signal and displaying it on an analog waveform graph

    Hi,
    I am using the NI MyDAQ to generate a digital waveform with an adjustable frequnecy. This is being implemented into a program I have already written which generates a TTL "like" pulse out of the sound card. I am displaying the output on an analog waveform graph, and I'd like to be able to display the digital waveform generated by the myDAQ on the same graph. (Not at the same time, either one or the other, toggled by a button). I've been messing with arrays and conversions but I cant seem to really get anywhere with it all.
    This is the vi I have made to generate the adjustable frequency digital signal with MyDAQ. Any suggestions on the proper way to do this if the following is wrong would be great too as I just got the MyDAQ a few days ago. I would think there must be a better way but this is the best I could come up with so far.
    Solved!
    Go to Solution.

    Hi Jonny,
    The general logic you are using to create a digital pulse train is fine. This VI you've written should work and will create the pulse train based on software timing (which is fine because you don't have hardware-timed DIO on the myDAQ anyway). However, it is usually good practice to start the DAQmx task just before your while loop and then clear the task after the while loop when you press stop.
    For reference, there are some pretty good LV examples that I recommend looking at for this application too. If you are just trying to create a digital pulse train, the example Gen Dig Pulse Train-Continuous.vi is a good example that uses a counter to create a digital pulse train of your desired frequency. This is generally the prefered method to create a pulse train if you have the hardware available to do so (the myDAQ does have a counter). Alternatively, there are some DIO examples that continuously write to a digital line/port.
    If you're not familiar, you can find the examples by going to Help >> Find Examples... in LV. Then, navigate to Hardware Input and Output >> DAQmx >> Generating Digital Pulses or Digital Generation.
    Also, here is some additional information about the myDAQ and its counters:
    myDAQ Counters 
    myDAQ Manual 
    Hopefully this helps.
    Chris G
    Applications Engineer
    National Instruments

  • Frequency Modulation trick. How to solve?

    Hello!
    I have a VI which does Frequency modulation using two formula nodes. One node is for Message signal generation and second formula node - is for resulting FM generation. Observing FM equations, the function inside FM equations - should be instegrated and FM is like:
     FM(t) = A*cos(2*pi*Fc + 2*pi*D* Integral( M(t) );
    , where A - amplitude; pi - 3.14; Fc - Carrier frequency, M(t) - message signal; D - frequency deviation.
     Thats why I use external Integration, then pass integrated signal into FM equation.
     The problem is - Signal has very low voltage (amplitude) after integration - and the whole thing doesn't work anymore.
     Should I multiply integrated signal until it be the same amplitude as the original signal?
     What might I did incorrect here?
    Thanks in advance. 
    Solved!
    Go to Solution.
    Attachments:
    FM_modulator75.vi ‏90 KB

    I have created a Polymorphic VI "FM Generation". This VI Generates Frequency Modulated signal output according to wired Message signal. FM Generation VI accepts two types of Message signal input - Waveform or Array. If you wire an array for Message intput - you also need to wire "Sampling Frequency" input. Now every one can place this polymorphic function on their Block-Diagram palette and use it.
    Note: You should place on a block diagram VI called "FM Generation.vi", two other files "FM Generation (array).vi" and "FM Generation (waveform).vi" are function instances that are responsible either for Waveform input or Array input.
     This function is designed for LabView 7.1 or higher.
    Feel free to write feedbacks. 
    Attachments:
    FM Generation.vi ‏12 KB
    FM Generation (array).vi ‏49 KB
    FM Generation (waveform).vi ‏61 KB

  • NI9411 frequency measurement with analogue output

    I have an NI-9411 connected into a 9178 cDAQ module. I want to constantly measure the frequency of a digital signal then output this signal as an anlogue output using another of my NI modules. I am pretty new to the NI environment, does anyone know of a simple method using the DAQassistant?
    Thanks for your help.
    Richard

    Hi Richard,
    Do you want to output a voltage that varies with frequency or just an analog signal with the same frequency as the digital?
    The easiest way for you to do this is to use two DAQ Assistant VIs and wire the output from your digital module into the output of your analog module.
    If you wanted to output a varying voltage with frequency you would perform some simple scaling on your measured frequency and wire it straight to the output.
    If you wanted a varying frequency analog signal, you could use the Simulate Signal express VI and wire the measured frequency into the frequency input.
    The reason you only see four channels for frequency measurement is that this particular function utilises the hardware counters on your device to count the time period between pulses to work out the frequency, your cDAQ 9178 has four of these hardware counters.
    For direct voltage level measuring you will see six differential channels available.
    Hope this is helpful to you.
    Regards,
    Adam Brown
    Applications Engineer
    National Instruments UK

Maybe you are looking for