GENERAR GRAFICA DE AMPLITUD FRENTE A FRECUENCIA

Hola,
Quería saber si existe la posibilidad (o alguna función) que me permita transformar una gráfica [eje y = velocidad (mm/s); eje x = tiempo (s)], en otra gráfica que represente la amplitud en eje y, y la frecuencia (Hz) en eje x. Es decir, para resumir, quiero transformar una señal para representarla como amplitud frente a frecuencia.
Un saludo y gracias

Hola Aristoy, que es lo que
estas buscando hacer? en que consiste tu aplicación?. Una forma de pasar las
señales del Dominio del Tiempo al dominio de la frecuencia es utilizando la FFT
(Fast Fourier Transform). Esta te va a dar las amplitudes a distintas frecuencias.
Para utilizar esta en
LabVIEW puedes utilizar el VI Express de Spectral, se encuentra en la paleta de
Expres>> Signal Analisys.
Tambien puedes utilizar el
VI directo en la paleta de  Signal Precessing>> Waveform
Measurements >> FFT.
FFT and Signal Analysis Tutorial
Puedes encontrar varios
ejemplos en Help>>Find Examples
Saludos
Benjamin C
Senior Systems Engineer // CLA // CLED // CTD

Similar Messages

  • Proyecto generar señal

    Empece hace poco en labview y ha sido un poco dificil para mi. Quisiera ayuda con este proyecto.
    Desarrollar un vi que al ser ejecutado se vea en pantalla una señal. Dicha señal debe seleccionar entre una señal senoidal, cuadrada, diente de sierra y triangular. El mecanismo de selección se puede implementar de cualquier forma. También agregar dos controles con los que se controlan la amplitud y la frecuencia.

    Hola.
    Tienes un excelente ejemplo de lo que quieres en
    http://www.ni.com/example/29623/en/
    A partir de ahi puede modificarlo para adaptarlo a tus necesidades.
    Saludos.
    Alipio.
    "Qod natura non dat, Salmantica non praestat"

  • Generar señal senoidal con myDAQ

    Hola:
    Necesito generar una señal senoidal de frecuencia variable con la myDAQ mediante DAQmx. He conseguido generar alguna señal por la salida a0 pero en el osciloscopio se ve muy deformada. He utilizado las funciones de alto nivel de Labview.
    Cómo podría genener la señal utilizando funciones de bajo nivel ?. 

    Hola Aitor,
    puedes encontrar ejemplos de generación analógica de bajo nivel en LabVIEW >> Help >> Find Examples... >> (Pestaña) Browse >> Directory Structure >> (Ventana central) DAQmx >> Analog Output. Un ejemplo muy completo es Voltage - Continuos Output.vi.
    Adicionalmente, puedes encontrar ejemplos de usuarios en la Comunidad:
    https://decibel.ni.com/content/groups/ni-daqmx-examples
    Espero que te sea de ayuda!
    Saludos!!
    Jesús

  • Media aritmética de señal simulada

    Me gustaría que alguien me ayudara con el siguiente problema que tengo en Labview:
    Estoy intentando calcular la media aritmética de los valores de una señal (para simplificar mi pregunta utilizaré una función seno simulada). Para ello utilizo la función "Arithmetic mean" del VI Express "Statistics".
    El seno esta simulado con amplitud 1 y frecuencia 0,5. Ademas represento 1000 samples por segundo con "simulate adquisiction timing".
    Mi problema radica en que el valor de media aritmética obtenido se corresponde con la media de los últimos 100 valores del seno que he simulado. Yo quiero calcular el valor de la media de todos (absolutamente todos) los valores de la señal desde que empieza a ejecutarse el programa, pero no lo logro.
    Adjunto el archivo VI.
    Si alguien pudiera ayudarme se lo agradecería enormemente. Muchas gracias.
    Attachments:
    mediaseno.vi ‏328 KB

    Hola,
    Lo que te pasa es que te el generador de funciones te saca cada iteracion del bucle while 100 puntos y te saca la media de eso, lo que tienes que hacer es ir guardando la señal completa, añadiendo cada iteración la nueva parte de datos a la anterior, te adjunto la solución en el siguiente vi,
    Saludos,
    Regards,
    Jaime Cabrera
    NI Applications Engineering Spain
    Attachments:
    mediaseno.vi ‏196 KB

  • Procesar señal

    Buenas a todos,
    miren tengo unproblema me gustaría procesar una señal que recibo de un acelerometro, este acelerometro gira sobre un eje recogiendo los valores y creando una señal sinusoidal. A partir de estos datos, intento crear una señal sinusoidal y utilizar TOne measurament (not in base package para que me devolviese la amplitud y la frecuencia de esta señal generada. Si alguien pudiese darme algun empujo llevo estancado con esto bastante tiempo.
    Saludos y Gracias

    Aqui os dejo el subvi hasta la fecha
    Adjuntos:
    Simulación.vi ‏136 KB

  • Espectros de amplitudes en dominio de frecuencia

    Buenos días a todos,
    De nuevo necesito ayuda. Trabajo con Labview 8.6 y DIAdem 11 
    Tengo que realizar unos informes en DIAdem a traves de Labview donde debo sacar gráficas de espectros de amplitudes en el dominio de la frecuencia de unas señales de geófonos(velocidad) y acelerómetros(aceleración)
    He estado mirando en labview, en Signal Processing-->Spectral Analysis la función de "Amplitude and Phase Spectrum" y está saca el espectro de amplitud pero en el dominio del tiempo.
    Necesito encontrar la función que me obtenga la transformada de Fourier en el dominio de la frecuencia. 
    ¿Alguien me puede ayudar?

    Gracias dSierra,
    Precisamente es la función que estoy utilizando, tras mirar ejemplos y el foro ya conseguí lo que necesitaba (el espectro de amplitud)
    Ahora tengo otro problema:
    Esta gráfica es composición de un cluster de 3 elementos:
    pero esta gráfica forma parte de un informe de Diadem, así que para ello utilizo el objeto Diadem Report y cuando uso la vi "Convert to Dinamic Data" no me pinta la gráfica bien.
    Este es el código completo:
    y el resultado en Diadem es este:
    ¿alguien me puede ayudar?
    gracias a todos

  • Combinar tiempo real a grafica XY

    Buenas noches a todos
    Antes que nada espero y todos se la hayan pasado bien en esta semana de fiestas bueno mi duda ahora es la siguiente intento realizar una graficas con un solo plot donde por el lado de la amplitud me muestre la "carga" y por el lado del tiempo muestre la "altura de carga" eso ya lo hice posible con la XY graph pero lo que me esta sucediendo ahora es que el plot unicamente sigue los puntos de carga y altura de carga los que yo defini y eso estaria bien pero lo que pasa es que no sigue un tiempo lo que quiero saber es si hay alguna manera de combinar en la XY graph el tiempo real junto con la carga y altura de carga que yo defini he leido preguntas anteriores y he usado el for loop con bundle pero cuando hago eso no me muestra ningun plot la grafica
    Adjuntare mi VI para que me puedan entender mejor viendolo espero y me puedan ayudar y muchas gracias por los apoyos anteriores de todos
    nota:
    en login seleccionen Adrian de luna para que asi puedan ver mi proyecto ejecutarse
    pass: 25663+ 
    version 2012
    ¡Resuelto!
    Ir a solución.
    Adjuntos:
    Login.vi ‏21 KB
    Proyecto.vi ‏241 KB

    Saludos Manuel tambien me la pase muy bien en estas fiestas gracias por preguntar
    Aqui te adjunto nuevamente mi VI aun no lo limpio porque quiero que todas las funciones queden antes de realizar la limpieza de programa.
    lo que quiero saber hacer es como podria determinar tiempo en la XY graph porque como se puede apreciar en el programa el plot que tiene como amplitud la carga y como time la altura de carga no sigue un tiempo determinado haciendo que el plot haga lineas en toda la XY graph lo que quiero hacer es que se muestre igual que una wave form graph pero con esas dos variables como amplitud y time.
    en caso de que dicha funcion no se pueda realizar entonces quisiera saber si me es posible realizar un reset en la wave form graph estilo como la XY ya que en caso de que no pueda lograr que las variables de XY graph sigan una linea determinada de tiempo pues no me quedara opcion que ralizar dos wave form graph con cada variable.
    muchisimas gracias por tu ayuda.
    Adjuntos:
    Login.vi ‏15 KB
    Proyecto.vi ‏261 KB

  • Generar señal cuadrada con mydaq y fracuencia mayor a 50 khz

    hola buenas tardes, tengo que generar una señal cuadrada con una frecuancia de 50khz, y genere una por programa y su frecuencia maxima fue de 30hz. agradesco su ayuda. espero y me ayuden. gracias   

    Saludos ANTUAN94,
    Gracias por utilizar los Foros de Discusión de National Instruments, revisando el manual del myDAQ, en la página 4 en la sección des especificaciones de Digital I/O, en la especificación de Update Mode se comenta que es temporizada por software.
    SPECIFICATIONS: NI myDAQ:
    http://www.ni.com/pdf/manuals/373061f.pdf
    Por lo que es posible que la frecuencia de 30 Hz de tu aplicación esté limitada más bien por software. Me tomé la libertad de generarte y probar un pequeño VI que genera una señal cuadrada de 50 Hz por el Puerto 0, línea 0.
    Espero que esto te sea de ayuda, quedo al pendiente en caso de cualquier posible duda, saludos cordiales.
    David P.
    National Instruments
    Applications Engineer
    www.ni.com/soporte

  • Como generar una factura de clientes con lotes

    Como Generar Una factura de Clientes con lotes, es Decir buscas? Busca otros Una Lista de Materiales Con Todos SUS Hijos, Tener pecado Una generada Orden de venta.
    Mi codigo es el siguiente, en solitario ingreso CUANDO Que El artículo De Una Lista de Materiales no me géneros la factura.
    Espero me puedan Ayudar.
    Consulta_SAP = new SqlDataAdapter ("SELECT Código como Código DESDE DONDE ITT1 Padre = '" + artículo + "'", DB_SAP);
                            Datos_SAP = new DataTable ();
                            Consulta_SAP.Fill (Datos_SAP);
                            cadena codigo_ = "";
                            codigo_ = Datos_SAP.Rows [0] [0] .ToString ();
                            for (int y = 0; y <Datos_SAP.Rows.Count; y ++)
                                dg_items.Rows.Add (Datos_SAP.Rows [y] [0] .ToString ());
                            for (int n = 0; n <dg_items.Rows.Count; n ++)
                                items_hjos = Convert.ToString (dg_items.Rows [n] .Cells [0] .Value.ToString ());
                                Facturas.Lines.SetCurrentLine (c);
                                Facturas.Lines.BatchNumbers.InternalSerialNumber = "67";
                                Facturas.Series = Convert.ToInt32 ("49");
                                Facturas.CardCode = CI;
                                Facturas.DocCurrency = "$";
                                Facturas.Lines.Address = direccion;
                                Facturas.UserFields.Fields.Item ("U_Orden") Valor = "Reto" + + reto ".";
                                Facturas.Lines.Quantity = 1;
                                Facturas.Lines.TaxCode = "IVAP16";
                                    Facturas.Lines.BatchNumbers.BatchNumber = "145134514000396";
                                    Facturas.Lines.BatchNumbers.Quantity = Convert.ToDouble ("1.0");
                                Facturas.Lines.BatchNumbers.SetCurrentLine (0);
                                Facturas.Lines.BatchNumbers.Add ();
                                Facturas.Lines.Add ();
                                c = c + 1;

    Hola
    Nuevamente gracias por tu respuesta
    La nota que mencionas la he revisado junto con otras varias,  te cuento como me fue con estas
    El cambio de estatus solo esta habilitado para las facturas de deudores que no son de anticipo, esto lo que me permite es  hacer la nota de crédito de esa factura  y así cancelar el pago  recibido de la factura de Anticipo  y esto me libera  una parte del Anticipo,
    Ahora al tratar de hacer  la nota de crédito de la factura de Anticipo el sistema invierte los importes, donde el total aplicado de la factura  se convierte en el total pendiente  en la nota de crédito,
    FACT
    Total Pendiente   970 (DEL PAGO CANCELADO)
    Total aplicado        30
    NOTA DE CRÉDITO
    Total Pendiente   30
    Total aplicado        970 (DEL PAGO CANCELADO)
    Esto es lo que me  tiene detenida :s
    Saludos

  • Open a pdf in Photoshop CS5 shows jpg - but no grafic

    I have a handbook opened in Photoshop CS5 and I can see the jpg images of the handbook.
    But not the grafic scematic images.
    I am not aware if these are in svg or whatever.
    How can I get access to those grafics?
    Yes, I may open a page and copy a grafic,
    but I would like to get the original content.
    Thanks,

    If you are opening a PDF in Photoshop and having a problem, then the Photoshop forum is the place to ask. This has noothing to do with Acrobat.

  • Where can I find the amplitude and phase frequency response when the AC coupling is set on the 4472

    My friends,
      I need to know the amplitude atenuation but most important, the phase distortion introduced on the low frequency components of the signals when the AC coupling is setted (i.e. when the high pass filter is connected) on the 4472 and 4472B DAQBoard.
      I can construct the amplitude frequency response by generating and aquiring a sine waveform of a knew amplitude. But I cannot construct the phase distortion introduced by the circuitry. 
      However, I assume that this crucial information should be available in the DAQ Manual or  in the website of NI, but untill now I haven´t found it.
    Thankning in advance,
    crimolvic from Chile

    crimolvic,
    Here are the Specifications and Datasheet for the 4472.  They indicate a phase non-linearity of less than 0.5 degrees across all frequencies.
    For information on how this varies with frequency, see the attached
    spreadsheet.  This response was the result of testing on a single
    4472.  Although this is classified as a "typical" response, it is
    not gauranteed.
    Have a great, day!
    Travis
    Attachments:
    4472 Phase Linearity.xls ‏21 KB

  • How to get the amplitude of a sound as a float number in Java

    Hi, I would like to create a program which plays an audio file(it may be a midi, probably) and it returns
    the amplitude of the sound in terms of float number.
    I mean, is it possible to obtain this number, since every sound file is actually a sequence of float number like
    110.010110101 etc.
    Can you help me with suggestions and details about the way to take.
    Regards
    Frank

    For sampled sound, the answer might be seen in [ this thread|http://forums.sun.com/thread.jspa?messageID=10636576#10636576]. For MIDI it is different in that you will only be able to get it as sampled sound once it has been synthesized, and as I recently found out, to get the audio coming through the regular sound lines will take nothing less than a physcical or software 'audio loopback' being installed, on most PCs.
    Of course, if it is MIDI, you might just cheat by calculating a 'volume' from the note velocities in the MIDI score.

  • How to read and save complex data (amplitude and phase) from pna E8361C

    Hi, all,
    I installed the PNA series driver to my PC. And I got wavefrom from the PNA but always the amplitude. How can I get also phase info from the PNA and save it to my text file?

    I did installed the driver for that PNA, I can select the format such as amplitude or phase, but I can only see one of them at one time.
    Could it be seen and save simultaneously?

  • Amplitude is not changing on the receiver side

    I am trying to transmit square wave using USRP 2920. If I change the amplitude of square wave in Tx file from 1 to lets say 100. The Tx waveform shows that it is changed but on the receiver side there is no change in the amplitude. Can any body look at my files and guide me why I am not able to see increase in amplitude on Rx file when I increase the amplitude of Square wave on Tx file
    Note: I am generating a randon number between 0 to 1. If random no. is greater than 0.5 then the amplitude is 1 or higher but if the random no. is less than 0.5 amplitude will be zero.
    Thanks 
    JK
    Attachments:
    TX.vi ‏23 KB
    RX.vi ‏34 KB

    Your not going to get a clean squarewave back on the receive side. The USRP uses a local oscillator (LO) so anything it reads will be interpreted as sinusoidal in nature. This is evedent in the screen shots in the attached .zip folder. 
    To address your voltage question, assuming your antenna is terminated with a characteristic impedance of 50 Ohms (Zo) and the max power of 100 mW, Power = (approximately) Voltage^2 / Zo
    Therefore Voltage = ( Power * Zo ) ^ (1/2) = 2.2 Volts approximately. 
    What is your overall application? Why are you concerned about the voltage? What are you testing?
    Brad S.
    Application Engineering
    National Instruments
    Attachments:
    USRP.zip ‏216 KB

  • How-to set pre-specified time for amplitude measurement vi?

    In acquiring data at 100 Hz, I'm writing this to file while using the Amplitude & Level measurement VI to decide when the data has peaked. I've built arrays to accumulate the data but I don't see a simple timing scheme to continue this for one or five minutes.
    This is a GPIB instrument read over a GPIB-USB-B adapter in LV 7.0 running on Windows XP Pro. The computer is a Pentium 4, 2.4 GHz, with 512 MB RAM.
    Attachments:
    Input_fluke_with_peak_array_2620.vi ‏329 KB

    So I do not have the Fluke or the driver to see how your code runs. From what LabVIEW tells me with the wire size, it looks like you are reading one point at a time from the instrument. You will need to address this so you can get useful data. It is not that reading one point at a time is bad--it just slow. Often it is more desirable to collect more than one point at a time to get a fixed dt between the points. I would focus on seeing the data in a graph first.
    Once you are able to get the data comming in a numeric array then you can focus on termiating the acquistion when a peak is found. There are several ways to define a peak. You can say it is a point that is larger than the surrounding points but this will only show a local maximum. Noise will often cause a peak to be undesirably found. Another method for peak detection takes in account hysterisis. This says that if a high value is n units higher than later points, it must have been a peak. Look for hysterisis on NI's site for a better description. Another method for peak detection says that any values above x is a peak. This is useful if you want to collect data that is rising until 6V. LabVIEW has some VIs for peak dection on arrays. I recommend playing with them but remember you will need to decide what works best in your application.
    Now that you have data in the form of an array and a way to analyze it, you are in business. Well almost. How much time can elapse between aquiring data and analyzing it. If it is not critical, you can aquire 1000 points, analyze it, determine if you need to aquire more (use a while loop) and iterate or not. If the timming is more critical then you can use a model for VIs where there are two while loops in parallel. In one loop, you can aquire data and feed it to a queue. This allows data to be transfered to the second loop that can dequeue the data and analyze it. When the analysis indicates the data acquision loop can be triggered to stop when it returns with data. This method allows for data to be streamed off the device as fast as possible and then later processed in another loop while the VI is waiting for more data. It is very slick and difficult to code. Look in the LabVIEW shipping examples for queue to see examples of queue use. This data processing loop can write to file as the data is avaliable (slow) or it can save the data and write to the file at one time once the peak has been detected (fast). You can even add logic to only write data up to the peak. (the ease of this depends on how to detect the peak).
    I do not know if I have helped or not. It is a lot of stuff to consider. I recommend looking for a simmilar example program. This can really jumpstart any project. Look in the shipping examples and use the advanced search page. I cannot say enough good things about how well that searches NI's site for example programs, knowledgebase articles, discussions, etc.

Maybe you are looking for