Screen Save Waveform Chart

I have a Labview DAQ VI with some controls and a couple of waveform charts.
I would like to print just the waveform charts but not the whole panel at
times using a screen dump or print screen to include as pictures in a MS
Word report. Can this be done?

Actually, the whole process is rather simple. Attached is a snippet of code taken from LV's report generation tools. Using a reference to a front panel control, it extracts the appropriate data and writes a BMP file.
The vi is inside a quick demo that show how it can build a BMP of a graph. Run the demo and then check your temp directory. There should be a new file there that with a name like CT********.bmp.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
graph_test.zip ‏103 KB

Similar Messages

  • How to log waveform chart data in any file at specific interval

     i am using labview 7.0. i want to save waveform chart data in the file at specific interval given by user. Please give me solution for that.
    falgandha

    Open the example finder (Help>>Find Examples) and look at the Write Datalog File example. You can also convert your data to text to save a simple text file. Also, the tutorials in the following links probably cover something similar.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • How do I get my chart to redraw after the onitor comes out of screen saver mode.

    My program runs 24/7 monitoring an exhaust stream. The program usually nruns in the background. When the chart display is called up the display is not correct. this also happens when the screen saver has been on. How can I get the display to redraw the chart to diaplay correctly.

    > My program runs 24/7 monitoring an exhaust stream. The program
    > usually nruns in the background. When the chart display is called up
    > the display is not correct. this also happens when the screen saver
    > has been on. How can I get the display to redraw the chart to diaplay
    > correctly.
    This usually happens when the popup panel is not in memory and doesn't
    know that it will ever need to be used. At compile time, LV optimizes
    your code to leave out display calls and to leave out front panel data
    copies if it thinks they will never be seen.
    In the days before property nodes and invoke nodes, LV always got this
    guess right, but these days it is possible to fool it. If you have a
    subVI with no property nodes, and it doesn't use the VI Properties
    to
    Open panel on call, LV may optimize out the chart's buffer accumulation.
    Then when the window opens, the buffer data is empty or old.
    If you place a property node on the diagram for the popup panel, even
    just to read the value of the panel visible property, LV will leave the
    accumulation code in and the chart should have correct values when the
    panel opens.
    Greg McKaskle

  • How to save data from a waveform chart to a file?

    Hi! I have a question:how to save a real time data from a waveform chart? attachement is a example,how can i do to save the data from 0 second to 25 seconds to a file ?thanks!
    Attachments:
    example.vi ‏23 KB

    You can use a property node to get the chart history as a array. Then you can write that data to the file. The data in the array in you example can also be writen to a file. If you only wnat a portion of the data to be saved, use the Array Subset function to get the part you want.
    Lynn

  • Save a waveform chart

    Hello!
    I am trying to save a Waveform chart into a file usin the Save waveform to a file.
    I have been doing test with ramdom numbers in little programs and I was able to save then in waveforms, but I can not do the same in the program that recieves the serial data.
    I have attachet my program.
    I well be be gratefull if someone could help me. I am sure is a little thing what is wrong but I can not find it.
    Thank you for your help.
    Angel
    Attachments:
    cliente_grava.vi ‏112 KB

    And unless you only want only the very last acquisition recorded, you're going to have to change your VI. When the while loop stops, all it passes to the write waveform is the very last 1D array captured. If you want all data saved, put the write inside the while so that with every iteration you append to the same file. Or, turn on indixing where the 1D array exits the while loop. This will create a 2D array of all data acquired. Also, using Write Waveforms to file is probably not the best function unless you are actually creating a waveform datatype with timing info. Write to Spreadsheet will write a 2D array of DBLs or create a waveform datatype inside the while loop

  • Open waveform chart in other screen.

    Hello to all!
    I have a front panel with two indicators, the value of those two indicators goes to waveform chart.
    My problem is that I need to call from run_time_menu to waveform chart and that it is opened in a screen different, appearing only waveform chart with titlebar.
    I have proved with a property node_visible of waveform char, but waveform is in front panel and not in one second screen.  Another problem is that if I use a subvi to have another screen, the values of waveform are not updated.
    Thanks.
    G.Garrigos.

    There are lots of ways to achieve this.
    One of the approaches is as shown in the attached VI.
    Go through teh block Diagram of Main VI. Here you will see that a sine pattern is written to a chart.
    Observe that I have placed a sub VI inside the "sub VI" event of the main VI.
    Click on the sub VI icon. In its drop down menu,go to 'sub Vi node set up'. Here you will see that i have selected select 'show front panel when called' and 'close afterwards if originally opened'
    This link will teach you how to pass values to a sub VI by using Connector Pane: http://zone.ni.com/reference/en-XX/help/371361A-01​/lvhowto/selecting_a_connector_pane/
    Run the main VI, and click on "show sub VI" to dispay the graph shown in mainVI on the SUB VI's graph
    Any doubts, do ask
    regards,
    Dev
    Message Edited by devchander on 03-29-2006 06:31 AM
    Attachments:
    main.llb ‏41 KB

  • How to save X and Y vaue from a Waveform Chart

    Hello Everyone!
    I'm implementing an adquisition systems that send data to a waveform Chart through VISA. All run properly, but I would like to save the data adquired to an excel file. I saw examples to how to save it, but only save the Y value.
    I would like getting the X and Y values in 2 columns different in the excel file.
    ¿Is it possible?
    ¿Can someone tell me how I can do it?
    Thanks for your feedbacks! 
    Solved!
    Go to Solution.

    I meant uploading the actual VI, not a picture of it. You need to fix your code.
    You should not be initializing the serial port in each iteration of the loop. Initialize outside, read in the loop, and close when the loop is done.
    Why do you have 2 VISA resource controls? Are you talking to 2 different devices?
    The event structure serves no purpose in your code. If you are trying to enable/disable the file writing, use a case structure that's controlled by a simple front panel switch.
    You should "remember" the path that the Write to Spreadsheet File uses. Otherwise you will be asked for the filename each and every time you try to save. You can do this using a simple Feedback Node:
    Since you are reading the value periodically, just use one of the Get Date/Time functions. You can use the Get Date/Time String to get a formatted string. Then you can format your value as a string, and build your array using those 2 values. Or, you can use the Get Date/Time in Seconds to get a numerical value. Be aware that LabVIEW's starting time is 12:00 a.m., Friday, January 1, 1904, Universal Time [01-01-1904 00:00:00], which is different from Excel. 
    Attachments:
    Example_VI_BD.png ‏1 KB

  • How to save the waveform chart information

    I am attaching a VI which recordes the power and wavelength from a ILX lightwave power meter. I had added  waveform chart  to the program to record the values of quatities with respect to time. Please kindly help me to read the quantities  on time with saving the values from initial time to final time. I I use shift registers with a built array in the while loop , will it retains the past values? 

    I had added  waveform chart  to the program to record the values of quatities with respect to time.
    Wrong. Charts don't display values with respect to time!
    Hey Gerd,
    I don't quite understand. If I wire a waveforme to a waveform chart it stores an processes data as waveform i.e. t0,dt and [y]. This, to me is in respect ot time.
    If you meant, though, that it doesn't do that in his case, I very much agree with you.
    As for the free tutorials:
    3 Hour Introduction
    6 Hour Introduction
    LabVEW Basics
    Self Paced training for students
    Self Paced training beginner to advanced, SSP Required
    LabVIEW Wiki on Training
    Learning NI
    Getting Started with NI Products

  • Slow response LV7.0 and waveform charts

    I have noticed a couple of issues with a waveform chart (when actually plotting a waveform).
    1. Sometimes when I right-click on the chart to format a axes it may take up to 5 minutes to display the window with the chart format controls. During this time task manager says the application is not responding.
    2. When plotting anything with size (I am trying to plot 5 minutes of data at 512 samples/sec) the program slows to a crawl. If I plot a double data (take the Y data from the waveform) it works great. Why is there so much overhead with a waveform chart? Anyway to fix this?
    3. Unrelated to a waveform chart but related to item 1. Sometimes when I try to save my VI (~470 kb) it goes into limbo and may take minutes
    . Again the task manager says it is "not responding". This seems to be a theme with LV 7.0. Has anyone else run into this problem?

    > 1. Sometimes when I right-click on the chart to format a axes it may
    > take up to 5 minutes to display the window with the chart format
    > controls. During this time task manager says the application is not
    > responding.
    >
    > 2. When plotting anything with size (I am trying to plot 5 minutes of
    > data at 512 samples/sec) the program slows to a crawl. If I plot a
    > double data (take the Y data from the waveform) it works great. Why
    > is there so much overhead with a waveform chart? Anyway to fix this?
    >
    > 3. Unrelated to a waveform chart but related to item 1. Sometimes
    > when I try to save my VI (~470 kb) it goes into limbo and may take
    > minutes. Again the task manager says it is "not responding". This
    > seems to be a theme with LV 7.0. Has
    anyone else run into this
    > problem?
    Without looking at the waveform chart, it is hard to say. Things like
    autoscale will slow teh chart down a bit as it then needs to traverse
    more data looking for min/max. And when the scales do need to change a
    bit, all the data needs to be replotted, not just the new stuff.
    Other things that slow down a chart are to make its background
    transparent, and to make it overlapped. Finally, full screen updates on
    a big monitor mean lots of data needs to be moved around to draw lines
    and rectangles, and that either comes down to the CPU or video card.
    If you have more questions, or a VI to look at, post again.
    Greg McKaskle

  • Saving array data from a waveform chart

    I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed  loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels  displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
    If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart  after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
    Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
    I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu).  I'm not too familiar with timed loops /producer consumer loops  and just tried to put something together based on examples.
    I've attached my host vi and front panel screenshot.

    Hope they appear attached this time.
    Attachments:
    Basic DMA (Host).vi ‏444 KB
    screenshot2.jpg ‏113 KB

  • Write data from waveform chart to excel

    Hi,
    I am trying to create a button that save de real time values recieved in a waveform chart. I don't know how to save it alls, because I don't know if is needed a buffer to save all or how can I do it.
    It wil be faboulous if someone give me ideas!
    Thanks so much for your support!
    Solved!
    Go to Solution.

    Hi mlop,
    You can go through the attached VI. You will get some idea of how to do it..
    Regards,
    Nitzz
    (Give Kudos to good Answers and Mark it as a Solutoin if your problem is Solved) 
    Attachments:
    Untitled 2.vi ‏9 KB

  • Waveform chart. Send data to Excel

    I am monitoring the output voltage from a electronic circuit using LabView 7.1 and a DAQ card.
    I have been able to view the output voltage using a Waveform Chart but i have been unsuccessful sending the data to a file. Only one data point gets saved each time.
    I am using the "Write to Spreadsheet File .vi "
    Could someone tell me what i am doing wrong?
    Please see the program attached below.
    Attachments:
    Attempt 3.vi ‏26 KB

    You can build a 1D array as your loop runs. Where your data exits the while loop, right click on the border and select 'Enable Index'.
    If you want to save data continously, you need to move your 'Write to spreadsheet file' vi inside your while loop. As it is, only the last data point will be saved when you stop your loop.
    You will also need to connect a control or constant to the file path input so that you do not get a file dialog every time your loop iterates. Further, connect a True constant to the 'append to file?' input so that you do not overwrite data.
    Also, you may want to insert a wait period in your loop to allow other processes to run.Message Edited by DavidT on 04-27-2005 09:16 AM

  • Waveform chart data to file

     dear sir,
     iam getting eight different  plots on waveform chart with system date and time. Now i want to store this   eight values with system date and time in excel file as per specified time interval. it shoould be online because i don't want to stop my vi to save that data in file. Is it possible? If  yes please help me.
    thanking you
    falgandha

    Falgandha,
    this can be done with ActiveX or just saving the data as spreadsheet file and then importing it to Excel.
    If you like to know more about Excel and ActiveX, you should take a look into the ActiveX-examples of LabVIEW.
    Saving data as spreadsheet file is available as examples as well, but maybe it is sufficient for you to use the "Write To Spreadsheet File.vi" from the file IO palette.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How do you reset Waveform chart to blank?

    I have a VI with a Waveform chart in the WHILE loop, and each time I STOP the vi and re-start it, the old data remains in the display and moves out only as new data is collected.  This old data persists even after the VI is closed and re-opened.
    Is there a way to remove the old data each time the VI is run, in other words to make the blank screen the default for the  Waveform chart?  Right now, every time I open and run the VI, there is a squiggly line in the display, from irrelevant/useless data collected previously, and it would be cleaner and less confusing if there was no old data displayed there.
    Thanks,
    Dave
    Solved!
    Go to Solution.

    Thanks, but, still confused.  I already have a data source wired to the Waveform graph.  I cannot wire two things to the Waveform graph...so...can you offer more information? See the vi below....Waveform graph allows only one thing to be wired into it....
     Are you suggesting wiring an empty array each time I use the VI and then reconnecting the data source?
    Attachments:
    waveform graph question.jpg ‏19 KB

  • Capture Wave Form from Waveform chart

    Hello,
    I am trying to capture the waveform from the waveform chart save it as an image.
    The reason I am not saving the data is that we have a lot of test data and we do not want to plot hundreds of waveform again manually.
    Does anyone know how to do it?
    Thanks!
    Solved!
    Go to Solution.

    Here's an easy way to save an image of the chart.
    You can save only the chart as BMP, EPS, EMF or PICT with another method:
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

