How to read the text from a DOS window in real time?

I call an executable file that downloads a file to flash memory.  This program displays status information in real time as the percentage of completion in one window BACK.   It also makes account of the CRC of the file as it downloads.  I am currently redirect the output of the DOS window in a text log file.  This works fine for obtaining of the CRC when the file is actually downloading but the operator loses the visibility of the State in the percentage of download.  Is there a way to read text information in a DOS window with my request of LabWindows/CVI real-time?

Hi Brent,

If redirect you the output from the first application in a log file, you would be able to read the contents of the file streaming to your second request, and whenever the content changes (such as the download value percentage), couldn't display you this information immediately with the second request in one window DOS or some other GUI?

Luis

Tags: NI Software

Similar Questions

  • How to read the data from a channel named in windows using labview

    Hello

    I need to read the channel named in windows data. The pipe is created by python by another application. This application post permanent data on the pipe. But I don't know how to read data using labview. is it possible to read the data from different application? If possible, how to start?

    Thanks in advance

    concerning

    RJ

    Hi Rolf,.

    It's just, because of driving is not initialized completely, pipe read returns error 42, I added 2 seconds late, then its work perfect.

    Thank you very much.

    Concerning

    RJ

  • How to read the text of an XML with the dom parser?

    Hi all

    It's my code. How will I be able to read the text inside the xml file using dom parser?

    my xml file is like this...



     
        LLEYTON
        Hewitt
        Australian
       
        1
        897
       

     


        André
        Agassi
        American
       
        2
        679
       

     

    which I stored in _xml.

    InputStream is = getClass () .getResourceAsStream (_xml);

    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance ();

    DocumentBuilder db = dbf.newDocumentBuilder ();

    Doc document = db.parse (is);

    NodeList nl = doc.getElementsByTagName("*");

    for (int i = 0; i)< nl.getlength();="">

    {

    System.out.println ("node name" + nl.item (i) .getNodeName ());  Player, firstname, lastname, tennis o/p

    System.out.println ("node value" + nl.item (i) .getTextContent ());  o/p value null, null, null, null

    }

    I want the text in the first name should get displayed as "Lleyton" and any other text in other tags as Andre/Agassi/American/2/679

    You can install JDE and operates the samples, you will find XMLDEMO that will help you read XML application blackberry;

    good luck;

  • How to extract the text from corrupted pages file

    Really appreciate if someone of you knows a way to extract text from a page files of 9 MB that contains text and images and which does not:

    Error message: file format not valid.

    Change the type of file and opening in various programs (Word, Acrobat, Google doc converter) but nothing I've tried will open it.

    I have a backup at home, but am away for several weeks and done a lot of work on this file since the last backup.

    I hope there is a solution! Thank you

    JR

    If it is in fact a v5 Pages document, and it will not open in preview, or open in v5 Pages while holding the SHIFT key, then you're done. The inner content in Pages v5 is in a format that is illegible, indecipherable, scrambled anything able to read except Pages v5.

    If it's a v5.5.2 Pages or a later version of the document, then it is by default in a single file format (file zip compressed/renamed), and no version of Pages thru v5.2.2 on Mavericks v5 was designed to play a single file format documents that are not original Pages ' 09. If it is a document Pages from Yosemite or El Capitan, you will need the v5.5.3 Pages or later to change the type of file to the package format - which can be read by v5 + Pages on the Mavericks.

    If it is a Pages ' 09 document, there is a good possibility that your attempt to open/edit/etc this document with all of the people mentioned applications has damaged the document permanently. Try the preview or the free LibreOffice (v5 or later) which can open documents file format only (not the package files) of Pages ' 09 very simple, sometimes with pictures. No warranty if.

  • How to get the text from TextFlow?

    Hello

    I want to extract (String) text from a TextFlow control.

    If you have an idea...

    Thanks in advance

    Fabrice.

    Ok thank you.

  • How to read the text displayed in the field "search in" a JFileChooser?

    Hello

    I'm working on a windows environment and I have a drive mapped to my computer network.

    The mapped network drive letter: X:\

    When I open the JFileChooser and pointing to that drive and choose, under the JFileChooser ' search in ' this is what is written: Version6.1 on server(X:) mais quand j'ai le choisir et imprimer le nom de chemin il retourne uniquement la réseau mappé lettre de lecteur (c'est-à-dire X:\) (which is of course understandable).)

    The user wants to see the name of the folder he chose not only the letter drive.

    How can I possibly have the exact test shown in the JFileChooser before returning?

    Thank you.

    >
    When I open the JFileChooser and pointing to that drive and choose, under the JFileChooser ' search in ' this is what is written: Version6.1 on server(X:) mais quand j'ai le choisir et imprimer le nom de chemin il retourne uniquement la réseau mappé lettre de lecteur (c'est-à-dire X:\) (which is of course understandable).)

    The user wants to see the name of the folder he chose not only the letter drive.

    How can I possibly have the exact test shown in the JFileChooser before returning?
    >
    Your question is confusing. If the user chooses a folder then they will see the name of the file and the full path.

    You could reference on behalf of display system for the drive itself. If that's what you want, you need to add the code to get this name and display it to the user. The dialog box will not appear the display name.

    For example if I have a map drive z on the drive c from another computer I can get this drive name from how it is displayed:

    restoreFolderChooser.getFileSystemView().getSystemDisplayName(new File("z:\\"))
    
    "c$ on 'blade1' (Z:)"
    

    Is this what you are looking for?

    See the class FileSystemView in the Javadocs
    http://docs.Oracle.com/javase/1.4.2/docs/API/javax/swing/filechooser/FileSystemView.html
    >
    getSystemDisplayName
    public String getSystemDisplayName (File f) of a file, directory or folder name, such that it will appear in a file system browser. Example of Windows: the directory 'M:\. "shows as"CD-ROM (M :) ". "The default implementation gets information from the ShellFolder class.

    Parameters:
    f a file object
    Returns:
    the file name as it would be displayed by a native file picker
    See also:
    JFileChooser.getName (java.io.File)

  • How to overlap the 2 images of data acquired in real-time?

    Hi all

    I'm now a measure of the FRET in the laboratory. 2-channel data are acquired and shown in 2D images separately analysis by using Labview. They are at the same scale and pixel. Now what I want to do is to put them into a single image, but the signals are shown in two different colors.  Or in another word, cover them in the same image. How this could be done? BTW, I now work with LabVIEW 6.1 (I know this is a pretty old version, but since the work earlier are to do with that, I have to stay with this version). Thanks in advance.

    Dear Franceing,

    I have studied your request, but I'm not convinced that you need to stay with the old version of LabVIEW. You can upgrade to the latest version of LabVIEW, but in this case you need to upgrade your nationalities created in version 6.1 Traoré. This could be quite a big job (if you use a lot of 'old' vi), but will give you the latest features and ease of use of LabVIEW 2009 in return.

    For your question, you might think using the function "IMAQ And.vi" (if it is available in your version). This function works as a logical AND (or NAND) VI and merges the two images together.

    I hope this will help you develop your application!

    Best regards

    Peter S

  • How can I remove text from a PDF file?

    How to clear the text from a pdf file

    Hi iggybuskus2,

    If you want to change the text in a PDF document, you will need to use Acrobat. You can download a free Acrobat www.adobe.com/products/acrobat.htmltrial, if you want to test.

    Best,

    Sara

  • How to read the two columns of data from the Port series

    Hello

    I'm reading two columns of data from the serial port.

    Example:

    52439 52430

    52440 52437

    52209 52214

    51065 51070

    52206 52390

    I use the serial of Visa service and I can read the first column of data from the serial port, but I can't understand how to read the second column.

    I want to both sets of chart data.

    I enclose my VI.

    Thank you for your help.

    The analysis of string function takes a "Format string" on top (with the right button of the function and choose Help, which explains all the entries).  In particular, you can say 'Give me two numbers separated by a tab' and the output will be two numbers (whole or floating, depending on the chosen format).  In particular, %d\t%d specifies a decimal integer, , whole decimal.

  • Don't know how to read the results of netstat EI s list? If I received 860592506 bytes sent from 43421482 how to convert MB? And does this mean byte received?

    Don't know how to read the results of netstat EI s list? If I received 860592506 bytes sent from 43421482 how to convert MB? And does this mean byte received?

    Hello

    This shows the total number of bytes transmitted and received via the Ethernet card. This is the total of the amount of use up to this day.

    This includes all the Web sites you have visited and emails you sent, etc..

    You can calculate using one of the following methods:

    Method 1:

    860592506 / 1048576 = 820,72 MB

    Method 2:

    Multiply 860592506 with 9.53674316 * 10 ^-7 that will give us the result in mega bytes.

    860592506 bytes = 820 MB 9MB not, accept my apology for the miscalculation.
    Similarly 43421482 acroos = 40MB

  • How to type vertical text from the bottom up with the right orientation for a graph?

    How to type vertical text from the bottom up with the right orientation for a graph?

    Hello! Below, I'll demonstrate how to have vertical text in two different ways.

    Example 1:

    1. below, I have a graph and want to label the vertical axis.

    Select the text tool, and then the Vertical text tool.

    2 with the vertical Type tool, I tap on my vertical label.

    3 with the move tool, then I can orient the text in a position desired, as shown in the examples below.

    If this isn't the desired orientation of the vertical type you would like. I have the example 2 below.

    Example 2:

    1. After typing my text vertically with the Vertical Type tool (in example 1), I want to move to a horizontal position. I can go up to the options panel and select the icon "show/hide text orientation", surrounded by below. It will pass the text back and forth between vertical and horizontal.

    2 after the passage of the text to be horizontal, I want to change the orientation of the text, so it is aligned with my vertical axis.  Go in Edit > transform > Rotate as shown below.

    3 you want to can Rotate the text as indicated below.

    4 text is not in the right position we want, so we have to move the text, as illustrated below. Press enter/return to perform the complete transformation.

    5. the text is shown below.

    Other links:

    Please post back with any questions,

    Janelle


  • How to put the text in the cell and support in detail in read-only?

    Hello world

    In Hyperion 11.1.1.3, nobody knows how to put the text in the cell and the support of the details read-only after that the budgeting process is done in order to avoid people to change their comments.

    Thank you!

    Published by: Ouizmie on February 3, 2011 11:14

    There is no way to restrict the entry of text in the cell
    If you specify the description to charge you like details in support, which can be made read-only.
    but cell text comments to review, which can be changed. Even if you only read your form, users will be able to enter the text in the cell as long as they have access to the intersections of data...

    You can do a process to enter the descriptions of the charges, as supporting details only...

  • How to read the value of the javascript component text entry

    Hello

    I need to add ' / ' after user entering the first two characters and before entering the third character of character to the value of input text.
    To meet this requirement, I add a clientListener of type keyPress to input text element.
    My question is how to read the value entered by the user to input text in java script component (the clientListener method).

    I faked my requirement in a sample application @ http://www.easy-share.com/1912896093/format.7z

    Please help solve this problem.

    Thank you
    Kiran

    For setting/getting the value, you can even view:




    function keyPress (event) {}
    component = event.getSource ();

    Alert (Component.getSubmittedValue ());

    {component.setValue ("new value '");}
    ]]>

    Thank you
    Nini

  • I would like to bring to the text from Word (and the web) which is already a hypertext link in InDesign. How can I do it while keeping the links active?

    I would like to bring to the text from Word (and the web) which is already a hypertext link in InDesign. How can I do it while keeping the links active?

    Whenever I have to copy and paste from the web or Word it removes hyperlinks.  And when I try to do in 'Place' ing a Word document in my InDesign project that it retains formatting with it, the rectangles around the text.

    I have the latest version of InDesign.

    Any help is appreciated.

    Copy-paste might not include the shaped. A regular import using square is the best way.

    The rectangles around the hyperlinks are just to indicate that they are links - they do not print, but they appear in your PDF.

    You can delete them by double clicking on the hyperlink in the hyperlinks Panel and select "Rectangle Invisible" as the type.

    In general, Word formatting of hyperlinks - blue text, underline - with a character Style. If you want to remove or change the formatting, all you have to do is to change the character style. My experience, however, is that you need to check all the hyperlinks because no reason apparent, sometimes they appear in the document without the character style.

  • My errased sticker product key and I can't read all the text to reactivate my windows visa. What should I do now?

    My errased sticker product key and I can't read all the text to reactivate my windows visa. What should I do now?

    Hello

    You mean the sticker on the case of the Vista operating system pre-installed from Dell, HP, Acer, Toshiba, etc.) ?

    If you do, you can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

    http://support.Microsoft.com/kb/326246

    And if you have never received a recovery disk when you bought your computer, there should be a recovery Partition on the hard drive to reinstall Vista on how you purchased your computer.

    The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)

    Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.

    Ask them to the proper key sequence.

    And if you do not score a manufacturer of recovery on your hard drive, you should be able to make your own recovery from her disks to reinstall the operating system.

    Go to programs > name of the manufacturer of your computer > then their system or recovery tools software topics for them, depending on how it is formulated.

    If you can't find any reference to it, contact the manufacturer for advice on how to make these recovery disks.

    The methods above resettlement generally do not require allows you to provide a product key during Installation, the recovery process uses the Installation product key factory to activate automatically during the resettlement process.

    See you soon.

Maybe you are looking for