Urgent help to save a waveform as jpeg to a specifi folder on my pc

Hello
I'm practically very new to labview and maybe even to the forum that I might be posting this question in the wrong place (sorry about that).
I need urgent help on the following issue (prob. a very easey one)
here is a picture copy of one portion of my vi:
I'm able to save the data in text format, no problem there. it saves the dat file into C/NLdat folder. this is ok.
I also want to save the waveform chart into same folder NLdat. I did the right click on "waveform > create invoke node> get image" but doing this is not saving my jpeg anywhere. could you please show me step by step how to save it (what type of things I need to use specifically, as I feel like a idiot now)
Thank you so much!
Attachments:
gk jpeg.jpg ‏42 KB

You also need to make sure that getting the image happens after the xy-graph has been updated. Currently both things happen in parallel and there is no guarantee what happens first. there is a 50% chance that the image contains stale data.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Need urgent help ..save BMP image

    I have a BMP image .I m extracting its pixels (using PixelGrabber)and formatting those values as per requirements.
    Now,I have to create an image using this pixels array again.
    Image img;
    img = createImage(new MemoryImageSource(iw,ih,pixels,0,iw)) ;This is creating an[b] image "img" of type Image.
    Now,I have to save this image as BMP.
    for this I am using
    ImageIO.write(img,"BMP",new File("a.bmp"));The problem is this[b] write method require an image of type Buffered Image.
    I am not able to typecast an object of type Image into BufferedImage.
    BufferedImage is subclass of Image class..
    I just hope i m making sense..
    Please help me..
    Is there any other way too to save an BMP image created by createImage()

    Thnx a lot for help I used a method u told me ...
    here is the code i hve:
    import java.io.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.imageio.*;
    import java.awt.image.*;
    import java.awt.image.PixelGrabber;
    import javax.imageio.ImageIO;
    public class RecreateImage2
            public static void main(String args[])
                    ImageFrame frame = new ImageFrame();
                    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    frame.setVisible(true);
    class ImageFrame extends JFrame
            public ImageFrame()
                 Toolkit kit=Toolkit.getDefaultToolkit();
              Dimension screenSize=kit.getScreenSize();
              int screenHeight=screenSize.height;
              int screenWidth=screenSize.width;
              setSize(screenWidth/2,screenHeight/2);
              setLocation(screenWidth/4,screenHeight/4);
              setTitle("Centered Frame");
              ImagePanel1 panel=new ImagePanel1();
                 add(panel);                                     
    class ImagePanel1 extends JPanel
            Image img;
            public ImagePanel1()
                    try
                   Image image;
                   Dimension d;
                   int iw,ih;
                            image = ImageIO.read(new File("bug_apple.bmp"));
                   iw = image.getWidth(null);
                   ih = image.getHeight(null);
                            int pixels[] = new int[ih*iw];
                   PixelGrabber pg = new    PixelGrabber(image,0,0,iw,ih,pixels,0,iw);
                            pg.grabPixels();
                            img = createImage(new MemoryImageSource(iw,ih,pixels,0,iw));      
                   BufferedImage bi = new BufferedImage(iw,ih,BufferedImage.TYPE_INT_ARGB)
                   Graphics2D g2d = bi.createGraphics();
                      g2d.drawImage(img, 0, 0, null);
                      g2d.dispose();
                   img=bi;
                   ImageIO.write(img,"BMP",new File("a.bmp")) ;          
                    catch(InterruptedException e)
                    catch(IOException e)
                            e.printStackTrace();
    }Its giving error ...saying
    cannot find method write(java.awt.Image,java.lang.String,java.io.File)But If i use Method
    ImageIO.write((BufferedImage)img,"BMP",new File("a.bmp")) ;It saves the Image as "a.bmp" but preview of image is not available...
    Please help me..I really dono whr the proplem is..
    richa_sharma

  • I can't save my picture to .jpeg in CameraRaw, the only format available is .dng. Why??

    I want to save my pictures to .jpeg in CameraRaw, but the only format available is .dng. I have to open the picture in Elements 12 just to save as .jpeg. Why??

    Because the ACR module is meant to convert the raw data into an image format that the editor can read. From the editor (or the organizer) you can save your raw files to image files formats like jpeg, tiff or psd. Simply click the 'Open in editor' button.
    For batch conversion to jpeg, either use the 'process multiple files' option in the file menu of the editor, or select several raws in the organizer and export to a new location in the desired format.
    The option to 'save' as DNG may be used if you want to convert to the raw DNG format. You don't need to use that feature.
    I highly recommend you take the time to read the help file (Help button in the camera raw dialog).

  • Urgent Help required! - Storing the XML as String instead as a file

    Hi,
    I need urgent help on this.
    I have an XML file. I have used org.w3c.dom to build dom and manipulate the XML file.
    I have updated the values for some of the nodes and I have deleted some of the unwanted nodes.
    I am able to save the output of the DOM as another XML file using
    either transform class or XMLSerializer with OutputFormatter class.
    But my requirement is to save the output of the DOM into a String instead of a file.
    When I save it in String, I need to have the following XML decalration and DOCTYPE declration also with it.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE Test SYSTEM "Test.dtd">
    Can anyone pls help me in this??
    Thanks in Advance. Expecting some inpputs pls....!
    Regards,
    Gayathri.

    hi,
    i think this is what u want
        public static String getXmlString(Document d) {
          StringWriter strResponse = null;
          try {
             OutputFormat format  = new OutputFormat(d);
             strResponse = new StringWriter();
             XMLSerializer serial = new XMLSerializer( strResponse, format );
             serial.asDOMSerializer();
             serial.serialize(d.getDocumentElement());
          catch (Exception e) {
            System.out.println(e.toString());
          return strResponse.toString();
    }HTH
    vasanth-ct

  • Need urgent help with HSDIO hardware timing

    Hi everyone,
    I need urgent help regarding HSDIO hardware timing. I've been working in a project which generating serial ramp using HSDIO pxie device. 
    I'm using clock rate 40MHz and generating 14 bit of boolean for each step of ramp. And I have to generate simply 256 steps ramp.
    Which means, 256 (steps) x 14 (boolean array) x 25 ns (period of 1 boolean value) = 89,6 ns.
    What I'm doing right now is with using index of FOR loop as my input data (converting the index into 14bit boolean), then write into pxie device in every iteration,
    which means, my data is getting into output in every 1ms time, right? (I'm using windows)
    And I want to be able to generate faster than that. 
    How can I prewrite my 256 steps ramp, then write them all at once into pxie device. I'm really stuck here.
    In the picture can you see how I do the write into device in every iteration of FOR Loop.
    Regards,
    Yan.

    hi, thanks for responding.
    with using example of dynamic generation with script, I can manage to generate the ramp with controllable delay (generate the whole waveform, including delay with script command, then write to the card).
    But I still have 1 question, I can test the output of the generation using oscilloscope and cant see the start delay (I'm writing delay at the start, before generating the ramp). My signal generated at 0 sec.
    How can I check this start delay? is there any good example delivered with Labview to check this generation? Somehow I cant use the "dynamic generation and acquisition" example to see my generation (cant figure out how to capture the generated signal).
    regards,
    Yan.

  • URGENT HELP master export setup

    URGENT HELP master export setup
    Hi,
    I tried to search in the forum before I sent this request and I did not find my answer.
    I am using Production suite CS4, Windows 7. I am trying to figure out whatr is the best export setups (codec) to send to the post captioned place who works with Final cut pro. It is a 45 min documentayy shot on hxp170 that will be broadcasted on APTN channel (standard and HD). I shot 720p 24 fps (native) My files are 1.33 pixel ratio.
    I want the best quality possible regardless of the size of the file.
    Can Avid DNxHD codec work? (I googled and did not find a proper answer)
    Also a problem: I tried to export an MXF version and an uncompressed AVI. I used Sapphire plug ins (cartoon, film scratch, glow etc) and with some export setup, it make some clips slide up or left of the screen!!! Anyone had that before?
    Also: should I export 24 fps or 23.976?
    Thanks a lot.

    Is this a Premiere Pro question or an After Effects question? Probably better off in the AE forum...
    http://forums.adobe.com/community/aftereffects_general_discussion
    In reference to your first question, it might be worth asking them what they WANT. They may have a preferred pre-broadcast format, and if you can supply that, it may save your material from being transcoded (again).
    MP

  • 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

  • Problem uninstalling MaxMSPRuntime on mac - urgent help needed

    Hello there,
    I've been using Cycle 74's MaxMSP Runtime version 5.1 for a while but recently had to witch to an earlier version to make some hardware function along side the Max runtime environment. The problem is that where i would usually just drag and drop Max 5.1 into the trash to uninstall it, for some reason, after i have done this and try to install the older version of Max, OSX wont let me install Max 4.0.8 as it says an updated version is currently installed. I have scoured my hard drive for the remanence of Max 5.1. and deleted everything i've found. Is there a way of overriding macosx and getting it to replace Max5.1 with an older version?
    Urgent help needed as i am playing a show this weekend and currently am not able to get my equipment to function.
    A shiny nickel for the one who saves my ***.
    Thanks
    Henry

    Hi- Try this...
    If you can, reinstall or use time machine to recover your recently deleted MaxMSP Runtime 5.1.
    Then, download AppZapper. It is a utility that helps you cleanly delete programs off your mac. It is free for the first 5 uses.
    http://appzapper.com/
    Then, install AppZapper, and then go ahead and drag the MaxMSP Runtime 5.1 into it, and it should hopefully get rid of the pesky program

  • Bug Report: [VIsio 2010] whenever I try to save a diagram to JPEG and then close Visio using the X button, Visio hangs

    Greetings
    I use Visio 2010 in windows 7 64bit
    and I have this problem:
     whenever I try to save a diagram to JPEG (save as>JPEG) and then close Visio using the X button on the upper right corner, then Visio hangs.
    The jpeg pic is saved ok, but Visio hangs permanently: I have to close it using task manager.
    On the other hand, if after I save into jpeg, I press whatever other button in Visio (from ribbon) then it works ok, and afterwards I can close Visio with the X button
    - but, if I try to close Visio with the X button  right after saving to JPEG, Visio will surely hang.
    Thank you
    PS. Visio 2010 is fully updated (File>Help reports:
    Visio 2010 Premium (v14.0.6111.5000) SP1 MSO (14.0.6112.5000) 32bit)

    Update:
    The problem reappeared/wasn't completely solved:
    So, I also went to Control Panel>add/remove programs, rightclick on Adobe Acrobat X> change installation and untick the PDFMaker item, in order to uninstall it:
    that's because initially, even after I had unticked "PDFMaker for Visio AddIn" in COM Add-Ins,
    in File>Options>Add-Ins tab, on the Active Application Add-Ins part (yes, on ACTIVE Add-Ins)
    I was still seeing about 5-6 lines, all having items containing PDFMaker for Visio AddIn" [PDFMVisio.vsl].
    In other words, the PDFMVisio.vsl file was loaded even if unticked!!
    Then, after uninstalling the add-in, the problem was finally fixed at last!
    Thank you so much for this additional information!  I was having the same problem.  I did what you instructed, and the problem has now disappeared!

  • When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG

    When using Camera RAW after editing photo I can only save file as DNG, I want to save as JPEG. HOW??
    THANKS LLOYD

    BARBARA,Yes, you are so right, I was deceived by the eve button,  Just tried it and it WORKS GREAT-Thanks for the help.
    THANKS AGAIN AND HAVE A GOOD DAY Lloyd
          From: Barbara B. <[email protected]>
    To: Lloyd Bennett <[email protected]>
    Sent: Tuesday, January 13, 2015 11:46 AM
    Subject:  When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
    When using Camera raw with PS12 after editing, I cannot save my file in JPEG, only DNG
    created by Barbara B. in Photoshop Elements - View the full discussionYou are being deceived by the Save button, like most people. That button is not the Save As button, really, but a link to the DNG converter. To save your raw file in an image format, click the Open button instead and then save in the format of your choice in the editor. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7092207#7092207 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7092207#7092207 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Photoshop Elements by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Problem on save an waveform

    hellow!anyone can tell me how to save a waveform,i try to use "write file.vi"to save,but i can not get the file which has the following format:
    1.0,2.0
    1.1.2.5
    what can i do to get such data format?thanks a lot!

    Hello �
    I am afraid it was not very clear to me what you meant by 1.0, 2.0, 1.1.2.5 format. To save a waveform you can use the Write Waveforms to File.vi. If you want to save your waveform to a spreadsheet you can use the Export Waveforms to Spreadsheet File.vi which will convert your waveform to a text string and write the string to a file.
    Hope this helps!
    S Vences
    Applications Engineer
    National Instruments

  • Urgent Help Macbook Won't Start Up

    Hey
    Im in need of some "urgent help", yesturday i was working on my GCSE coursework, i saved and then i turned my macbook off. Later that day i turned it back on to add some finishing touches, the macbook decided not to load the OS.
    It just goes to the apple logo and the circle thingy and just stays there.
    I rang up the helpline but they basically said that it dosen't matter that i can't get my coursework because i don't have the extended warranty. They advised me to come here because "we are bound to have hundreds of other cases the same to your's on there" that to me say's something.
    Although i will continue to use the mac if this has to go in for repair, the response is quite inconsiderate being honest. Im 15 and i can't afford the extra care.
    So im really reaching out for your help here folks, it's due in next week. I need to get the file off there desperately. I've done a hardware check and everything comes up fine.
    Please guys HELP!!!!!!!!!!!!
    Thanks

    Try running Disk Utility, and repair permissions and verify disk. If verify disk shows any problems, boot from your install disc and repair disk.
    If you can't repair the disk and get going again, you may be able to do an archive and install OS reinstallation, which will preserve your data. If that doesn't work for some reason, you may be able to do an erase and install, which will erase your data. Hopefully you have a backup.
    I assume phone support works the same way in the U.K. as in the U.S. You have a 1-year warranty. If you call after 90 days, they ask for a credit card in case the problem is not covered by warranty. If the problem is covered by warranty, you are not charged.
    If the problem is solved by any of the above troubleshooting steps, it is not a warranty issue. The Apple support person is probably just trying to save you from being charged for what is very possibly not a warranty-covered problem.

  • Urgent Help In ABAP

    Hi Gurus,
    Please i need an urgent help from you guys. There is a demand file which consits of (Siteno(plant), Item No ,Item Description, Delivery due date) will be placed in a unix system or windows system. I need to write an interface which shows a radiobutton for unix & windows and fileupload button & download button.When user clicks should be able to select only one radiobutton (unix or windows) to upload or download.When the user clicks the fileupload / download button,it should pick up the file or drop the file at particular unix or windows system.
    Please help me or give me sample code where in i can select the radiobutton and i can upload / download from unix or windows path. and during upload process (for both unix/windows) ,i should be able to persist into a custom table (ztable,if iam not wrong) and while downloading read the records from custome table and create an excel file to be placedon unix/windows based on the radio button.
    Thanks in advance, i need ur help please.
    Regards
    Bruno

    Hi Bruno,
    Please checkout this code sample
    ABAP code for uploading a TAB delimited file into an internal table.
    The code is base on uploading a simple txt file.
    <b>
    http://www.sapdevelopment.co.uk/file/file_uptabpc.htm</b>
    Thanks,
    Aby

  • URGENT HELP NEEDED (Bios Settings Failed)

    Hey Guys,
    I am having problems with my MSI Board, and don't know what to do.  I am very much a noob to BIOS/and modding so I apologize in advance.  You guys helped me a few months ago getting everything up and running and all was great for months.  Then last night I walked away from my PC for a while and when i came back a starting screen was on saying my OC Settings Failed to load, i tried other versions I saved and they all failed as well.  I ended up loading failsafe options, and got the "double start" where the computer turns on, then instantly shuts off, then turns on again.  This allowed me to load windows 7, which then started to "install updates".   So i think while i was away Windows automatically updated and rebooted... but would that effect my BIOS settings?
    As I said, I had my system running perfect for months no errors or crashes at all based on the Bios setting you guys help me with in this thread:  https://forum-en.msi.com/index.php?topic=147854.0
    However, last week I removed the heat sink and installed this cooler:  http://www.newegg.com/Product/Product.aspx?Item=N82E16835181010&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Water+Cooling-_-Corsair-_-35181010
    All I did was unhook everything from the MB, install the cooler, and then hook everything back up to the MB.  The only thing I may have done wrong is not connect the SATA devices (my HDs and ROMS) back in the spots they were in originally.  However after I installed the cooler, they system booted right up, and I haven’t had any problems with my system for the past two weeks.  I also should note I didnt make any BIOS changes either after I installed the cooler.  So I don’t know if I should have done something there.   Yet, like I said the system has been fine for the past two weeks, no crashes or errors... it wasn’t until last night after Windows auto updated that this has begun.
    The reason I need "URGENT HELP" is because of course I just a new job with deadlines due and so much video editing work I need to do.  I would be fine leaving it on failsafe settings, and forgetting the OC setting all together if I new that would make the system stable.  But considering its still doing the "double start" even in failsafe mode, im afraid if i start working my system will crash.
    So I am begging anybody for any advice or help they could provide.  I will provide my system info below.  If anybody can guide me as to what settings I should set in BIOS i would appreciate it.  Or perhaps there’s a BIOS update that I should use now that I have a cooler and not a heat sink?  If you need any more information from me, just ask.  I will be monitoring this thread all day, as I desperately need help.
    MY SYSTEM: 
    Intel 980X chip running Win 7 64bit (with MSI BigBang xPower MB installed in my old Dell XPS 730X)
    (1) SATA II WD 3gb Hard Drive @ 1.5TB
    (2) OCZ SATA II SSD drives @120GB: http://www.newegg.com/Product/Product.aspx?Item=N82E16820227543
    (2) Hitachi 6gb SATA III drives @2TB: http://www.newegg.com/Product/Product.aspx?Item=N82E16822145473
    3 DVD/CD/BLUERAY DRIVES:
    1 SATA DVD DRIVE
    1 SATA BlueRay Drive
    1 SATA CD Drive
    (So 8 SATA Devices Total)
    24GIGs of this ram: http://www.newegg.com/Product/Product.aspx?Item=N82E16820145321
    1 NVida Geforce GTX 470
    1 Soundblaster X-Fi Titanum Card
    New Addition Water Cooler:  http://www.newegg.com/Product/Product.aspx?Item=N82E16835181010&nm_mc=OTC-Froogle&cm_mmc=OTC-Froogle-_-Water+Cooling-_-Corsair-_-35181010 

    PROBLEM:  My OC BIOS setting wont load.  Even on failsafe i get the "double start".  I want to get back to my OC (stable) settings.
    UPDATE:  Since I posted somebody messaged me mentioned I should have "reset the CMOS" after I installed the new cooler.  So I did that, and now they system starts fine without the "double start".  I am able to load one of my saved OC settings now as well (but any others causes a failure).
    NEW QUESTIONS: 
          1.  Since I reset the CMOS and now the system is starting fine on my last OC settings, is it safe to assume the sytem is stable for now? 
          2.  I never made any power changes or BIOS changes after I installed the new cooler.  Should I have?
          3.  After I reset the CMOS was I soupposed to reinstall the drivers from the MSI disk again?  I did not, and the system seems to be fine, but I thought I was soupposed to do that after a CMOS reset.
          4.  Is there a new BIOS version for my setup that may be better now?   Im currently on v1.5
    Here is a screenshot from CPUZ of the system information currently.  This is with it booting normally after my CMOS reboot.  I just figured id post it incase it helps with any of my questions.  Thanks so much for helping guys!

  • [URGENT HELP NEEDED] Premiere Pro CS6 failed rendering

    Hello!
    I`ll try to make this quick because I need help asap. I`ve been starting to make YouTube gaming videos 3 weeks ago and my channel is growing up pretty fast. I promised I would make a video everyday but it`s been a full week since I couldn`t upload because I was busy and when I tried to render it failed.
    Anyway here`s how it goes.I`ve recorded with fraps some gameplay footage with the resolution of 1360x706. One of my friends reccommanded me Adobe Premiere Pro for editing so I`m using the trial version of CS6. I create a new project and choose a format of 720 25 (cant really remember the exact name). I then import my recorded files and when I place them in the sequence it tells me the resolution is different and asks me if I want to change the sequence settings according to the files. Usually, I ignore it and when I export the Media I just tick the option: "Scale to Fill" and that usually works just fine, quality HD on YT...
    But this week it has driven me crazy, I really don`t want to explain how much stress and dissapointment this has caused to me because I think I`ll end up raging...I`ll just tell you I`ve been trying for a couple of days more than 7 time to render the project(each time it takes about an hour and a bit more, so let`s just call it 7 hours wasted). The problem actually is that when I check the output file after exporting the media, the file size is ONLY 24 bytes!!! Other times the file size gets to like half of the one that should be or less, but mainly the render even so takes up a normal length of time of processing but in the end the file is only 24 bytes..Thing is I don`t encounter any error whatsoever...
    I really need some urgent help!
    Thanks!

    1st, some FRAPS information
    These are for Premiere Elements, but may help with PPro
    Fraps & Elements http://forums.adobe.com/thread/871095
    -and more Elements http://forums.adobe.com/thread/943772
    -and yet more Elements http://forums.adobe.com/thread/967201
    2nd, it is REALLY better to have your project sequence match your video
    Please NOTE that the PPro CS6 screen may look a bit different (I use CS5)
    For CS5 and later, the easy way to insure that your video and your project match
    See 2nd post for picture of NEW ITEM process http://forums.adobe.com/thread/872666
    -and a FAQ on sequence setting http://forums.adobe.com/message/3804341

Maybe you are looking for

  • Profit center not picking correctly in PO from sales order

    Hi Experts, Profit center is not picking correctly.. in PO In material master Profit center is configured as XXXX We have raised a sales order for the same material with two line items (e.g) 1500 kgs & 1600 kgs and profit center has been changed in t

  • Recording for DVD

    I have a Vixia HF R400. Which recording mode would be best for editing the video on the computer with editing software such as Abobe Premiere Pro? I don't want to do Blu-ray, just burn to standard DVD. Would Mp4 be the best or what would be my option

  • My imei number is blocked what i have to do now ?

    the iphone 3gs from uk . my brother gifted to my . i stay in india. once i have connectd to my pc , then the itunes asked me to update the iphone with new version so i accepted it, but the updated didnt complete properly, a message showing like resto

  • Where can I buy the 802.11n updater?

    I want to buy the 802.11n updater. I'm at work on my PC and can't find a URL on Apple's website for it. I just want to put it on my usbkey disk and take it home to my mac. How can I buy this update? Surely it directs you to a webpage.

  • Handle Exception from LCDS

    Hello, I am using Flex 4 with LCDS 3. I am having problems with properly handling  exceptions.  I have a simple commit service like;  var commitToken:AsyncToken =  _serviceName.serviceControl.commit(); // Commit the change.  commitToken.addResponder(