Maybe you are looking for

  • HT2905 itunes has duplicated all my imported songs and not the albums so cannot use your solution

    Itunes has duplicated all the songs of my library; how can you get rid of duplicates the quickest way possible knowing that I can't use the suggestion to delete albums as they are the songs and not the albums which have been duplicated.

  • XML question export data to XML

    I need to export XML in a certain format. This is the first time i need to export XML. What i can do is: select xmlelement("IDpart",      xmlelement("ID", XMLAttributes( e.ID_SUBID AS "ID_SUBID"),           xmlelement("timeperiod", XMLAttributes( e.s

  • Web template "0ADHOC" does not exist in the master system error

    Hi to all, The Web template "0ADHOC" does not exist in the master system. Error coming while executing query on web template. Via TCODE RSCUTV27 I have checked the default web template 0ADHOC is already there for adhoc analysis. Please can anyone tel

  • Need help installing Adobe Reader 11

    Adobe Reader will not update. I have tried following multiple forum help suggestions. I have received errors 1302, 1310, and one other. Usually get error 1310.  I am running Windows 7 Professional. The downloader will download the files , attempt to

  • MacBook Pro Retina 2013 connecting to Presonus mixer

    I bought new MacBook Pro 13" late 2013 to use it with my mixer Presonus StudioLive 16.0.2 http://www.presonus.com/products/StudioLive-16.0.2 To connect computer Presonus has firewire S400 400mb/s connection. MacBook has no firewire connection, but ha