How do I save the contents of a graph for each person

I have a DAQ system that captures three channels of data to the LabVIEW graph. I don't have time in between to analyze all the data and thus I want to just save the graph with all it's data till I can look at it later. Is there a simple save function that I can use after each time I run the VI to save the graph and all it's contents for later analysis?

I think that all you need is to save the actual data and not any of the grpah properties. There's sveral options to save data. You can save waveform data types using Write Waveforms to File. The advantage of saving a waveform is that the timing info is there you wouldn't need to write that data separately. There's also Write to SGL File for saving a 2D or 1D array of SGL. If you use that, you would need to write the timing info as a header so that you could reproduce the actual data. In 7.1, there's Write LabVIEW Measurement File. That's a text file so it takes a bit longer to write and uses more space but it's readable by other applications.

Similar Messages

  • How do I save the contents of all of my saved mail folders?

    How do I save the contents of all of my saved mail folders?

    Oh, I see...
    All the mail is stored in ~/Library/Mail (and its associated subdirectories).
    Your Library holder is hidden by default under Mountain Lion (and Lion, too?), so hold the Option key when selecting the Window menu in the Finder to add it to the menu, from where you can access it.

  • How do I save the contents of what is drawn by paintComponent() to a jpeg?

    After Googling, here is what I've come up with:
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class SavePaint extends JPanel
        public SavePaint()
            JFrame frame = new JFrame("TheFrame");
            frame.add(this);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(400,400);
            frame.setVisible(true);
        protected void paintComponent(Graphics g)
            g.drawRect(50,50,50,50);
            try
                BufferedImage image = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB);
                ImageIO.write(image,"jpeg", new File("/home/deniz/Desktop/jmemPractice.jpeg"));
            catch(Exception exception)
                //code
        public static void main(String[] args)
            new SavePaint();
    }The problem, however, is that the image saved is simply a (fully filled) black square that fits the window I'm viewing it in and not the (unfilled) smaller rectangle I drew.
    How do I save exactly what I am seeing on the frame window as a jpeg image?
    Any help would be greatly appreciated!
    Thanks in advance!

    Actually, I should of looked at your link before posting. (I didn't because I thought it would be exclusively for the 2nd way of doing it). While I did get it working successfully with this code:
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class SavePaint extends JPanel
        public SavePaint()
            JFrame frame = new JFrame("TheFrame");
            frame.add(this);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(400,400);
            frame.setVisible(true);
            try
                BufferedImage image = new BufferedImage(getWidth(), getHeight(), BufferedImage.TYPE_INT_RGB);
                Graphics2D graphics2D = image.createGraphics();
                frame.paint(graphics2D);
                ImageIO.write(image,"jpeg", new File("/home/deniz/Desktop/jmemPractice.jpeg"));
            catch(Exception exception)
                //code
        protected void paintComponent(Graphics g)
            g.drawRect(50,50,50,50);
        public static void main(String[] args)
            new SavePaint();
    }the image produced has black bars. When I replace frame.paint(graphics2D); with this.paint(graphics2D);, I get fewer black bars but I still get them.
    What am I doing wrong?

  • How do I make the Brush Tool remember settings for each new stroke?

    Using
    Windows 7 x64
    Illustrator CC 2014
    I'm finally attempting to draw directly in Illustrator and already want to shoot myself.
    How do I make the Brush Tool remember stroke size and profile?
    I need each stroke to be tapered at both ends and be a certain stroke size.
    But each stroke I make, I have to edit that one path  to be correct.
    What gives?

    Got some results today so I'll share.
    Thanks again for reminding me about the 'basic appearance setting'.

  • How can I get the Index tabs to show for each page that is open in the window like on the older versions. I close a window and it says I have tabs open but the tabs are not visible. How do I set it like the older versions? This was easy to manage

    The index tabs were on some kind of toolbar just below the bookmark toolbar and you could see what was open in multiple tabs. I'm not referring to rolling over the Firefox icon for the Windows 7 thing, that's a pain. These index tabs were in plain sight. No matter what I try in Firefox 8, they won't appear.

    the tabs were move to above the navigation bar, where the menu bar was. They hardly look like tabs there, but you may have turned off the tabs bars. View (Alt>V) > Toolbars > Tabs Bar
    I think the solutions would really prefer though would be
    You can make '''Firefox 8.0''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface
    <p>There is a lot more beyond those first 10 steps listed, if you want to make Firefox more functional.</p>
    <p><small>Please mark "Solved" one answer that will best help others with a similar problem -- hope this was it.</small></p>

  • Save the contents into hard disk on click of Save As button in Swing

    Hi,
    I have a JButton "Save As". On clicking the button, the contents in the JTextArea should be saved in the local hard disk by opening a Save As dialog box and allowing the user to save in any location.
    Is it possible to do this? If so, please inform me how it could be done.

    Hi,
    Please find the code below.
    try{
    File f = new File("Out.txt");
    FileInputStream fis = new FileInputStream(f);
    BufferedInputStream bis = new BufferedInputStream(fis); DataInputStream dis = new DataInputStream(bis); String stb = null;
    JDialog w = null;
    stb = new String();
    stb = dis.readLine();
    if(stb != null){
    w = new JDialog();
    final Container c = w.getContentPane();
    c.setLayout(null);
    w.setContentPane(c);
    w.setResizable(true);
    w.setTitle("Log Window");
    w.setSize(330,500);
    final JTextArea jt = new JTextArea();
    JScrollPane jsp = new JScrollPane(jt);
    jt.setLineWrap(true);
    jt.setText("Records not available for the id's"+"\n"+stb);
    jt.setBounds(10,10,285,500);
    final JButton jbSave = new JButton("Save File As");
    JPanel spacer = new JPanel();
    spacer.setMinimumSize(new Dimension(50, 18));
    spacer.setPreferredSize(new Dimension(50, 18));
    JPanel jpButtons = new JPanel();
    jpButtons.add(jbSave);
    jpButtons.add(spacer);
    jpButtons.setBorder(BorderFactory.createEtchedBorder());
    JScrollPane scroll = new JScrollPane();
    c.setLayout(new BorderLayout());
    c.add(jt,BorderLayout.CENTER);
    c.add(jpButtons, BorderLayout.SOUTH);
    jbSave.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    JFileChooser fileChooser = new JFileChooser();
    int userOption = fileChooser.showSaveDialog(null);
    if(userOption == JFileChooser.APPROVE_OPTION)
    //*******************STATEMENTS TO BE ADDD****************** }
    jt.getText()-----This is how I can get the contents from JTextArea.
    But how I can save the contents. i.e on click of Save As button, Save dialog box opens, and I can choose the location and give the name. but if I go to the location I don't find the file....
    Please guide me to finish this....
    Thanks in Advance.....

  • How to save the contents of a file(not a text file)

    Hi all, I want to save the contents of a file(,png file, not a text file) as a field in a class. Shall I have it as a string or byte array or something?
    I have tried saving a file in a string but there were some problems with loading the file from a different platform. Following is my code.
            String string;
            try {
                StringBuffer sb = new StringBuffer(1024);
                char[] characterArray = new char[1024];
                BufferedReader br = new BufferedReader(new FileReader(file));
                while(br.read(characterArray) != -1){
                    sb.append(String.valueOf(characterArray));
                br.close();
                string= sb.toString();
            } catch (IOException ex) {
                ex.printStackTrace();
            }and I use the following code to recover the string back to a stream, and save that stream back to a time later.
        ByteArrayInputStream bais = new ByteArrayInputStream(map.getBytes());I realized that because this file is not a text file, the string could cause some problems. But anyone could tell me if I should use a byte array or someting? and how?
    Any help would be appreciated!
    Cheers,
    Jing

    You should use a byte array, and the binary streams (InputStream a& OutputStream). Never use Strings and Reader/Writer if you have binary data.
    Kaj

  • How to save the contents of one file into another file?

    Hai,
    i'm trying to save the contents of an existing file into a new file...
    for example.. if i'm having a ms word file namely ss.doc..
    now i want to save itz contents into another file namele dd.doc..
    How shall i do it..
    Can an one plzz explain me...
    senthil.

    Hi, Senthil.
    This Forum is not a general discussion forum.
    You don't believe that the InDesign SDK is a general purpose API. Do you?
    I think you must post issues like this where they belong, in this case in a Microsoft Word Forum.
    Best regards.
    Oscar.

  • How to save the content of a JTextArea into a txt file?

    Hi, I want to save the content of a JTextArea into a txt file line by line. Here is part of my code(catch IOException part is omitted):
    String s = textArea.getText();
    File file = new File("file.txt");
    BufferedWriter bw = new BufferedWriter(new FileWriter(file));
    bw.write(s);
    bw.close();
    But I found in the file all is binary code instead of text, any people can help me?
    Thanks in advance

    I can see text in the file now, but the problem is
    when I write three lines in textarea, for example
    111
    222
    333
    then I open the txt file with notepad, it is
    111222333
    How to save them line by line? Use a PrintWriter. It lets you write lines (it's the same class as System.out).
    http://java.sun.com/j2se/1.4/docs/api/java/io/PrintWriter.html

  • How can I save the RSS feed from awebsite on the toolbar so it will show all the content in a folding menu?

    In the previous versions of FireFox I Could push the RSS sign in the addressbar and choose to have the feed on my bookmark toolbar. In that way i could push the feed name on the bar and see names of feeds i have read and them I havent read and decide whiche one to go to. today when i save a bookmark to the toolbar and then push it there, instead of showing me the different content in a folding menu like before, the whole page jumps to the website. How can I save the feed from the website like before?

    - Go to the Tools menu - select Options.
    - At the top of the Options window, click 'Applications'.
    - Scroll down to 'Web Feed' and make sure the Action is set to 'Add Live Bookmarks in Firefox'.
    - Click OK.
    - Navigate to the desired website, go to the Bookmarks Menu and select 'Subscribe to this Page'

  • How to read a file and save the contents into array list

    i have textfile contains information like:
    Name: James Smith
    Customer no: 663,282
    Post code: BA1 74E
    Telephone no: 028-372632
    Last modified: Feb 10, 2008 6:50:00 PM GMT
    Name: Janet Smith
    Customer no: 663,283
    Post code: BA1 74E
    Telephone no: 028-372632
    Last modified: Jan 11, 2007 8:10:05 PM GMT
    etc...
    how can i read the contents of this textfile and put the data into an ArrayList called ArrayList<Customer> customerList.
    i knew that i need two classes, one for CustomerDetails and one for ReadFile.
    i have already done the customer class as:
    import java.util.Date;
    public class Customer
        String Name;
        int CustomerNo;
        String Postcode;
        String teleNo;
        Date lastModified;
        public Customer(String Name, int CustomerNo, String Postcode, String teleNo, Date lastModified)
         assign(Name, CustomerNo, Postcode, teleNo, lastModified);
        public void assign(String Name, int CustomerNo, String Postcode, String teleNo, Date lastModified)
         this.Name=Name;
         this.CustomerNo=CustomerNo;
         this.Postcode=Postcode;
         this.teleNo=teleNo;
         this.lastModified=lastModified;
        public String toString()
         String allDetails = "Name: "+Name+
             ", Customer No: "+CustomerNo+
             ", Postcode:"+Postcode+
             ", Telephone No: "+teleNo+
             ", Last Modified Date: "+lastModified;
         return allDetails;
    }i just wondering how can i code the ReadFile class?
    can anyone help me please. thank you in advance.

    thank you for your suggestion, but i have already started to code the readCustomer class using the Scanner.
    the code i got so far is:
    import java.util.Scanner;
    import java.io.*;
    public class readCustomer
        public static void main(String[] args)
         readCustomer("Customers.txt");
        public static void readCustomer(String filename)
         try {
             Scanner scanner = new Scanner(new File(filename));
             scanner.useDelimiter(System.getProperty("line.separator"));
             while (scanner.hasNext()) {
              processLine(scanner.next());
             scanner.close();
         } catch (FileNotFoundException e) {
             e.printStackTrace();
        public static void processLine(String line)
         Scanner scanner2 = new Scanner(line);
         scanner2.useDelimiter("\\s*:\\s*");
         String description = scanner2.next();
    *// here is where i am struggling. i don't know how to get the information after the : sign*   
    }i am currently struggling with the processLine method?
    also, i am not sure how to group a set of information and put them into the arraylist.
    Any hint, please. Thank you.
    Edited by: mujingyue on Feb 26, 2008 12:42 PM

  • I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    I have created a 468x60 animated banner in Edge Animate. How do I save the animated image to my desktop? (not in html code)

    Hi,
    This feature is not available in Adobe Edge animate. You can not export as image from Edge animate.
    Publish options available in edge describe here
    Edge Animate Help | Publish your content
    Regards,
    Devendra

  • How do I save itunes contents to apple tv 1st gen.

    How do I save itunes contents to apple tv 1st gen.

    Welcome to the Apple Community.
    Which content, from your library or content you purchase on the Apple TV.

  • I have a keynote presentation that includes a significant amount of video.  When I edit the keynote slides (not the video slides) how can I save the changes without re-saving the videos (because that takes a VERY long time)?

    I have a keynote presentation that includes a significant amount of video.  When I edit the keynote slides (not the video slides) how can I save the changes without re-saving the videos (because that takes a VERY long time)?  I edit the presentation depending on the audience to which I am presenting.

    If you add a new  slide with just a text box (therefore a very small amount of data),  to an existing presentation then save,  Keynote will only save the new content to the file,  it wont save  pre-existing content as its already included in the file.
    The time  taken to "save" will be very much shorter than a "save as" when all of the existing content is saved again.

  • How do you see the contents of your "Domain" file?

    Thanks to this forum I have found out that the photo files on my Web site are stored in the Domain file under Application Support. How do you see the contents of this file? When I double-click on it, iWeb launches and I see the actual Web site.
    12" PowerBook   Mac OS X (10.4.8)   G4 1.5 GHz, 768 MB RAM

    i don't think it will work. because when you open up the domain file after you changed the size of the pictures, iWeb will probably save again while uploading - so the changes were for nothing. yet i haven't tried it.
    other way is to change them after you published. using graphic converter you just drag all at once in and change all the sizes at once.
    mp

Maybe you are looking for

  • MBP Minidisplay out SCART or S-Video?

    I am looking to get a cable or adaptor to connect to our Sony KLV-L23M1 LCD TV There is no VGA or HDMI socket on it but it has SCART input, S-Video Input and the 3xphono video inputs (yellow/white/red) for picture / sound etc I should explain that I

  • Problem opening Office documents from KM

    Hello, I have some problem opening Office documents from KM. We stored a lot of office documents (Excel, Word ecc.) in a File System repository (the standard repository "/documents"), when I open one of these files, before to view the document, a lit

  • Black thumbnail image instead of selected one when burned

    I have idvd 8, on every dvd I have done since upgrading the images you select as thumb nails show up as black frames on the final dvds. When I open the project they seem fine, when I preview it too, but it is on the burned dvds that I get all these b

  • What are the possible reasons why this R3 info not getting to BW?

    Hi, I have data coming into BW from R3 a datasource DataSorce1; When it gets to BW, SalesOrg numbers 22941 and 22942 comes to BW without problem but 22943 which is a new config. In the R3 master data does not get to BW. 1. What are the possible ways

  • Fireworks web designs when using slices not rendering properly in IE

    When I create web pages in Fireworks CS6 and use slice tool then export the html, IE 8 and 9 renders borders and misaligned pixels. But when I view the html in Chrome, Safari or Firefox the html pages are rendered as I want them to render. Am i doing