Medir frecuencia cada 1ms

Hola amigos, estoy utilizando el muldtimetro digital pxi 40-70 para medir frecuencia, ya tengo los vi conectados y configurados con su numero de muestras y numero de puntos para observar la señal, ya he realizado mediciones correectamente. Ahora yo quiero guardar el tiempo de cada periodo en un block de notas, es decir que si estoy midiendo una señal de 100Hz  y realizo la medición durante 2 segundos, espero obtener 200 datos.¿Que VI puedo utilizar para sacar el periodo de cada ciclo que estoy midiendo? y ¿Como puedo guardar esos datos en un block de notas ?
Saludos
Muchas Gracias Comunidad NI

Hola Mrcalcetas.
Gracias por utilizar los foros de NI. Si ya tienes el valor de la frecuencia lo único que tienes que realizar es la fórmula de: Periodo = 1/frecuencia.
Te dejo este link que te será de ayuda para como poder realizar la medición de frecuencia y despues aplicar el procedimiento que te comento utilizando el ExpressVI de Tone Measurements:
http://digital.ni.com/public.nsf/allkb/0A335655A8F​F2C69862570BD0052DFDA
Con respecto a tu pregunta de cómo poder almacenar la información a un archivo de texto (.txt) lo que puedes realizar es el uso del ExpressVI “Write To Measurement File” para realizar la escritura de manera rápida y sencilla, te dejo este link donde se muestra su uso:
http://digital.ni.com/public.nsf/allkb/CB46BC11A48​8621E86256D19005A386E
También puedes realizar la escritura un poco más personalizada con los VIs de bajo nivel (paleta de File I/O dentro de LabVIEW). Te dejo esta liga también y código ejemplo donde se muestra cómo usar estas funciones para añadir texto a un archivo .txt
http://digital.ni.com/public.nsf/allkb/F55FD21DFEF​0C3C1862571F500023123
Espero que esta información te sea de utilidad.
Saludos!
- Luis C

