Plotting a bmp file and concatination with polor plot

i have developed one graphical application where i am concatinating a 24 bit bmp file and labview polor plot in a picture box where a line is rotating continiously with 0.5 degree resolution by changing the data in polor vi.Now i have placed one boolean button in the centre of the polor plot.when the program is running the button is also moving along the radius of the circle(following the line)by changing the data in the top and left property of the boolean button.
The problem is that when i am removing the bmp file the bollean button runs very fast but when bmp file is there the program anyway running slow as a result boolean button also running slow.
what is the solution.i want both,the picture(bmp) as well as fast movement of the button.
i am attaching the application program.it is developed in 6.1.
tanu

bmp is raster, display slow in picture control; while polar plot is vector, draws faster.
If the bmp is not changing, you can use it as background behind the picture control.
If the bmp is changing, maybe you can convert it to 8 bit bmp, so it can be redraw faster.
George Zou
http://gtoolbox.yeah.net
George Zou
http://webspace.webring.com/people/og/gtoolbox

Similar Messages

  • Unable to move print to preview pane for printing in Lightroom 4.Tried deleting agprefs file and restart with no success! Thanks in advance.

    Unable to move print to preview pane for printing in Lightroom 4.Tried deleting agprefs file and restart with no success! Thanks in advance.

    Sorry to bump this - but does anyone have any idea what could be wrong?

  • Having problem opening my files and pictures with word 2013

    I  can not open my files and pictuers with office word 2013 ,everything goes to adobe and it would not allowed me to convert it to  office word 2013
    You can reach on  [email protected] or [email protected]
    thanks

    Gizmo,
    Select one of these files in the Finder, then press Apple-I to open a Getinfo window for it. Use the "Open With..." pull-down menu to choose Preview as the default application, then click the "Apply to All" button.
    If Preview is already set as the default application, try choosing another one, clicking the "Apply to All" button, then re-do the whole thing using Preview.
    Scott

  • Cleaned files and apps with "app cleaner" and now MacBook Air turns off during start up. What happens? What can I do? Please help

    Cleaned files and apps with "app cleaner" and now MacBook Air turns off during start up. What happens? What can I do? Please help

    The "app cleaner" managed to do bad things to the file system so that it is unable to boot any longer.
    This is the primary reason I always recommend that any of those so called "cleanup" apps never be used. They do more harm then good.
    Try a safe boot by holding down the shifgr key when you hear the boot chime. Maybe that can fix the damage.
    Let us know what happens.
    Allan

  • Trying to retouch (repair/clone) a BMP file and nothing happens

    I have been using Aperture for a long time now, and am used to using repair and clone.
    Today, I tried to clean up an area of a photo which is in BMP format, and clone does absolutely nothing. 
    Repair leaves a white path where I drag across the image.  The white path disappears when I use repair again, and another white path appears.
    Switching views (use "v"), brings me back to the image with absolutely no changes, and no white paths.
    I have chosen radius = 11, softness = 0, and opacity is maxed at 1.
    Any ideas?

    As far as I remember BMP files are not supported in Aperture. Actually surprised to hear that you can do anything with a file of that format in Aperture.
    From the specification page:
    File Formats
    Native RAW import and editing of images from leading digital cameras and camera backs
    (See RAW support page for model listing.)
    .ARW, .CR2, .CRW, .MOS, .NEF, .RAF, .RAW, .SRW, .TIF, .OLY, .FFF, .3FR, .DNG1
    Compatible with all major still image formats
    JPEG, GIF, TIFF, PNG, PDF, PSD2
    Notice no BMP.
    I believe you might be able to convert it to JPG in Preview. If not do a web search.
    regards

  • How to delete all files and folders (with files) in IsolatedStorage.

    Hi awesome programmer:-) The code I have to clean up the local folder doesn't work properly so I won't even bother posting it here. I basically want to have a "master reset" option to remove all new created files and folder in the local folder.
    Can you give me simple code to remove all files/folder so the app goes back to the state it was when the user installed it for the first time? Thanks in advance. ps I were able to delete a directory(-ies) with this method:
    private async void DeleteDirectory(string directoryName)
    try
    var folder = await Windows.Storage.ApplicationData.Current.LocalFolder.GetFolderAsync(directoryName);
    if (folder != null)
    await folder.DeleteAsync();
    this.Dispatcher.BeginInvoke(delegate()
    txtUpdateFeed.Text = "Folder < " + directoryName + " > deleted.";
    catch (Exception ex)
    this.Dispatcher.BeginInvoke(delegate()
    txtUpdateFeed.Text = "Delete Directory << " + directoryName + " >> Error: " + ex.GetBaseException().Message.ToString();
    It seems to work, I have not tested with all conditions though. Anyway let me put up the code so you can see I have been trying: This is to delete everything but not all files are deleted:
    private void WipeAllData(bool bln)
    try
    txtUpdateFeed.Text = "Removing files...";
    if (bln)
    txtUpdateFeed.Text = "Removing folders...";
    //Delete videos directory
    DeleteDirectory("videos");
    //Delete pictures directory
    DeleteDirectory("pictures");
    txtUpdateFeed.Text = "Folders removed.";
    //Delete the rest of the files
    var iso = IsolatedStorageFile.GetUserStoreForApplication();
    foreach (string name in iso.GetFileNames())
    iso.DeleteFile(name);
    BtnWipeAllData.Content = "Wipe All Data";
    VideoCameraPowerValue = "on";
    BtnVideoCameraPower.Content = "Video Camera: ON";
    PhotoCameraPowerValue = "on";
    BtnPhotoCameraPower.Content = "Photo Camera: ON";
    txtUpdateFeed.Text = "Files removed successfully.";
    catch (Exception ex)
    MessageBox.Show("Wipe All Data Error:\n" + ex.Message.ToString());
    Why isn't all files being deleted?

    Hi Clint William Theron,
    Based on your descriptions, I know that when you run the above code, it does not delete all the files, then have you checked that which kinds of files or in which folder the files can not been deleted?
    Besides, if you want to let the app go back to the state it was when the user installed it for the first time, then an easy way is to uninstall and reinstall it.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • !!! Statements of Logic Deleting Files and messing with System are True !!!

    This morning I answered some guys post about Logic deleting everything in the same level as the project folder under certain circumstances. I Tried trouble shooting for him but could not recreate it.
    Then this happened to me today:
    When working in Logic 8 in Leopard all of a sudden it stopped communicating with my Unitor8 via USB. I restarted but the Unitor 8 Which I reset twice would NOT communicate with L8 anymore. It would remain in patch mode (red light lit though CPU is running)
    I've had this erratic behavior many times since the past years on many computers so it wasn't really new. All one needs to do is reinstall the Unitor Family driver.
    So I decided to do so:
    I inserted my Logic Studio DVD and opened the installer and checked ONLY the Unitor family Drivers. After completed install I restarted the Mac. Everything went fine. So I booted L8. While booting I saw my hardrives on the right side of the desktop flash once. I thought that to be strange and took closer look.
    Now my boot drive was missing from all the drives on the desktop and in the sidebar window...
    I tried to Apple+Click on a Application in the dock. The finder opened the applications folder and showed me the app I had clicked on. But I could not navigate to the root of my System Drive even via the "path" sysmbol in the toolbar. So I hit shiftappleg and entered /Volumes/MySystemVolume - it showed my volume "Grayed Out" in the finder window...
    I tried repairing the disk and permissions but nothing was wrong with my boot drive apparently besides the fact that the finder (and all other applications when wanting to open or save) could not "see" my system drive... I could launch all the apps normally that were residing on the SystemDrive in the AppFolder... So this kept getting weirder...
    So I opened my favorite application Tinkertool System and went to the Tab Files and chose the underlying tab "Attributes" which shows me Macintosh HFS and Finder Attributes... I pulled my SystemDrive onto the Drop Area and discovered something VERY amazing: The Display in Finder option had mysteriously been altered to "INVISIBLE"
    I changed it to Visible and there it was - My System Drive... Showing up in the finder...
    I made a restart to make sure everything was OK....
    After the restart the following settings had VANISHED:
    1) Pixadex = ALL ICONS (I had 230 MB) of sorted icons stored in my Application Support Folder
    2) All my Safari Book marks were gone - They were still in ~/Library/Safari - but the Bookmarks.plist was UNREADABLE even with a text editor and XML editor
    3) Numerous other applications had LOST their authorization preferences so I had to re-authorize many of my Audio Unit plug-ins...
    4) My Dock had been reset
    5) My Monitor arrangement had been reset...
    6) My date and time had been reset
    7) My energy settings had been reset.... (I had NOT zapped the P-RAM)
    Since installing Leopard 2 weeks ago - I have CAREFULLY monitored ANY activity after INSTALLING anything in order to be able to troubleshoot - and this problem definitely occurred right after installing the USB Family Drivers and launching L8....
    There was really NO HARM done other than the sweating that I did troubleshooting but if L8 is capable of doing what happened to this other guy loosing his whole folder and now doing this to me - where are the limits? When is someone going to get REAL hurt.
    Please Apple - I am sending you this post as a BUG report as well - could you PLEASE look into this as there has to be some kind of VERY dangerous MALFUNCTION within Logic or its Installers.

    Wow, I was just joking with the medication thing. I didn't actually think it was seriously a mental health issue. Sorry.
    In any case, though, if he has full access to the Mac, mental health issues or no, there's not a whole lot to do about it. If it is possible to take away administrative privileges without causing a huge fuss, then you can limit his access to certain things. However, you can't mess with privileges on a Time Machine backup (doing so breaks it), and that means he's going to have access to at least parts of the backup. Which means he can trash at least some of the backup data, and if he deletes files from the TM backup using the Finder, he'll have essentially trashed the whole backup. He might as well have the ability to delete all the files on the machine if he has the power to delete backups.
    Honestly, in this situation, he should either only be allowed to use an account with Parental Controls on, which may not be an option (I don't know how offended he would be at such a suggestion), or he should be using a different computer entirely and have no access at all to his wife's computer. Alternately, have his wife keep a backup that is hidden - ie, connect the backup drive periodically and then remove it and hide it so he can't mess with it. That will at least secure the backup.

  • Replace all references to files and folders with lowercase in web documents on a site

    Hi I'm working on a test server that runs Ubuntu Unix (but my PC which has Dreamweaver CC is running Windows 8.1). I would like to search and replace in Dreamweaver to change all src and href attribute values inside files (webpages, css, etc.) on my site to lowercase, but with the folder and file names' spelling otherwise unchanged. I already changed the names of the actual files and folders, but wanted to make all references in my files point to them again. I started to use regular expressions in the specific tag search, but I was not sure how to specify letter case conversion on a backtracked value. Some flavors of RegEx allow you to replace a searched value in parentheses with its lowercase counterpart by specifying something like this: \L\1
    Where \L converts the character captured in the reference \1 to lowercase. Thanks.

    Hi Jon,
    Thanks for your response. Yes, I tried. But I’m not sure you can use any RegEx special characters in the replacement text. I put in \L0 and it just replaced the match with the literal string, so href=”Support/Index.HTML” became href=”\L0”
    What I want is href=”support/index.html”
    The reason I didn’t use Dreamweaver to change the actual file and folder names is I have images widely dispersed in subfolders. I didn’t think Dreamweaver would automate that part—I think you can only select a file individually to rename it, and then DW will correct all references to it. But probably can’t rename everything with one command from the root. Well, this is turning out harder than I thought.
    Let me know if you have any other ideas.
    Thanks,
    Dave.

  • Process multiple files and stack with originals

    I have had an ongoing frustration with PSE.  After ranking my photos I use the raw import to post process multiple photos.  Almost all of my post processing occurs during the raw import of my NEF originals.  When done I save the files as stacked JPGs.  Unfortunately I have not found a way to process multiple files and have them stay stacked with the originals.  This results in me doing a "Save As" for every single photo in the photo bin.  VERY TIME CONSUMING!!
    Has anyone determined a way to process multiple files into JPGs and have them stacked with originals?  I am sure this is possible and it is really driving me crazy!!  Any help would be greatly appreciated. 
    Ken
    P.S.  I did search the forums for key words around this issue and wasn't able to turn up any hits.  My apologies up front if this has been addressed before.

    Check http://photoshopelementsbyadobe.blogspot.com/2010/02/batch-processing-in-adobe-photoshop.h tml if it helps...
    But you will have to stack them manually and Auto-suggest stack can also be helpful !
    Give it a try and feel free to ask specific questions...

  • When I start on a .xps file and Open with. . . and choose the Microsoft XPS file viewer, Firefox still opens and I get nowhere.

    When I double-click on the file, Firefox opens, too.
    Firefox wants me to save the file or browse. If I browse to the Microsoft XPS viewer (the recommended option) and select it, then a new copy of firefox opens and wants me to save or browse. Deja vu.
    I have Vista, .Net 4, Firefox 3.6.10

    I read this link and did not see how it applied. The xps viewer is not on the list of file types in Firefox. But why does Firefox open at all? Firefox is not open when I double-click on the file. The .xps files are associated with the Microsoft xps viewer in the file associations.

  • Files and Directories with *'s

    I have a problem where I moved files and folders from a 10.4.8 G4 server on to a new 10.4.8 G5 Server with XSAN 1.4. Some of these files and folders are part numbers and have *'s in the names. Any directory or file with a * in the name appears normally on the local file system. Over AFP and SMB these files and directory names get clobbered and end up looking like 6 characters ~ and one character, or something like ADQEOI~F. Has anyone ever seen this behavior before? I'd love to just rename all of the files and folders but I'm sure my users will not approve. Any suggestions would be appreciated.

    You probably should rename the files.
    A * is specifically not allowed in a file name. What's happening is that the file is stored with the unicode representation of the character. Unicode-aware apps like the Finder can deal with this but most other apps (including the file sharing daemons) cannot and that's why you see the unusual file names.
    You're going to run into all kinds of other problems, too. Renaming your files i the best bet.

  • Unable to opn FLV files and more with newest Quicktime vs 7 Pro

    Hi and thanks in advance -
    Suddenly I cannot open FLV files and I have the Flip4Mac etc plugins. NO LUCK. This is a waste of money patience and time ... or does anyone know of a way to create harmony in the cacophanous quicktime wannabe world. I have a new macbook which I adore and I am ready to throw it down the loo.
    PLEASE help. It's much appreciated.
    Sandy
    macbook dual core intel os 10.4.9   Mac OS X (10.4.9)  

    FLV is Flash Video. QuickTime isn't used (normally)
    to view them and most of use use the free Flash
    Player and its browser plug-in.
    The free Perian http://perian.org/ component may help
    you.
    hi and many thanks for the advise - stupid of me not to see that the flv = flash. I have had the perian plugin installed and running 100 percent for some time.
    I'll give it another go nonetheless and again thanks for the input! BTW the flash player has been running fine too. Perhaps a conflict?

  • Image is not saved in jpeg/bmp file but ok with png

    Hi i am unable to save the image in disk in jpeg format.
    Here is the code.
    public void saveImage(){
    //if no filechooser is there means no image file opened.
            if(fileChooser==null){
                if(errorWindow==null)
                    errorWindow=new ErrorWindow(XXX.getPrimaryStage());
                errorWindow.showErrorWindow("There is no image to save !!\n");
            else{
                fileChooser.setTitle("Save The Image");
                File saveFile=fileChooser.showSaveDialog(XXX.getPrimaryStage());
                if(saveFile!=null){
                    System.out.println("saveFile path= "+saveFile);
                    //get the extension of output image to be saved.
                    //XXX: is the main class name(say)
                    outExtension=*XXX*.getImageExtension(saveFile);
                    //if user does not give extension: set default extension as jpg
                    if(outExtension.equalsIgnoreCase(saveFile.getName())){
                        outExtension="jpg";                   
                        String newPath=(saveFile.toString())+".jpg";
                        saveFile=new File(newPath);                   
                    Task task = new Task<Void>() {
                        @Override
                        public Void call() {
                            Platform.runLater(
                                    new Runnable() {
                                        public void run() {
                                            try {
                                                //The image is inside ImageView->inside ScrollPane-> inside TabPane.
                                                Image curImage=XXX.getCurrentImage();
                                                int width=(int)curImage.getWidth();
                                                int height=(int)curImage.getHeight();                              
                                                System.out.println("cur image width= "+width+" ht= "+height);
                                                bufferedImage=new BufferedImage(width, height,BufferedImage.TYPE_INT_ARGB );
                                                //set the current image to awt Buffered Image
                                                SwingFXUtils.fromFXImage(curImage, bufferedImage);
                                                    imageTabPane=xxx.getImageTabPane();
                                                    Tab tab=imageTabPane.getSelectionModel().getSelectedItem();                                    
                                                    TabPane childTabPane=(TabPane)tab.getContent();
                                                    ScrollPane sp=(ScrollPane)childTabPane.getSelectionModel().getSelectedItem().getContent();
                                                    final ImageView imageView=(ImageView)sp.getContent();
                                                    WritableImage wim = new WritableImage(width,height);
                                                    imageView.snapshot(null, wim);
                                                    System.out.println(" snapShot width= "+wim.getWidth()+" ht="+wim.getHeight());                             
                                                    *ImageIO.write(SwingFXUtils.fromFXImage(wim,null), outExtension, saveFile);*
                                                       //<------ its not working  for png,jpeg,bmp,gif                                          
                                                    // the below lines are working only for png and gif
                                                    OutputStream out = new FileOutputStream(saveFile);                                                
                                                    ImageIO.write((RenderedImage) bufferedImage, outExtension, out);
                                                    out.flush();
                                            } catch (Exception ex) {
                                                Logger.getLogger(FileMenuController.class.getName()).log(Level.SEVERE, null, ex);
                                                //ex.printStackTrace();
                                            System.out.println("finished");
                            return null;
                    Thread th = new Thread(task);
                    th.start();
                }else{
                    System.out.println("File is not saved");
        }//saveImageNote: The above code is executed in ubuntu(10.04) using Netbeans 7.2(Javafx(2.2), java(1.7.0_11).
    When i run(from terminal) separately in a new class with an image in an Imageview( inside a Vbox) and take the snapshot
    of the imageview and write into the file using ImageIO.write(SwingFXUtils.fromFXImage(wim,null), outExtension, saveFile);
    with any extension (jpeg,png etc) it is working fine.
    Please help me.
    Any small hint is also helpful.Please feel free to comment or give suggestion.
    Edited by: 963038 on Feb 17, 2013 7:14 PM

    When i omit the line OutputStream out = new FileOutputStream(saveFile);
    and write only
    ImageIO.write((RenderedImage) bufferedImage, outExtension,saveFile);
    //out.flush();
    then saving the image even in "png" also fails.
    The following is the error code:
    Note : FileMenuController is my file where the saveImage() is wrtten.
    javax.imageio.IIOException: I/O error writing PNG file!
    finished
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1168)
         at javax.imageio.ImageWriter.write(ImageWriter.java:615)
         at javax.imageio.ImageIO.doWrite(ImageIO.java:1612)
         at javax.imageio.ImageIO.write(ImageIO.java:1536)
         at *newciptk.controls.menu.file.FileMenuController$1$1.run(FileMenuController.java:205)*
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
         at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
         at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
         at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.IOException: Operation not supported
         at java.io.RandomAccessFile.writeBytes(Native Method)
         at java.io.RandomAccessFile.write(RandomAccessFile.java:499)
         at javax.imageio.stream.FileImageOutputStream.write(FileImageOutputStream.java:124)
         at javax.imageio.stream.ImageOutputStreamImpl.writeInt(ImageOutputStreamImpl.java:91)
         at com.sun.imageio.plugins.png.ChunkStream.finish(PNGImageWriter.java:136)
         at com.sun.imageio.plugins.png.PNGImageWriter.write_IHDR(PNGImageWriter.java:401)
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1135)
         ... 9 more
    javax.imageio.IIOException: I/O error writing PNG file!
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1168)
         at javax.imageio.ImageWriter.write(ImageWriter.java:615)
         at javax.imageio.ImageIO.doWrite(ImageIO.java:1612)
         at javax.imageio.ImageIO.write(ImageIO.java:1536)
         at newciptk.controls.menu.file.FileMenuController$1$1.run(FileMenuController.java:205)
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
         at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
         at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
         at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.IOException: Operation not supported
         at java.io.RandomAccessFile.writeBytes(Native Method)
         at java.io.RandomAccessFile.write(RandomAccessFile.java:499)
         at javax.imageio.stream.FileImageOutputStream.write(FileImageOutputStream.java:124)
         at javax.imageio.stream.ImageOutputStreamImpl.writeInt(ImageOutputStreamImpl.java:91)
         at com.sun.imageio.plugins.png.ChunkStream.finish(PNGImageWriter.java:136)
         at com.sun.imageio.plugins.png.PNGImageWriter.write_IHDR(PNGImageWriter.java:401)
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1135)
         ... 9 more

  • Reading a text file and using data to plot a graph

    Dear Friends,
    I have the following problem...
    I have a text data looking like this;
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    0ff0033fc
    0ff002001
    0fe3fd3ff
    0ff000002
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    0ff0033fc
    0ff002001
    0fe3fd3ff
    0ff000002
    My Code should have a button , when you click that button it should ask you to choose a txt file to open this file from a specific place. The Indicators of the front panel should show me the ID , Name and Date. The data;
    100000000
    1003ff001
    1010013ff
    1000003ff
    1023fe001
    102000000
    1023ff3ff
    1010013fd
    the first 3 bits belong to X axis, the next 3 bits belong to Y and the rest 3 belongs to Z axis.  I have to convert those values to Decimal system, and plot them in a graph, 10 times a second , which means after converting and plotting 10 values , one second is over.
    I would aprriciate it very much if you could help me in this case....
    Thanks in advance.
    Message Edited by Support on 11-13-2007 01:03 PM
    Message Edited by Support on 11-13-2007 01:04 PM

    Some questions a teacher might ask:
    What's the display setting for the "\n" string diagram constant? Why?
    Is it better to read the file one line at a time or all at once?
    What would you do to be able to stop the chart display before it runs out of data?
    What would be different if we combine the two FOR loops into one?
    How would you display the header as a multiline string instead of an array of strings?
    Why is the scan format %03x instead of %3x? Would it make a difference?
    What is the purpose of the two items of the property node?
    What would you need to change to plot the data every 50ms? (change in two places!)
    Why is the error output of the property node wired to the first FOR loop? (After all, the error value is not really used anywhere there!)
    Instead of the two "array subset" operations, we could do it with one icon. Which one? (two possibilities!)
    So... be prepared!
    Message Edited by altenbach on 10-29-2007 11:31 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Document scanning software that allows for custom search fields, attaching a thumbnail to the scanned document file, and works with any scanner?

    I am a professional photographer, with years of paper model releases. I would like to find a document scanning software that works with my exisiting flatbed scanner (Canon MP250) that I can customize the seach fields for (ie. name, agency, job, etc.) and also attach a thumbnail image to as a job reference. I would like the document to be searchable as well. I've looked at a few different document scanning software companies, but I haven't found one that allows me to attach a jpeg file to a scanned PDF. Does anyone know if software like this exists?

    You can't do better than to use VueScan:
    http://hamrick.com/

Maybe you are looking for