How can I use Labview to create a graph of digital voltage signal vs. Time?

I am measuring a digital voltage signal and I need to generate a graph vs. Time and be able to add user controls to start/stop the graphing and be able to export the graph to other programs such as MS Excel. Any help you could give would be much appreciated. Thank you.

You probably want to use a chart. Place it inside a while loop that runs continuously. The chart should be in a case structure so it is bypassed depending on the boolean pause/continue switch.
To save the data, get the "history data" of the chart via a propery node and save it to a file. It is probably easiest to save it to an ASCII file. Most other programs will be able to read it.
See how far you get. If you get stuck, post your VI and we'll help you.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100 format) out the serial port of my computer?

    I am trying to write a vi that interfaces with a piece of OEM equipment that is set up to talk with a VT 100 terminal. I can't seem to locate the ASCII equivalent string (if there is such a thing) of a CTRL D. Is there a vi that emulates VT 100 commands?

    If I recall, CTRL-D is EOF on most ASCII tables.
    You'd probably have to use an escape sequence
    or if you can use an unsigned 8-bit that might be
    easier.
    In article <[email protected]>, TLS
    wrote:
    > How can I use LabVIEW to send the equivalent of a CTRL D (in VT 100
    > format) out the serial port of my computer?
    >
    > I am trying to write a vi that interfaces with a piece of OEM
    > equipment that is set up to talk with a VT 100 terminal. I can't seem
    > to locate the ASCII equivalent string (if there is such a thing) of a
    > CTRL D. Is there a vi that emulates VT 100 commands?

  • When i want to purcahase for first time on itune,,it said this ID have never been used on itune .how can i use my ID to purchase it if this is my first time?

    when i want to purcahase for first time on itune,,it said this ID have never been used on itune .how can i use my ID to purchase it if this is my first time?

    Hi Zannat,
    Don't get scared. Cookies are the small file which stores your settings for a website, such as location details, login details, language details and so..
    Some sites don't care about your cookies settings but some other sites instructs you to enable cookies in your browser. Enabling cookies is too easy.
    Just follow the instructions which explained [[Enable and disable cookies that websites use to track your preferences |here]] .
    Thank you!!!

  • How can I use forms to create a printable document or an html page?

    This question may be a little confusing, so below is a link to an example of what I want to create using Dreamweaver.
    http://www.howard.edu/technology/info/web/hosting/request/default.htm
    On this webpage, the user is asked to fill in the forms with their info and when they press "view printable form", a html page using the info that was inputted is created for the user to print and sign.
    So, I basically want to create the exact same thing in Dreamweaver - any suggestions? Any help is greatly appreciated.
    Thanks in advance.
    Jonathan

    How can I use java to create a shortcut on a surfers
    desktop?
    A surfer clicks on a link and it creates a shortcut
    back to a certain website and/or a shortcut is created
    on load
    thanks
    You have to sign your applet to create files... and thank god too. I hate it when web pages add shiite to my desktop.

  • How can I use sdk to create a dll?

    I would like to extract text with it's coordinates using Acrobat SDK (I think I can use PDEdit API).
    Can I use my plug-in like a dll?
    I want to use it from the external application.
    Thank you.
    Tanya

    How can I use java to create a shortcut on a surfers
    desktop?
    A surfer clicks on a link and it creates a shortcut
    back to a certain website and/or a shortcut is created
    on load
    thanks
    You have to sign your applet to create files... and thank god too. I hate it when web pages add shiite to my desktop.

  • How can i use the same front panel graph in more than one events in an event structure?

    i want to display the signals from my sensorDAQ in a graph.but i have more than one event in the event structure to acquire the signal and display it in the graph.the first event is to acquire the threshold signals and its displayed in the graph as a feedback.after the first event is executed, i will call the second event,where the further signals are acuired and compared with the threshold signals from the event 1.my question is how can i use the same front panel control in more than two events in the event structure?please answer me i'm stuck.
    Solved!
    Go to Solution.

    Hi,
    I have attached here an example of doing the same using shift registers and local variables. Take a look. Shift register is always a better option than local variables.
    Regards,
    Nitzz
    (Give kudos to good answers, Mark it as a solution if your problem is Solved) 
    Attachments:
    Graph and shift registers.vi ‏12 KB
    graph and local variables.vi ‏12 KB

  • New to LABVIEW. How can I use one analog channel to trigger acquisiton of a signal on another analog channel?

    I am new to using Labview and have been tasked to write data acqusition program for my company. We are attempting to log 6 machines, each with their own asynchronous trigger (I can't use one trigger for all 6 machines). I have the idea to use (for example) ai0 for the measurement and ai1 for the trigger (for one machine), yet I see nothing in the documentation on how this is done. I have tried playing around with the DAQ express VI (I am using Labview7) but still don't see a way to have the setup I am looking for. I'm sure this is a relatively easy question, but I'm unsure where to go to look for an answer. Any helpful pointers or guidance in the right direction
    would be very helpful!

    If what you want to do is start the acquisition of channel 0 when channel 1 reaches the trigger condition and not start channel 2 until channel 3 reaches it's trigger condition, then no, you cna't do that unless you have multiple daq devices. What can be easily done is continuously acquire all channels and monitor your trigger channels. When the trigger condition is met, then perform the analysis/logging. On the Analyze>Waveform Monitoring palette is the Basic Level Trigger Detection function. Use one for each trigger channel and have it return either the index or relative time of the trigger occurance. This value can then be used to idex that portion of the measurement channel that you're interested in.

  • How can i use labview for communicating with pic18 microcontroller through usb port?

    Hi all,
    I want to make a DAQ card using pic 18 microcontroller which has a built-in usb protocol. I have the firmware of this
    controller which will  make it as a usb device. How can i receive the analog voltages from this DAQ card in Labview? or i mean to say that how i can communicate labview with the Pic 18 microcontroller through usb port? I have also the
    mpusbapi.dll file which is for Visual C++. Can i make changes in this dll file to make it compatible with labview?

    Which labview version do you have. Up to labview 7.1 it was no USB raw communication options. I have heard it did not work well in 7.1, but from 8.x most of the errors were fixed.
    Here is a link it should be useful http://forums.ni.com/ni/board/message?board.id=170&message.id=340676&query.id=365864#M340676
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How can i use labview.tl​b to control Labview from an external applicatio​n?

    Hi,
    I've been told by a labview engineer that i could use the file
    labview.tlb located in the labview install folder to control labview
    from an external application (in my case, a C# app). I'm using Labview
    6.1 under Windows 2000. This article confirms that:
    "ActiveX and LabVIEW"
    http://zone.ni.com/devzone/conceptd.nsf/webmain/54​01BE584FBAEECE862567C2006D36C7?opendocument
    But i've not been able to find out how to use this file to achieve
    what i want. I just want to be able to open/close labview, open/close
    a vi, start/stop a vi, hide/show a vi from a C# application. The above
    web page talks about activex but i really don't see the realtion
    between activex and that labview.tlb file.
    Is there so
    mebody around who knows how to use that file? Why does NI
    tell us that it's possible to do what i want to do but doesn't explain
    how (or hides this info very well)?
    Thanks

    Hi,
    > Hi I am fighting a similar problem and so far I found this: Calling
    > LabVIEW from C++ Using ActiveX
    >
    > http://sine.ni.com/apps/we/niepd_web_display.DISPL​AY_EPD4?>p_guid=B45EACE3E21356A4E034080020E74861&p​_node=DZ52051&p_submitted=N&p_rank=&p>_answer=&p_s​ource=External
    Thanks for the link, i actually already found this link before. I've
    found yesterday how to use Labview.tlb, just add it to the references
    of the project, it was probably too easy for me at that time:-) But
    now, i'm still stuck as there is no doc about using the interfaces and
    classes of this activex to control labview.
    The example given on your link is made is C++ and for some reasons,
    the wrapper generated for Labview.tlb when i added it to my c# project
    doesn't seem to expose the same
    interfaces and classes as the one used
    in the C++ example. I therefore can't use the C++ example in C#.
    I've tried to do something like:
    LabVIEW.ApplicationClass a = new LabVIEW.ApplicationClass();
    Just this line causes labview to launch but then immediately throws an
    exception: "Query interface for interface LabVIEW._IApplication
    failed".
    Does somebody knows how to use that control in C#/VB.NET ?

  • How can I use iWeb to create website that contains a lot of downloadable audio files?

    Hi
    How to use iWeb to create a website that contains a downloadable audio files.  I'm uloading about 15 GB of audio files.  I need to creat folders "albums" and then put the files in these folders.   Any advise?
    Thank you very much for your time to this
    W B

    The important thing is not to put the audio files directly into iWeb: if you do that then every time iWeb decides it needs to upload the entire site you will find yourself uploading all 15GB of audio files, which won't make you happy. Start by uploading the files to the server - in folders as suits you - and then link to them in iWeb.
    If you want them to download rather than play, you may be able to set up an .'htaccess' file in the folder which will force a download - it depends on whether your hosting service will allow this. The method is described here:
    http://www.wilmut.webspace.virginmedia.com/notes/missing/download.html
    Here is an example of a simple link which produces a download (without the process described the audio file would play in the browser in a blank page):
    http://rfwilmut.net/stars/dawson2.mp3
    Then all you need to do is to provide a link, designed however suits you, in your iWeb page. If your server won't allow the .htaccess file then you will have to ask visitors to control-click (Mac) or right-click (Windows) on the link and choose 'Download linked file' or equivalent - not so convenient; or otherwise zip the files first, which won't much reduce their size but will force a download (and of course the recipients will have to unzip them).
    If you want the files to play in a player in the page, you can use an html snippet to provide a player as described in this page (you will also need to upload a script to the webspace - this is provided in the page):
    http://www.wilmut.webspace.virginmedia.com/notes/qtembed.html

  • How can I use a manually created help file

    Is it possible to use a manually crated help file *.hlp (microsoft help file) in a oracle forms application.
    I want to open the help file from in my help menu. How can I do that??
    Joury

    Hi,
    Have you tried WIN_API_SHELL.winhelp and WIN_API_SHELL.winhelpex?
    Both are available in D2KWUtil.PLL, usually included in Forms demos.
    Pedro
    null

  • How can I use LabView to control Altera Scripting

    Hi
    I have kind of run into a stone wall. I am building a production test executive based on LabView. Part of this process includes loading an FPGA image on to a CFI flash that is in the JTAG chain. I am trying to make so that the production operators don't have to open a second application, select the right FPGA and Flash navigate to the file then load it, then go back to LabView and run the rest of the tests.
    Altera has a command line interface that will let me load .cdf file.  The problem is that nowhere in Altera’s documentation does it show me how to first load the “Parallel Flash Loader IP” into the FPGA. The flash loader acts as a temporary bridge between the JTAG input and the CFI Flash.  I have looked on Altera’s Forums and have had an open ticket with Altera’s support engineers for more than a week.
    I can’t be the first person to want to do this; I am hoping someone here has done it before. I would really rather not try to use the activeX controls to manipulate the windows based program.
    Any suggestions would be greatly appreciated (Note I am not trying to put LV code on the FPGA/Flash just use LV to control the process)  
    Thanks in advance
    Below is the error message and the script I am using. It almost works just missing the flash loader IP
    C:\altera\12.1sp1\qprogrammer\bin>quartus_pgm -c USB-BLASTER -m JTAG  S_FPGA.
    cdf
    Info: *******************************************************************
    Info: Running Quartus II 32-bit Programmer
        Info: Version 12.1 Build 243 01/31/2013 Service Pack 1 SJ Full Version
        Info: Copyright (C) 1991-2012 Altera Corporation. All rights reserved.
        Info: Your use of Altera Corporation's design tools, logic functions
        Info: and other software and tools, and its AMPP partner logic
        Info: functions, and any output files from any of the foregoing
        Info: (including device programming or simulation files), and any
        Info: associated documentation or information are expressly subject
        Info: to the terms and conditions of the Altera Program License
        Info: Subscription Agreement, Altera MegaCore Function License
        Info: Agreement, or other applicable license agreement, including,
        Info: without limitation, that your use is for the sole purpose of
        Info: programming logic devices manufactured by Altera and sold by
        Info: Altera or its authorized distributors.  Please refer to the
        Info: applicable agreement for further details.
        Info: Processing started: Thu Oct 03 18:16:53 2013
    Info: Command: quartus_pgm -c USB-BLASTER -m JTAG S_FPGA.cdf
    Info (213045): Using programming cable "USB-Blaster [USB-0]"
    Info (209060): Started Programmer operation at Thu Oct 03 18:17:19 2013
    Error (209062): Flash Loader IP not loaded on device 1
    Error (209053): Unexpected error in JTAG server -- error code 5
    Error (209012): Operation failed
    Info (209061): Ended Programmer operation at Thu Oct 03 18:17:21 2013
    Error: Quartus II 32-bit Programmer was unsuccessful. 3 errors, 0 warnings
        Error: Peak virtual memory: 376 megabytes
        Error: Processing ended: Thu Oct 03 18:17:21 2013
        Error: Elapsed time: 00:00:28
        Error: Total CPU time (on all processors): 00:00:03
    Solved!
    Go to Solution.

    Hi Eric,
    I got it figured out today, basically you have to load the Parallel Flash Loader first into FPGA ram. It is a special .sof file (pfl_epXXXX.sof) based on your FPGA. Code is actually pretty straight forward, using the Sys Exec VI. Use the windows based programmer to generate the .cdf file that identifies your FPGA, attached Flash and .pof file .
    Syntax was odd going into Sys Exec. Note the extra "C" in in front of the "quartus_prm.exe" I have no idea why that was needed, but I was getting an error until I just happened to put it in there (Blind Luck :-))
    I used a 2 element array going into a four loop
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG -o P;pfl_epXXXX.sof
    cmd /cquartus_pgm.exe -c USB-BLASTER -m JTAG S_FPGA.cdf
    Defining the working director C:\altera\12.1sp1\qprogrammer\bin
    And added match string with "Successfully performed operation" on the output in the loop to make sure everything loaded correctly then adding the array to give me a overall P/F
    To anyone doing this same thing Altera's documentation is poor to say the least. It took most of a week to figure this out Not allowed to upload code, so anyone wanting details just post here and I will try to help. This was painful, with lots of lessons learned.
    Thanks for the interest though
    Best regards John

  • How can I use LabVIEW to ground floating SCXI-1520 channels (in order not to lose scanning capabilities from the multiplexer)?

    Currently I am reading quarter bridge strain with several SCXI-1520s. When in MAX I noticed my values were no longer reading after a certain gage and as I attempted to troubleshoot, found out that the multiplexer in this module will not scan past any open channel (or if it does, channel results are not consistent) for a very logical reason. If I lose a gage, I usually lose any data from any subsequent gages which we really cannot afford.
    Are there any suggestions programming in LabVIEW (right now i'm using NI-DAQmx with an analog task set up)so that each time my loop executes, the program will check for any open channels and either not collect that data or change the order of acquisition (i.e. place the open channels last on the scan list?
    I'm open to anything that might be of help

    Yes, by "open channel" i mean that there is no signal returning from the gage because it has broken off the structure or the signal to the terminal block has been disconnected somehow.
    When I lose data, I'm referring to the data that is acquired on following channels. The behavior appears to be fairly random (which was a troubleshooting nightmare ) but usually if a channel is open, then that and those behind it in the scan order do not return any data. It returns a number like 10.357E-6 and I do not pick up any noise or fluctuations. As far as I understand, the multiplexer stops scanning at this point (open channel) because it has nothing to ground to and subsequently "hangs" - not (or randomly) scanning the following channels. I have gone through the bridge configuration and as of yet, have not figured out how to fix this using any hard-wiring techniques. I emailed NI, and was sent a library file to "ground the channels" but it actually resets the Analog input Task I have defined each loop.
    I am new to NI-DAQmx so I do not know if this will alter any configurations I already have in MAX for NI-DAQmx. Will it override? I am concerned it will slow my loop time, and also I cannot see the code for this sub.vi so am a little skiddish about using it if i do not know if it can be tailored to my app.
    What do you think? Am I on the right path?

  • How can I use LabVIEW 6 on a SCXI-FRQ8 module?

    Hi, here is a description of our problem. We hope that you will be able to help us.
    We bought from NI, a few years ago, some SCXI-FRQ8 modules. (Those modules were made by a company called Developpement Ingenierie in France) The problem is, we can not update to the version 6 of labview since we do not have the drivers to install Labview 6. The drivers we have are for Labview 5.x and 4.x.
    Furthermore, we can not update those drivers by ourselves, since we do not have acces to the diagram of these VI drivers. We tried to contact that company, but no one answers. So maybe the company does not even exists anymore.
    We would like to be able to install Labview 6 on these modules and if we can
    make it work, we will probably buy some new SCXI-FRQ8 modules(if we can still buy them).
    Thank you

    The driver for the SCXI-FRQ8 provided by DI originally did not include the block diagrams. So if you try to use them in a newer version of LabVIEW, you will receive error messages because LabVIEW needs the source code to recompile the code into the newer LabVIEW format.
    National Instruments can provide you with the code you need to use this module with LabVIEW 6. Request this code at http://www.ni.com/ask.
    Raecine Meza
    Applications Engineer
    National Instruments

  • LV 7.1 - How can I use installer to create folder with its files included w/o adding each file?

    I have several files to place in folders created by the installer. Can't seem to see how I can avoid adding each file individually at build time. Is there an easier way to do this? Simply "adding" a folder would be a solution.
    Thanks
    Fran

    Fran,
    I believe this question is directly addressed in this online Knowledgebase.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Auto-Promote Participants to Presenters is not working

    Hi All, I'm new to Adobe Connect and we are test driving it to see if we should use it for trainging as part of our virtual classrooms. So far I'm really excited by what I see as it seems to be much more training oriented than WebEx. However, I've co

  • Technoklutz with installer problems

    Hi, I loaded Leopard over the weekend, all went fine. I have since had problems with the Mac Installer program not responding when I want to install software. I thought I could just reinstall Leopard, but that requires the Installer program to run. I

  • Help needed with IMG SRC

    Can anyone please help me with this: I have created my own website on IWeb and now I want to use some of my banners on other websites. Problem is: there is something wrong when I fill in the img src code. The banner does not appear, only a question m

  • Audiobooks disappears from Audiobook folder

    I have a 8gb 2gen ipod nano and the problem is that when I start my iPod I can see my audiobooks in the audiobook folder but as soon as I play any music the audiobooks disappears from that folder but can still be seen from artist folder. This only ha

  • Can't download with my mac apple store again

    Can't download with my mac apple store again after typing my username and password,  message of this type will apear. ''We could not complete your request. There was an error in the App Store. Please try again later. (13)'' Please I really need your