Similar Messages

  • Medir la frecuencia de los pulsos cardiacos

    buenas tardes con todos quisiera saber si me pueden ayudar con un proyecto el cual consiste en obtener la frecuencia de los pulsos cardiacos para ellos he podido obtener la forma de onda de la presion sanguinea pero pero no consigo medir la frecuencia de esta onda he intentado con le timing and transition measurent pero no se si estoy usandolo mal o no se puede. si alguine tiene una idea como hacer una programa para hacerlo por favor que me ayude muchas gracias

    Hola patillo!!
    Muchas gracias por utilizar los foros de National Instruments!!  Para poder apoyarte de mejor manera, ¿crees que puedas adjuntar tu código en tu siguiente post?  Asimismo, un archivo de datos que desees analizar sería de mucha ayuda. ¿Qué hardware de NI estas utilizando?
    Existen algunos ejemplos en NI Community que pudieran servirte como base para tu proyecto.  Te dejo algunos:
    How to use NI Biomedical Startup Kit 2.0 - HRV (Heart Rate Variability) Analyzer
    Simple Heart and Respiration Rate Measurement
    Espero que te sirva!
    Saludos!
    Anuar R.
    National Instruments México y Latinoamérica
    Ingeniería de Aplicaciones
    www.ni.com/soporte

  • Medir periodo y frecuencia

    hola comunidada NI..
    estoy trabajando con las entradas analogicas de una tarjeta sbRIO-9631 para medir la frecuencia de una senal de salida de un anemometro..
    les agradeceria su aportre gracias...

    "NI comunity hello ..
    I am working with analog inputs card sbRIO-9631 to measure the frequency of an output signal of an anemometer .. 
    I would appreciate your aportre thanks ..."
     Sebass, las preguntas en castellano te conviene postearlas en la comunidad en español: http://forums.ni.com/t5/La-Comunidad-en-Espa%C3%B1ol/ct-p/ESAForum
    what labview version do you have? (professional, developers, etc.)

  • Medir Flujo

    Hola amigos, estoy haciendo un proyecto el cual consta medir el flujo de agua con Labview y una Ni DAQ, alguien tiene algun programa para poder hacer esto? 
    El sensor que uso lo anexo en una foto, el cable rojo es voltaje, el negro es tierra y el amarillo es señal.
    Necesito poder visualizar los valores en un indicador numerico y en una grafica.

    Saludos danieltuzc,
    Gracias por utilizar los Foros de Discusión de National Instruments, como comenta Dennis_Knutson es necesario nos compartas un poco más de información sobre tu proyecto.
    ¿Cuál es el modelo de tu sensor?
    ¿Su salida es de voltaje, corriente, frecuencia, etc.?
    ¿Qué rangos de flujo deseas medir?
    ¿Qué precisión requieres para tu medición?
    ¿Qué dispositivo NI DAQ planeas utilizar?
    Así bien, me tomé la libertad de realizar una búsqueda rápida basado en la imagen encontré que posiblemente se trate de un YF-S201, ¿podrías confirmarnos si este es el modelo de tu sensor? De ser así, lo más parecido que logré encontrar a un datasheet fue este documento. Te pido por favor verifiques que el modelo de tu sensor corresponda con el datasheet.
    Así bien, según dicho documento la salida del sensor es una salida PWM, por lo que tendrás que medir la frecuencia del mismo para poder determinar el flujo que cruza a través del sensor, sin embargo según el documento no se trata de una relación totalmente lineal, por lo que te recomiendo utilizar una escala personalizada del tipo tabla, el documento especifica algunos valores conocidos para el sensor que podrás utilizar en tu escala personalizada.
    Te comparto algunos links que pudiesen serte útil:
    Frequency Measurements: How-To Guide:
    http://www.ni.com/tutorial/7111/en/
    How to Take a Frequency Measurement with an Analog Input Channel:
    http://digital.ni.com/public.nsf/allkb/0A335655A8FF2C69862570BD0052DFDA
    What Are NI-DAQmx Custom Scales, and How Do I Use Them?:
    http://digital.ni.com/public.nsf/allkb/0464919A11C092E386256D800079C3BB
    How Do I Programmatically Create NI-DAQmx Custom Scales in LabVIEW?:
    http://digital.ni.com/public.nsf/allkb/F7DAE47B4408A86F8625765700767FCD
    Custom Scales:
    http://zone.ni.com/reference/en-XX/help/370466V-01/mxcncpts/customscales/
    Nuevamente, te pido nos confirmes si efectivamente este es el modelo de tu sensor, quedo al pendiente, saludos cordiales.
    David P.
    National Instruments
    Applications Engineer
    www.ni.com/soporte

  • Multiples senales digitales con diferente periodo y frecuencia

    Hola!
    Estoy escribiendo un codigo que me envie multiples senales digitales con distinto periodo y frecuencia. La idea es que cada senal (ademas de tener distinto periodo y frecuencia respecto al resto de senales), tambien debe ir actualizando su propio periodo y frecuencia. Los valores de periodo y frecuencia los actualizo desde MatLab (mediante MatLab node), porque necesito que sean valores aleatorios de una determinada distribucion de probabilidad.
    He escrito el codigo muy simple para dos senales, en el que mediante un "for loop" y mediante un vector de datos, voy escribiendo los datos del vector para cada paso del loop en el DAQmx. El vector de datos, por filas representa los canales y las columnas representan cada muestra que quiero escribir (0 = 0V, 1=5V). Mediante un elemento "wait" dentro del loop intento controlar el tiempo por iteraci'on dentro del loop. Sin embargo, cuando lo conecto al osciloscopio, una de las senales no funciona, la otra si pero con mucho ruido y la frecuencia que marca el osciloscopio no corresponde con el elemento "wait" que le he puesto.
    Aqui adjunto mi programa por si teneis alguna idea de cual puede ser el problema o nuevas formas de escribir el programa.
    Muchas gracias!!
    Miguel
    p.d: Perdonad por las faltas ortograficas pero no tengo teclado espanol.

    Buen día Mike,
    1. Intenta utilizar la función de "Wait (ms).vi" en vez de Wait untitl next ms multiple.vi""
    2. El tunel de entrada del array al for loop, tiene deshabilitado el autoindexing, por lo qe solo está pasando un valor a la entrada al ejecutar el programa.
    3. Cuando habilites el auto indexing, recuerda que el for loop va a iterar tantas veces como filas tenga el array de 2 dimensiónes (en este caso 2 veces, extrayendo primero toda la primera fila y luego toda la segunda fila), ignorando el valor cableado en "N" si este es mayor al número de filas del array.
    Saludos,
    >>Daniel C.

  • Puedo ejecutar en el mismo VI rutinas a distinta frecuencia?

    Estoy diseñando una aplicacion de control con una DAQ de Adlink.Necesito saber si es posible ejecutar en una misma aplicacion, rutinas a distintas frecuencias de ejecucion.

    Si. La manera mas simple de lograrlo es tener "while loops" corriendo en paralelo, cada uno con su propio "Wait" (Function palette -> Time & Dialog) con los milisegundos adecuados que determinan su frecuencia.
    Enrique
    www.vartortech.com

  • Determinar frecuencia

    Saludos comunidad NI ...tengo la entrada digital de una sb-RIO 9631 lo que necesito es medir la frecuencia de una salida digital de un anemometro...por favor como puedo medir la frecuencia y si me pueden ayudar con el VI muchas gracias.
    Fabian Lalaleo S.
    saludos 

    Hola,
    El siguiente ejemplo de uso cRIO para medir la frecuencia, cómo sbRIO utilizar el mismo código que cRIO puede adaptar este ejemplo a su aplicación.
    The following example use cRIO to measure frequency, how sbRIO use the same code as cRIO you may adapt this example to your application.
    http://zone.ni.com/devzone/cda/epd/p/id/5835
    Cordiales saludos,
    Abel Souza
    Applications engineering
    NI Brazil
    Abel Souza
    Engenheiro de Aplicações
    National Instruments Brasil

  • Industrial Design & CAD -- Switching to Mac (Within A Company)

    Hi all.
    With the stalled global economy, our IT budget is frozen here at my company, probably for at least a year. So, what better time to ressurect my case for Macs at work to replace our Dells? If you can help, please read on...
    I'm an industrial designer in a small group (8 persons full-time in North America, with an additional 5-or-so contractors) within a large manufacturing company (3000+ employees globally). We use mainly Photoshop, Autodesk Sketchbook Pro and Illustrator as our 2D apps, which are all available for OSX. We also use Microsoft Office, and there is an OSX flavor of that, too. Unfortunately, we also use Autodesk AutoStudio, which is currently available only for Irix, Linux & Windows. I'm not even sure if it supports Vista or 64-bit. That's our main 3D app, though. A couple of virtual showroom apps, but we're more flexible on that (while we network our AutoStudio licenses, something like Autodesk's Showcase would, I believe, run just fine with a locall license under bootcamp).
    My Dell Precision 690 is a good machine, actually. What I don't care for is the "long arm of the law" our IT group has put in place in terms of how it piecemeals out applications.
    For example, I cannot open Illustrator documents out of Bridge, as one would expect. I must view the file in Bridge to know what I want, go back to Illustrator and manually search by filename. This is due to the odd installation process they've put in place here. Illustrator should be installed along with the rest of CS(2, in our case) in order to function properly, something we're unable to do with our setup. Also, I have been having major file-renaming issues with Illustrator that our IT department is both unable and unwilling to solve, as well as what appears to be an expired support contract with Adobe.
    It seems that we overpay IT for every last piece of hardware & software, with very little benefit in terms of warranty or service. One example is when we paid $1000 for a (then, now cheaper) $500 Wacom tablet. I figured that "double-the-price" setup ensured us some sort of replacement warranty, but when I did have technical problems, we paid for both the service call AND the replacement hardware. Gadzooks! Despite the perception of Macs as being more expensive than Window-boxes, not only was this Dell box I'm using pretty pricey, but all the IT charges, I'd like to think we could offer a cost improvement by "breaking out" of the system.
    So, my motivation is political. But it is also that I have a preference for OSX when it comes to networking, using Adobe applications & overall appearance (both the interface and also of my physical workspace!)...
    Anyone here ever had to make an IT case to "break away" a creative department from the parent? Any hints in terms of business case of maintenance costs of Macs vs PCs? Service contracts with Mac people? Any helpful links or books you could recommend? I've been Googling some terms with no luck.
    I think my ultimate proposal would be to keep on "company" Dells over in the (shaded, depressing) corner of the room for email & CAD work, but to use Mac Pro (or MacBook Pros) for our 2D work. Until Autodesk lists Macs as "approved hardware" on their site, we'll never convince to company to go the bootcamp route (even though I know a colleague who's been using AutoStudio on Windows on a Mac Pro 17". Says it works flawlessly).
    Anyway, any help or words of wisdom would be appreciated. Also, please feel free to share your own experiences with proposing a "switch." Things to watch out for, etc. Also, if there is another place (either here at Apple or elsewhere) you'd suggest I post, please let me know that, too. It's a bold new world, baby.
    Thanks & apologies for the length.
    -Chris H.
    ps/ Below it says I use a PowerBook G4. This is my personal computer. At work, I'm using a 2-year old...
    Dell Precision 690
    Intel Xeon CPU
    5160 @3.00 Ghz
    3 GB RAM
    Windows XP Professional, 2002 , SP2
    We have networked (floating) profiles using a locked-down flavor of XP (nothing but bright blue task bars, all day long. When it comes to Windows, I'm a "classic" man. No such luck here...).

    Hey Chris,
    I'm also an industrial designer but switched over to exhibit design from product design years ago. I was lucky to develop the dept. when the need for computers was new. (12 years ago) I went Mac all the way and we still maintain a strong Mac presence in the design dept. We have detailers still on ACAD on there PC's. Our outside IT guys are difficult to work with and high priced. The Macs never need the amount of attention the PC's get from the IT guys. We use FormZ as our 3d modeler and it exports and imports dwgs nicely. I've heard of Solidworks and Vellum for the Mac for more detailed work. Lightwave, Modo, Formz, Cinema 4D and Maxwell for renderings. (the pretty pictures that sell)
    Are you guys able to switch apps? After a few new hires to our dept, they came in w/ 3DS experience and pushed that. It was easy to say it would be a lateral move and all the money to invest in that direction would only give us the same results at the end of the day. BUT, our IT bills would have been more if we did move to the PC side. Maybe if windows7 is ok, i may load it, but have no reason too.
    I found it interesting that if you get a virus on the windows side, while using a mac, you can use TimeMachine to go back before the virus; what I was told from someone at an Apple store. I thought that was big and shocked APPLE doesn't sell that more.
    Anyway, keep us posted on your progress.
    Good luck.
    Mark

  • Medição de Distâncias usando Camera USB

    Estou desenvolvendo um sistema que utiliza medição de distâncias através de análise de imagem. Essas imagens serão providas por uma camera USB. Não possuo o pacote IMAQ Vision e por isso a aquisição da imagem e tratamento dos elementos será feito "na raça". Alguém já fez isso? Conhece alguma aplicação exemplo?

    Eu não conheço Portugese, este texto é traduzido pelo Internet e pode ter erros: Há um excitador disponível de http://www.cs.unc.edu/~parente/labview/index.shtml que permite a captação das imagens das câmeras do USB. Eu usei este eu mesmo criar um VI para capturar imagens para a rede. Pode ser um começo útil para você.

  • CAD Problem: Lost connection with the cisco unified ccx application server

    I have two locations in our help desk area that consistantly loose connection. I checked the network and we ran new cables. Still having the same issue. They have connectivity to everything else when they loose connection to CAD so I believe there is something going on with the program itself. I have attached the logs from both. There is nothing else that lives on their subnet.
    There are 2 servers, the primary 172.29.0.22 and the secondary 172.29.0.23. The Primary is the active server so it is in the same building as the agents.
    Can anyone please advise? any help would truly be appreciated!

    Hello DJ,
    Thank you for replying. No nothing else lives on their subnet.
    There are 2 servers, the primary 172.29.0.22 and the secondary 172.29.0.23. The Primary is the active server so it is in the same building as the agents.
    I am completely stumped. I have no Idea why this is occuring.

  • Congratulations to the winner of 3D CAD contest

    Michael Kozenko is the winner of 3D CAD contest, held by Russian ISV-ASCON
    The design contest was held for 12 years, purpose is to encourage more students and more engineering studios using Ascon software.
    This year MSI Workstation team was invited to announce prize winner.
    Let’s see more of their great artworks. http://ascon.net/showcase/gallery/

    They already have your number and/or email address and maybe have sold it several times already to others as well. They also use number generators - software that will automatically create them - some work and some don't, they don't care, they send out millions and a few will fall for it and send them money. The only way to "hide" would be to change both and your password, but then it would happen again at some point.

  • CAD upgrade 8.0 to 8.5

    We're planning an upgrade from UCCX 8.0 to 8.5.  I've got the server upgrade pretty well documented, but I had a question about CAD. 
    Once the server is upgraded, and I re-run Desktop Admin, will the CAD/CSD clients auto-upgrade at next log-in? I know they will if you went from 8.5 to 8.5 SU4, but I wasn't sure about from 8.0 to 8.5 SU4.

    If the ‘CAD automatic updates’ is set to ‘Yes’ in the postinstall.exe, of course CAD/CSD gets upgraded.
    -Sunil

  • What is the diffrence between SAP View and CAD View ?

    What is the diffrence between SAP View and CAD View ?
    What is the main purpose of SAP View
    and
    What is the main purpose of CAD View
    On SAP help i found
    SAP View is used for :The SAP view displays the SAP structure (document-based structure) for the active CAD object, or another document info record (header document), with a single-level or multilevel document structure in a tree structure. You can variably configure the fields using the layout editor.
    CAD View is used for :The CAD view displays the document-based structure of the currently active CAD object, such as the structure of an assembly. The CAD system determines the complete (multilevel) structure and copies it either completely or in stages to the SAP system, in accordance with the default explosion level.
    BUT I did not understand it well
    Can someone explain this with an example
    THanks
    Raj

    Hello Raj,
    SAP View  can be further described as the view that is based on what is existing already in the SAP system. This view is generally used by SAP purchasing, MM people etc
    CAD view is nothing but the replication of the model tree view in the SAP system. This is used by the design engineer and this view replicates only the parts that are actively displayed on the CAD tool window.
    hope this helps. Let me know if you have further questions else please close the message.
    regards
    N K

  • Highlighting Text in CAD drawings

    I would like to have the ability to highlight page items other than "text." For example, if a page has been scanned in (and has not had OCR performed on it) you cannot highlight the text, because Acrobat views the page as a raster image, not as text (because there are no fonts). Similarly, if a document was prepared in Auto CAD, and has no true fonts (but uses vector representations of letters), you cannot highlight the text. In Snagit, the highlight tool is actually a bow-drawing tool with the transparency set to multiply. I was able to achieve somewhat of a workaround to this problem by creating custom shapes in lllustrator, setting the blending space to multiply, and importing those files into Acrobat as custom stamps. The native transparency is retained. However, the proportions are locked, and the only way to change the color is to make a whole new stamp. It would be nice to have another type of highlighter tool in Acrobat, which mimics the bow-drawing highlight tool in Snagit.

    I would like to have the ability to highlight page items other than "text." For example, if a page has been scanned in (and has not had OCR performed on it) you cannot highlight the text, because Acrobat views the page as a raster image, not as text (because there are no fonts). Similarly, if a document was prepared in Auto CAD, and has no true fonts (but uses vector representations of letters), you cannot highlight the text. In Snagit, the highlight tool is actually a bow-drawing tool with the transparency set to multiply. I was able to achieve somewhat of a workaround to this problem by creating custom shapes in lllustrator, setting the blending space to multiply, and importing those files into Acrobat as custom stamps. The native transparency is retained. However, the proportions are locked, and the only way to change the color is to make a whole new stamp. It would be nice to have another type of highlighter tool in Acrobat, which mimics the bow-drawing highlight tool in Snagit.

  • I uninstalled a cad program I've been running for years and when I go to reinstall it says 0kb available, but in Finder the hard drive shows 80 gb.  Why won't it let me install?

    Cad software started having some issues so I uninstalled it and when I go to re-install, I can't get past the "select folder for installation" page.  I can't browse to any other than the default applications location and at the bottom of the screen it shows 0kb available.  But there is 80 gb available on the hard drive.  It's an older software, but that shouldn't really matter as it's been on the machine for years.  Did upgrading to Snow Leopard somehow do this (as it had many other negative effects on the software)?  Software is ArchiCAD 9.  I'd upgrade to current version if I had an extra $4K laying around but I don't (so please don't suggest that).  Also, I'm that Administrator and I don't have problems installing other softwares.  Is it possible that the installation disk from the software manufacturer can have an expiration date?  Software is from about 2006.
    Thanks.

    I suspect the software was originally designed for PPC based Macs and is simply not designed to run on 10.6.7. I would recommend contacting the manufacturer and asking the correct way to uninstall they're application.
    After uninstalling I would run Repair Disk Permissions in Disk Utility and if necessary do a SMC reset using the following instructions:
    SMC RESET
    • Shut down the computer.
    • Unplug the computer's power cord and all peripherals.
    • Press and hold the power button for 5 seconds.
    • Release the power button.
    • Attach the computers power cable.
    • Press the power button to turn on the computer.
    PRAM RESET
    • Shut down the computer.
    • Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    • Turn on the computer.
    • Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Roger

Maybe you are looking for

  • Sum of same fields in two different tables

    Hi , I am facing a problem, hope anyone would help I have two tables.. here is the sample data.. create table t1 (item_ID NUMBER(2), book_ID NUMBER(2), price NUMBER(2)) insert into t1 (item_ID, book_ID, price) values (1,1,60); insert into t1 (item_ID

  • Calendar events on lockscreen

    I am looking for what I would think is a simple app, but cannot locate it. I used to use a program calendar lockscreen in cydia on my iphone. I went to a razr this last weekend, tired of fighting with apple over what I can put on my phone. but lookin

  • Architectural Difference between Oracle 8i and Oracle 9i

    hello there anybody can tell me precisely what is the architecture difference in Oracle 8i and Oracle 9i. or provide me the link where i can get it. waiting for reply

  • Application launching problem in Google Chrome

    Hi All,    I am trying to launch a desktop application from browser(Google Chrome Version 21.0.1180.60 m). When i try to launch the application it is asking for AIR install even though i have already installed adobe air. When we try to install adobe

  • Server value in content header

    Looking at the content header of web pages I am serving to a web browser from Sun Java System Web Server 6.1 SP7, the value of the Server: value is an empty string. How do I control this so that the value is a string reflecting the name of the web se