I want to have a progress bar monitor and display the progress of a file being opened, How do I do it?

I have written large files for a report. When I open the files in the VI by pushing a button I want to view the progress of the file being opened. My first thought was to get the file size, some how measure the number of bytes comming out and monitor it on the progress bar. I am unsure about how to do this. If you know of a better way to monitor and disply the progress of an opeing file please let me know.

If I understand you correct the progress bar is not the problem, it's to get a numeric value indicating the progress...right?
If so then you could read the file size, preallocate a byte array to hold the file, then read it in chunks and put the chunks into the array using replace array elements...(you could concatinate strings, but that would easily become very memory and speed expensive...)until you have read the entire file. If the file is 20 MB and you want the progress bar to have a resolution of about 1% read it in chunks of 256 KB...For each chunk read, increment the progress bar...
MTO

Similar Messages

  • HT1351 I just bought a new ipad and it doesn't show under my devices when I plug it in. I was already set up with my ipod touch. I just want to have access to my apps and music that are already in my itunes. How do I find my ipad and sync it?

    I just purchased an ipad. When I plug it in to my computer it won't show under devices in itunes. I already have itunes set up for my ipod touch. I just want to share the music etc thats already there with both devices. How do I get my computer to recognize that the ipad is there?

    The latest model requires iTunes 10.7 or higher.  Check iTunes to make sure you're running a compatible version.  If so, see:
    iOS device not recognized in iTunes for Mac
    iOS device not recognized in iTunes for Windows

  • I have numbers on my ipad and after the latest update I can't open a spreadsheet in it, a very important spreadsheet. I have rebooted a number of times but this does not seem to have fixed it can someone advise what I can do??

    I have an ipad and have just downloaded the lastest update, now I have a very very important spreadsheet that will not open!!!! other spreadsheets open fine but for some just this one will not open. I have rebooted the ipad and tried re-syncing but to no avail, can anyone HELP?????

    I had the same problem. I created an iCloud account and backed up my iPad to iCloud. I then went to www.iCloud.com, signed-in and then I was able to download my spread sheet data. At least I have my data.

  • How do I delete stored email addresses in my iphone? When sending photos, I don't want to have certain email addresses  "popping up" from the internal memory, I've deleted my entire "Contact" list but they still appear.  Help please!

    How do I delete stored email addresses in my iphone? When sending photos, I don't want to have certain email addresses  "popping up" from the internal memory, I've deleted my entire "Contact" list but they still appear.  Help please!

    As with the Mail app on a Mac, the iPhone's Mail app stores all email recipients in a list of previous recipients which is separate from the address book or contacts. The email address autofill feature when addressing an message pulls from Contacts and from the list of previous recipients.
    Different from the Mail app on a Mac, there is no access to the list of previous recipients with iOS on an iPhone, iPod Touch, or iPad to remove a previous recipient from the list, or to add a previous recipient to the address book or contacts that is not already entered - not at the present time anyway.
    The only way to purge the list of previous recipients at the present time is by restoring your iPhone with iTunes as a new iPhone or not from your iPhone's backup, which will start being re-populated again with every sent message.

  • Can I hook my iphone 5 to a touchscreen monitor and use the touchscreen feature of the monitor. Would I have to use the lighting to hdmi?

    Can I hook my iphone 5 to a touchscreen monitor and use the touchscreen feature of the monitor. Would I have to use the lighting to hdmi?

    The connection of the phone to the monitor would allow you to see, but does not have the ability to translate the touch on the monitor to the phone through that cable.

  • I have Remote desktop connection for my mac running osx 10.6.8 and I have a windows xp laptop, I want to have my mac be able to run the windows xp from my pc, how do I do it?

    I have Remote desktop connection for my mac running osx 10.6.8 and I have a windows xp laptop, I want to have my mac be able to run the windows xp from my pc, how do I do it?

    Hello Fiona,
    Congratulations on your new iPhone!  You can sync information to your iPhone from your MacBook Pro using the Info tab in iTunes when your iPhone is connected.  Use the steps in the following article:
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/ht1386
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have-I guess I can auto start the DVD but would prefer a button-how and where would I put this "play all" marker??

    I want to create a "Play All" chapter marker that will play the video from start to finish in addition to the standard chapters I have…I guess I can auto start the DVD but would prefer a button…how and where would I put this "play all" marker?? Thanks..

    The start chapter button is a play the whole movie button regardless of how many other markers you have.
    Once a DVD starts playing it continues to the end.
    Chapters marker simply gives the viewer a place to start playback whether it be the start, middle or near the end.
    Al

  • HT4818 I want to have an exFAT parition in addition to the Mac OS X and Windows partition.  If I create it before running BootCamp, it wants me to delete it.  If I create it in either Windows or Mac OS X afterwards, I can no longer dual boot.

    I want to have an exFAT parition in addition to the Mac OS X and Windows partition.  If I create it before running BootCamp, BootCamp wants me to delete it before continuing.  If I create it in either Windows or Mac OS X after running BootCamp and installing both OSes, I can no longer dual boot.  What is the magic sequence to get this to work?

    I've got the same quandary.
    After upgrading my hard drive to a Momentus XT Hybrid and doing a clean install of Mountain Lion, I was surprised that I couldn't format partitions separately and then restore from my clone of the old Windows 7 Partition. I found that I had to use the BootCamp Assistant to manage it all, which essentially meant getting rid of the partitions and starting again...   
    I now can't get my Windows / BootCamp partition to boot, after adding a 3rd, ExFat, partition, when it was working perfectly fine before. I just get a lot of dos booting failures and a final message that "No boot device is available, press Enter to continue".  
    See the attached message, that I get when trying to boot the bootcamp partition, through Parallels 7; which also worked perfectly fine before.
    Be good to know if there is a work around this in Mountain Lion as, if not, I'm thinking I might skip Bootcamp altogether and just install a machine drive via Parallels. As suggested here:
    http://forums.macrumors.com/showthread.php?t=1420754
    I might even keep the virtual windows machine on a separate hard drive and then I'll have no need for the ExFat partitions altogether as that was designated for  sharing between Windows  and Mac.

  • Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance

    Can someone please help. I have a really old MacBook that is running really slow. I want to wipe everything and reinstall the latest software but don't know how to do this. Also is there a way of keeping Microsoft Office when doing this? Thanks in advance

    You do realise that wiping the disk means that everything on the disk is erased. Everything. Photos, music, emails, ...
    So the first piece of advice is to make sure you have a back up of everything.
    You need the OS disk to reintsall the operating system. You will use that disk first to erase the drive, then to reinstall the OS.
    Here's the link for the US.  http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    As for MS Office, you will need the original disk that it came on to reinstall it.

  • TS1292 The itune car I have has a bar code and numbers underneath, however some of the numbers are missing is there anyway I can use this card

    The itune card I have has a bar code and numbers underneath, however some of the numbers are missing is there anyway I can use this card?

    Hi,
    Here is a Support Article that will help:
    http://support.apple.com/kb/HT6021
    Cheers,
    GB

  • I want to have my iTunes play lists and play counts on my new MacBook Air

    I want to have my iTunes play lists and play counts on my new MacBook Air transferred over from my old (4 years and dying) MacBook Air.
    Thanks for any and all help.

    Copy the entire iTunes folder including the iTunes library file from your old Mac to the same Music folder on your new Mac. Then down the Option key while launching iTunes and select the copied iTunes folder. That should get you all your  playlists, playcounts etc.; those are stored in that iTunes library file.
    Regards.

  • I'm using numbers for my students grades. the passing grade is 30 points. what i want to happen is that very students with a grade of less than 30 will have their points it red color. does the IF function can do this? how?

    i'm using numbers for my students grades. the passing grade is 30 points. what i want to happen is that very students with a grade of less than 30 will have their points it red color. does the IF function can do this? how?

    Hi efren
    Conditional format will do this.
    Select the Cells, then Menu > Format > Show Conditional Format Rules
    Regards,
    Ian.

  • I have a MB Pro that is running Lion; I also have two external DVI monitors and a DVI splitter in hopes that I could run the two monitors with my MB Pro.   This actually works fine, but I am unable to "extend" the desktop.  Any insights?

    I have a MB Pro that is running Lion; I also have two external DVI monitors and a DVI splitter in hopes that I could run the two monitors with my MB Pro.   This actually works fine, but I am unable to "extend" the desktop.  Any insights?

    You cannot have a extended desktop using a splitter.  All that does is mirror the pair attached to the splitter.
    You can do this however using a Matrox DualHead2Go.
    Other solution would be to attach one monitor to your video out as you do the splitter and attach the other via USB (assuming the adapter supports the monitor's resolution).
    Newer Technology USB to DVI / HDMI / VGA HD Video Display Adapter

  • Firefox does not display the basic menu line File Edit View etc. How do I get this menu to show. I have tried uninstalling and reinstalling, but that does not help

    When I ask for help finding bookmarks, the answer tells me to click on bookmarks as shown in the illustration, but there is no such line displayed on my computer.

    '''''"Firefox does not display the basic menu line File Edit View etc."''''': That is the Menu Bar; see below.
    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help)<br /> <u>Firefox 3.6.x versions allow the user to hide the Menu Bar.</u><br />
    *Tap the ALT key or the F10 key, Menu Bar will display, click View, click Toolbars, click Menu Bar to place a check mark next to it, '''''OR'''''
    *Press and hold the ALT key while pressing the letters VTM on your keyboard, then release the ALT key
    *See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    '''<u>Other Toolbars</u>''', see: https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    <br />
    '''Other items that need your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape
    **Current versions are 9.4.2 and 10.0.1 (aka Reader X)
    **More info about version 10 (aka Reader X)
    ***New Adobe Reader X (version 10) with Protected Mode was released 2010-11-19
    ***See: http://www.securityweek.com/adobe-releases-acrobat-reader-x-protected-mode
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.

  • Want to open a new browser window and display the html file in locale disk.

    Hi,
    I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.
    Note:
    The class below fileopen.FileOpen.class i make it as a jar and put it in jre\ext folder at the client machine.
    ------------------------------------FileOpen.html(Tomcat)-----------------------------------------------------
    <html>
    <body >
    <applet code="OpenFile.class" archive="loadfile.jar" width="100" height="100">
    <param name="path" value="file://c:/open.html" />
    </applet>
    </body>
    </html>
    -------------OpenFile.java in server(Tomcat)--------------------------------------------
    public class OpenFile extends Applet implements ActionListener{
    String path = "";
    fileopen.FileOpen open = null;
    Button b = null;
    public void init(){
    path = getParameter("path");
    b = new Button("Open");
    b.addActionListener(this);
    add(b);
    public void actionPerformed(ActionEvent ae){
    try
    open = new fileopen.FileOpen(this,path);
    catch (Exception e){
    e.printStackTrace();
    -------------------------------------------FileOpen.java /Client JRE/ext----------------------------------------------------
    package fileopen;
    public class FileOpen
    AppletContext context = null;
    URL url = null;
    public FileOpen(Applet applet,String path)
    try
    if(null != applet){
    context = applet.getAppletContext();
    if (null != path)
    url = new URL(path);
    context.showDocument(url, "_blank");
    }catch(Exception ex)
    ex.printStackTrace();
    Please help to solve this issue very urgent.
    Thanks in advance.
    By,
    Saravanan.K.

    zzsara wrote:
    I want to open a new browser window and display the html file in local drive. ...Did you ever pause to consider how ridiculous that is?
    The best audience for applets is people off the internet. 'People off the internet' might be using a computer that has no (what was it?) 'open.html' in the root of the C: drive. In fact (shock horror) they may not even be running Windows, and would therefore probably have no 'C:' drive at all.
    If you do not intend to distribute this to people off the web, an application makes a lot more sense, but even then, you cannot rely on the document being there unless you 'put it there' (during installation, for instance).
    As the other poster intimated, applets can load documents off the local disk as long as they are trusted. Here is an example*, but note that it is not so rash as to presume any particular path or file, and instead leaves it to the user to choose the document to display.
    * The short code can be seen at SDNShare on the [Defensive Loading of Trusted Applets|http://sdnshare.sun.com/view.jsp?id=2315] post.
    On the other hand, a sandboxed applet can load any document coming from its own server via URL, or get showDocument(URL) to work. In that case, the JRE must recognize that the URL is from its own server, so the best way to form URLs for applet use is via the URL constructor
    new URL(getDocumentBase(), "path/to/open.html");That is how I form the URL in this [ sandboxed example of formatting source|http://pscode.org/fmt/sbx.html?url=/jh%2FHelpSetter.java&col=2&fnt=2&tab=2&ln=0]. Of course, in this case the applet loads the document, then parses the text to draw the formatted version, but the point is that an URL produced this way will work with showDocument(URL).
    I am pretty sure showDocument() in an applet off the internet will work with an URL pointing to a foreign (not its own) server, but it will not be able to load documents off the end user's local disks.
    I suggest a couple of things.
    - Try to express this problem in terms of what feature it is that you want to offer the end user. Your question jumps directly to a bad strategy for achieving ..who knows what? An example of a feature is "Shows the applet 'help' files on pressing F1".
    - A good way to indicate interest in a solution is to offer [Duke stars|http://wikis.sun.com/display/SunForums/Duke+Stars+Program+Overview] to match that interest.
    Edit 1:
    ..and please figure out how to use the CODE tags.
    Edited by: AndrewThompson64 on Sep 12, 2008 11:14 PM

Maybe you are looking for

  • HELP!!! Downloaded ebook to ereader via ADE, only 1 page of symbols come up on ereader.

    Hi there, I have bought an ereader and have downloaded free ebooks to it with no problems. When I went to buy a book I had to download ADE to view it on my computer. I have gone to the link and downloaded it to ereader and all that comes up is on pag

  • Oracle 10g lite and Oracle 8i compatibility

    I have a series of Oracle 8.1.7.4 database servers running on Unix platforms scattered around the globe that use multi-master replication for synchronization. I need to populate approximately 500 Windows 2000 deployable systems that will operate in a

  • Cisco 878 port forwarding not working

    I've configged ports to map for smtp, http, ftp, pop3 and https. When telnetting to the router and checking on the router with show ip nat translation, the correct mappings are made. The telnet session with the machine behind the router is not establ

  • Color Laser Jet 5500dn Leaves Line on Every Print

    1. Product Name and Number - HP Color Laser Jet 5500dn  2. Operating System installed - NA, But Mac OSX Lion  3. Error message (if any) - NA  4. Any changes made to your system before the issue occurred - None    Hi Everyone, Every time we print from

  • HT1338 How do I upgrade Mac OS X Tiger?

    How do I upgrade Mac OS X Tiger?