Display LabVIEW graphs in realtime from previously acquired data

I have some raw LabVIEW data stored in a BIN file. This file contains about 4 channels of labview graph data that was acquired. How can I open the raw LabVIEW data and view the four steams in realtime? I need to be able to view the data as it scrolls across in the same way as when the data was acquired. Is there a program or premade VI to do this?
I will then use screen capture software to create videos of the labview graphs. If there is a way to directly convert the visual labview graph data into a video that displays the graph in the same way it was collected that would be ideal. For now I would be happy just getting the data displayed in the same way as it was collected.

I'm sure this has been asked before, but I am having a hard time finding the other messages.
Basically you need to create a VI that reads in the binary data from the file.  You also need to know the acquistion rate for that data, what is the dt between data points.  Now feed that data into a for loop (auto-indexed) that feeds the data one point at a time to a waveform chart.  The loop would have a wait statement equivalent to your dT of the data.  Thus the loop runs at the same rate as you had acquired the data adding a point at a time to the waveform chart.

Similar Messages

  • Plotting dynamic data but plot showing previous acquired data too

    Hi, I am trying to plot a voltage-signal graph simultaneously, as it is being acquired by the computer from the SR830 lock-in amplifier. I have used a X-Y plot and placed it inside the for loop where the data is being acquired. <It only shows me the last point instead of all the points acquired earlier too. I want to retain the earlier data plot as well instead of just the last data point but want to update the graph as the data are acquired sequentially. If I put the x-y plot outside the loop. it will acquire a set of data before plotting which is not desirable in my case, as data has to be plotted dynamically. Can u guys please suggest me a way. Am I doing something wrong? thanks in advance.
    Please find the VI attached. 
    Solved!
    Go to Solution.
    Attachments:
    select voltage freq amp VISA 6.vi ‏67 KB

    Cory K wrote:
    altenbach wrote:
    The "built xy graph" express VI has a "reset?" input. Wire a true to it to reset the internal data. In your particular case do a "=0" on the iteration terminal of the inner for loop and wire it to the reset input.
    Now I'm confused. Does he want to keep the previous data or not?
    He made it sound like he is only getting 1 point in the graph, but he wants to keep all of the data in the graph
    Sorry, my message was incomplete. You need to double-click the "build xy graph" express VI and un-check "clear data on each call".  Easy enough?
    Whenever you want to start over, wire a true to the reset input to clear the history.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    xy.png ‏29 KB

  • How to display images in BI Publisher from a LONG data type

    We are storing images in Oracle Database as LONG data type. When I am giving query in BI Publisher and view the XML generated, I am getting the following error.
    name was started with an invalid character. Error processing resource 'http://.......
    <X_SIGNATURE>"N!0$$$$$$$#B!0$$$"X$$$$!3$$$!2$$#a$$$!1$!1$$$$$d$$$$#7$"X!0$"}@E$e"1"XM">K#@!P!P!Ga}!1!@!P!C#C"O!>...
    Can anyone suggest the solution?

    Hi
    my problem is, for each job_id there is many users. Oh that's something completlty different...
    I Strongly Recommand to_
    1.*create 2 tables Jobs & users*
    2.*create a relation between them* 1 to many to get for each job more than a user that's the way that Must be -- execuse me the bad design of the db pulled u into this trap -
    3.then u can deal with it normally no need to a sample code but just a form with Jobs as  (Master) and Users as (detail) with a relation and with a simple query u can display each job_id is for many users.
    no null values no commas r needed.
    Hope this helps...
    Regards,
    Amatu Allah.

  • Acquiring data in LabVIEW FPGA

    Hello,
    I am working on LabVIEW FPGA where I have to acquire data from a source and take its average. One way to do that is to keep adding every new signal to the sum f the older ones and then average.
    However, I wish to store all the incoming values into a file and save it. But when I tried doing so, it gives an error saying "array size cannot be changed". With this constraint, I am unable to write the data into an array.
    Please suggest.
    Thank you. 
    Dheeraj Bharadwaj
    IIT-Madras
    Solved!
    Go to Solution.

    You need to acquire data, pass it to the RT, then log there. You cannot use build array on the FPGA because FPGA will not allow for dynamically allocating memory like this. You must preallocate the array then use replace array subset. A better way is to use DMA FIFOs. Have a look at the FPGA examples in LabVIEW for streaming data. Then, on the RT, you can just add in your file logging functions.
    CLA, LabVIEW Versions 2010-2013

  • Gross salary from previous employer

    Dear SAP users
    Can you please tell me where to store Gross salary from previous employer data in PA.Is there any infotype other than 580 where we can store the above mentioned details
    Regards
    Sambit

    Did you try Infotype 0694?
    ~Suresh

  • Restore Data from Previous Day

    I have my SQL Database Web Edition hosted on Azure, some stupid user deleted his data, how can I restore from previous day data? 
    TIA
    SV

    Hi vai,
    According to your description, as Mekh’s post, Microsoft Azure SQL Database service has built-in backups to support self-service Point in Time Restore ,Geo-Restore, Point in Time Restore and Geo-Restore are enabled for Basic, Standard, and
    Premium service tiers.
    In a SQL Azure Web database, you need to create a backup, then it will restore and protect your data from application or users errors.
    There is an article about how to setup a backup and restore strategy for a Windows Azure SQL Database. You can review it.
    http://www.mssqltips.com/sqlservertip/3057/windows-azure-sql-database-backup-and-restore-strategy/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Displaying a graph from a signal generator

    I am extremely new to labview and I am still trying to navigate my way around the basics.
    How do I display a graph using a signal generator?  I am using NI USB-6251 and I have connected the signal generator to AI.0.  I used the input daq which turned into a task.  Used the read component and wired it to a graph indicator, but I am not showiing the waveform. What am I doing wrong?

    Hello eckhartp, 
    My recommendation if you are just getting started would be to begin with one of the analog input examples included with LabVIEW.  From within LabVIEW, you can select "Find Examples..." from the Help menu, which will bring up the Example Finder.  I would recommend taking a look at "Voltage - Continuous Input.vi", which can be found by searching in the finder.  You should be able to select your analog input channel from the pull down, and see your data on the graph.  Use one of these examples as a template for your project.
    Alternatively, here is a good reference page for DAQmx general information:  http://www.ni.com/white-paper/5434/en
    Feel free to post any follow-up questions you may have!
    Kevin W.
    Applications Engineer
    National Instruments

  • How to display error messages and output from Matlab (which Matlab would typically send to its command window but no longer does when called by Labview) into Labview or allow it to be dumped into Matlab Command Window?

    Using Labview 6i and Matlab 6.1. I want to be able to see Matlab warnings and error messages either in the Matlab Command Window or in Labview itself. Currently Matlab is called by Labview (which is working). However I would like to debug and/or modify my Matlab script file to better understand how the two programs are interfacing. It is difficult since no data or messages can be displayed currently to the Matlab command window. I would like to change that if it is possible - Labview is suppressing that from happening. If not possible to send these
    messages to Matlab Command Window can I make it at least possible to see Matlab's actual warnings and/or error messages in Labview?

    I don't think you can debug your Matlab script from labVIEW. The following webpage talks about this:
    http://digital.ni.com/public.nsf/3efedde4322fef198​62567740067f3cc/19106e318c476e608625670b005bd288?O​penDocument
    My suggestion would be to write a script in Matlab and thoroughly test it before calling the script from a Matlab script node in LabVIEW.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • Labview graph from excel data

    Hello,
    I need some help. I have data in excel The first column is a timestamp and the other columns are the data needed.and I am trying to get a graph with multiple plots with these data.
    attached here are the excel file and a labview file. In the labview file, the top part is an example I got from the forum, an interesting graph I am trying to follow.
    The bottow part is my tentative to extract the data from excel into array and try to use it. but I am stuck here. Any help please!
    Thank you,
    Agyna
    Attachments:
    graph.vi ‏13 KB
    Histo.xlsx ‏53 KB

    Hi agyna,
    I've saved xls file into csv and then i'm reading into labview and plotting the graph. Please check it this is what you need.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Attachments:
    graph.vi ‏18 KB

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadshee​t. Any ideas?

    I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadsheet. Any ideas? Right now my data will collect one reading instead of continuously reading my IMU which displays data in a continuous stream.
    Thanks
    Attachments:
    Read_IMU_Drew.vi ‏21 KB

    Hi
    Your vi is in 2009 version, which i am unable to open in 8.6
    However, if you want your data to be saved in excel sheet, here is the VI
    Somil Gautam
    Think Weird
    Attachments:
    save to excel.vi ‏12 KB

  • How to display 4 graphs on the same graphs display when running the VI 4 times ?

    My goal is trying to display 4 different graphs on the the same XY graph when I run the VI 4 times. Right now, the new graph will overdrive the previous graph when I re-run the VI.
    Please help!
    Solved!
    Go to Solution.

    You need a mechanism for storing previous data; LabVIEW graphs do not have a history, they display sets of data.  A shift register is an obvious answer, but it can get somewhat "tricky" when the Build XY Graph is used as it accepts a DDT and you cannot simply append a data set using array functions...
    The solution?
    Rather than make the changes for you, I've created a simple example for a regular graph to show you how to use an un-initialized shift register to store values from previous runs (the data will be lost when the VI is closed) as long as the VI is in memory.
    I'll leave the DDT conversion from the 2D-array and XY graph implementation for you to figure out in case this is some form of a homework assignment.
    Good luck!
    -Bob
    Message Edited by B O B on 11-20-2009 04:53 PM
    -Bob
    Attachments:
    Example 2.vi ‏12 KB

  • Displaying a graph in a seperate VI

    I want to display a graph in seperate window (VI) but I also like to
    enable/disable this window. Is there a possibility to switch on or of the
    VI's frontpanel from within the program?
    Johan van Hespen

    Hi Johan,
    There's also the possibility to use a tab-control (You would be in need of
    LabView 6i) . Look for an example in which it is used at:
    FIR filtering using Optional Specs.vi.
    Ronald
    Johan, ik neem aan dat je een beetje te weinig ruimte op je beeldscherm hebt
    om alle graphs te displayen. In dit geval kan het gebruik van de tab-control
    (geintroduceerd in LabView 6i) erg handig zijn. Dat wat je niet wilt
    zien..... Een leuke 3D versie daarvan vind je overigens in 'array and
    clusters' op je controls pallet
    Groet,
    Ronald
    Johan van Hespen schreef in berichtnieuws
    [email protected]..
    > I want to display a graph in seperate window (VI) but I also like to
    > enable/disable this window. Is there a possibility to switch on or of
    the
    > VI's frontpanel from within the program?
    >
    > Johan van Hespen
    >
    >

  • Error when running VI to acquire data from multiple channels

    Hello there, I am currently trying to write a LabVIEW program interfacing with the Agilent 34970A data acquisition unit. Have managed to get seperate VIs to acquire temperature and voltage data and to graph the data. Running them separately is fine.
    However when I try run one after the other, (ie, run temperature acquisition VI, then voltage acquisition VI; or vice versa) the first one runs OK, but upon trying to run the second one I get a VISA error along the lines of "VISA write". When I try to run the first VI again, that one fails to acquire readings as well. Any way I can rectify this problem? (Want to combine the VI's into a single program.) Thanks!

    Hi Laeral:
    You should be able to just open one VISA session then write and read both commands then close the session at the end. This sounds to me like an error that comes from trying to open two VISA sessions to the instrument at the same time. I have attached some very basic LabVIEW VISA code that writes and reads two different commands. Hopefully it will get you started.
    Regards,
    Emilie S.
    Applications Engineer
    National Instruments
    Attachments:
    Basic VISA Example Two Commands.vi ‏39 KB

  • Acquiring data from instruments and wiring it to a while loop

    Hello,
    I am very new to labVIEW and was thrown into a project.  Essentially what I am trying to accomplish is to acquire data from my four sensors and use that data to compute drag.  In order to compute the drag, an initial guess at what the drag is must be given and then calculations are carried out in a while loop that converges on a solution once the difference between the current drag output and the previous drag estimate falls below a certain percentage.  I am continuously acquiring data so I need some sort of way to incoporate a timer to allow time for the while loop to converge and then output the drag value.  Right now I am generating a signal since I do not have the sensors hooked up and labVIEW will not let me connect the signal generator to the while loop and gives me an error that I have connected two terminals of different types.
    If I could figure out how to wire my DAQ assistants to the while loop I could figure everything else out
    Thank You,
    Ellen

    Hi Ellen,
    I might need a little more information before I can help you. How are you simulating your signals? If you're using the DAQ assistant express VI, are you simulating hardware in MAX? Or are you using the simulate signal express VI?
    Alos, what VIs or functions do you have inside the while loop that you are trying to connect to?
    Perhaps posting a screenshot would be useful. I'm sure we will be able to solve your problem.
    Here is a help page that you might find useful.
    http://zone.ni.com/devzone/cda/tut/p/id/4656
    Joel G
    Applications Engineer
    National Instruments UK & Ireland

Maybe you are looking for

  • Creating a JSF Web application from scratch.

    hi, i have created a JSF web application, but not from scratch i had to use a jsf example included in the final specification of the JSF download, as a template to create my own application, by deleting and editing the example files with my own. i tr

  • Java 1.4 not found in Linux Mandrake 8.2

    I installed the java1.4 rpm file. When I run java -version it gives me version 1.1 originally bundled with mandrake 8.2. This is my /etc/profile file: # /etc/profile -- Mode: shell-script -- # (c) MandrakeSoft, Chmouel Boudjnah <[email protected]> #

  • ITunes plays music, iPod loses some parts of song

    I imported a Beatles CD into my iTunes folder and it plays exactly like the CD. Then when I transferred the music into my iPod, I noticed that certain parts (guitar chords, etc.) were missing from the songs. Can anyone explain what's wrong? I appreci

  • Ipod Video Scratches

    I really get desperate about the scratches on my Ipod video. I have a problem with my Ipod video 60 GB it is very vulnerable for scratches. After 2 days I had so many scratches that I brought it back to the interdiscount branch in Vevey. When your in

  • Access 2007 ADP to SQL Server 2012 with extended protection

    Hello, I have a Access 2007 ADP client connecting to an sql server 2012. This works fine with standard security configuration, but when I activate extended protection on the SQL server, the Access client cannot connect to the server. I am using integ