How to create a progress bar showing status on timeout of TCP Read function

Is there any way of creating a progress bar showing the status of a 'TCP Read timeout' time ... ?
I'm sending a data request to an intranet server via TCP Write, and then using TCP Read with a 2 min. timeout to receive the requested data. During this time i want to show the actual progress of the timeout in a progress bar.
Can this be done?
And do i have to implement some kind of multitasking to make it happen?
TIA

Soulstorm wrote:
> Is there any way of creating a progress bar showing the status of a
> 'TCP Read timeout' time ... ?
>
> I'm sending a data request to an intranet server via TCP Write, and
> then using TCP Read with a 2 min. timeout to receive the requested
> data. During this time i want to show the actual progress of the
> timeout in a progress bar.
> Can this be done?
> And do i have to implement some kind of multitasking to make it
> happen?
It can be done and you need to do some multitasking yes, but that is
quite easy in LabVIEW. A separate loop or subVI with loop will be
responsible for the progress bar. Set its scale to 0 and the number of
seconds of your timeout. In parallel to the TCP Read let this loop or VI
execute reading the time every few
seconds and calculating the
difference to its start time, passing this value to the progress bar
slider. Have an extra boolean global which aborts the loop and set this
boolean to FALSE before starting the loop/VI and TCP Read and setting it
to TRUE on return of the TCP Read.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How to create/set progress bar for loading flash intro

    Hi,
    I am having a falsh intro for my website.
    But its taking time to download and play the intro when we try to access it.
    I have seen many sites with progress bar indicating the status on the downloading of flash items.
    Can anybody please tell me how should I go about this?

    You can make a simple loader, it's a visual cue so your users wait for a moment.
    Try this, get a GIF from one of these site: http://www.google.com/search?hl=en&client=safari&rls=en-us&q=loading+gif&btnG=Se arch
    download it and name it as loader.gif
    add it to you page, and add the following to the page using HTML Snippet:
    <script type='text/javascript'>
    var timerCount = 0;
    var delayTimer = 5; // change this for the duration to show the loader.gif
    var loaderName = 'loader.gif';
    function stopLoader() {
    _imgs = parent.document.getElementsByTagName('img');
    for (ji = 0; ji< _imgs.length; ji++) {
    if (_imgs[ji].src.indexOf(loaderName) != -1) {
    loaderElement = _imgs[ji];
    break;
    if (timerCount == delayTimer) {
    loaderElement.style.visibility = 'hidden';
    clearInterval(_stopLoader);
    timerCount++;
    parent.iWLog(timerCount);
    _stopLoader = setInterval('stopLoader()', 1000);
    </script>
    BTW, here is an example: http://hdl.50webs.com/Sample/Blank.html

  • How long will the progress indicator spin before safe mode progress bar shows up?

    How long will the progress indicator spin before safe mode progress bar shows up?

    Not a good sign,  your HD is failing or has serious block problems. It might be possible to reformate the drive and start over.
    or something more agressive to do the repair, like Disk Warrior http://www.alsoft.com/diskwarrior/
    You need a backup plan in place here.
    more information here in a similiar thread:
    https://discussions.apple.com/message/17623074#17623074

  • How can i use Progress bar in IR Report

    Hi ,
    I have created IR Report based on the View so, it's been taking 10-15 mins of time to execute the IR Report. Here user want to see the Progress bar while executing the IR Report. How can i use Progress bar in IR Report.
    Anybody have idea on Progress bar please help me.
    Regards
    Narender B

    Hi ,
    Thanks for your information.
    I am new to the APEX.*i need to show Progress bar while opening the each page* then user can know some process is happening from the backside and i don't know where i need to add and call the below function.could you please provide the steps for the progress bar.
    In my application there are almost 100 pages are there so, i need to show progress bar on each page while opening .could you please provide Global function to call on each page.
    function html_url_Progress(pThis){ 
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    //doSubmit('APPLY_CHANGES');
    redirect(pUrl);
    Regards
    Narender B

  • How to stop the process chain showing status as yellow but no process step

    Dear Friends,
    How to stop the process chain showing status as yellow but no process step is running in that process chain.
    We have manually triggered the process chain for sales it finished successfully till load data but the next step is create index and DB statistics. Both of this steps are in unscheduled position only and no background job for this.
    Please guide me.
    Thanking you in advance.
    Regards,
    Shubhangi

    Hi,
      At times even I have faced this situation.  During those times, running the Function module RSPC_PROCESS_FINISH by passing the right parameters came to my rescue.
    Regards,
    Raj

  • How to create 2 scroll bar in 2 canvas

    Hello All,
    I will appreciate if somebody knows how to create 2 scroll bars in 2 Content canvases and all items text item belongs to one data block.
    In data block property it shows only one scroll bar. Their is no property of scroll bar in canvas.
    Regards,
    Atif

    Go to the layout editor.
    Take the Stacked canvas tool in the toolbox
    draw a stacked canvas on the content canvas (the stacked can could be larger than the content one)
    edit you item properties to display on the content canvas
    adjust the window to the same width and weight properties than the content canvas.
    The simplest way it to use the datablock wizard to create the data block, then indicate to show items not on the content canvas but the stacked canvas.
    Francois

  • Script : How to add a progress bar to XMP Writing script ?

    Hi !
    I have this script that works flawlessly but when i execute it on big video files ( > 1GB) bridge doesn't repaint and it looks like it's stuck. I would like to have a progress bar showing % remaining on the task and the name of the file being treated. Can someone point me into the right direction as my adobe scripting knowledge is not that great.
    #target bridge  
    if( BridgeTalk.appName == "bridge" ) { 
    descToTitle = MenuElement.create("command", "Log Comment to Description", "at the end of Tools");
    descToTitle.onSelect = function () {
               if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
               var thumb = app.document.selections;
               for(var s in thumb){
                         if(thumb[s].hasMetadata){
                                            var selectedFile = thumb[s].spec;
                                            var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
                                            var myXmp = myXmpFile.getXMP();
                                            var LogComment = myXmp.getProperty(XMPConst.NS_DM, "logComment");
                                            myXmp.deleteProperty(XMPConst.NS_DC, "description");
                                            myXmp.appendArrayItem(XMPConst.NS_DC, "description", LogComment, 0, XMPConst.ALIAS_TO_ALT_TEXT);
                                            myXmp.setQualifier(XMPConst.NS_DC, "description[1]", "http://www.w3.org/XML/1998/namespace", "lang", "x-default");
                                            if (myXmpFile.canPutXMP(myXmp)) {
                                            myXmpFile.putXMP(myXmp);
                                            myXmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
                                             } else {
                          xmpFile.closeFile();
    Thx in advance for helping me !

    I am using this progress bar on bridge. I don't remember who gave it to me time ago.
    Anyway I have adapt it to your script:
    #target bridge  
    if( BridgeTalk.appName == "bridge" ) { 
    descToTitle = MenuElement.create("command", "Log Comment to Description", "at the end of Tools");
    descToTitle.onSelect = function () {
        if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
        var thumb = app.document.selections;
        var progBar = new createProgressWindow("Work in Progress", "Please wait", false);
        for (var s in thumb) {
            if(thumb[s].hasMetadata) {
                var selectedFile = thumb[s].spec;
                var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
                var myXmp = myXmpFile.getXMP();
                var LogComment = myXmp.getProperty(XMPConst.NS_DM, "logComment");
                myXmp.deleteProperty(XMPConst.NS_DC, "description");
                myXmp.appendArrayItem(XMPConst.NS_DC, "description", LogComment, 0, XMPConst.ALIAS_TO_ALT_TEXT);
                myXmp.setQualifier(XMPConst.NS_DC, "description[1]", "http://www.w3.org/XML/1998/namespace", "lang", "x-default");
            progBar.updateProgress (Math.floor((Number(s)+1)*(100/thumb.length)), "Waiting, " + Math.floor((Number(s)+1)*(100/thumb.length)) + "% completed.");
            if (myXmpFile.canPutXMP(myXmp)) {
                myXmpFile.putXMP(myXmp);
                myXmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
            } else {
                xmpFile.closeFile();
    function createProgressWindow(title, message, hasCancelButton) {
        var win;
        if (title == null) title = "Work in progress";
        if (message == null) message = "Please wait...";
        if (hasCancelButton == null) hasCancelButton = false;
        win = new Window("palette", "" + title, undefined);
        win.bar = win.add("progressbar", {x: 20,y: 12,width: 300,height: 20}, 0, 100);
        win.stMessage = win.add("statictext", {x: 10,y: 36,width: 320,height: 20}, "" + message);
        win.stMessage.justify = 'center';
        if (hasCancelButton) {
            win.cancelButton = win.add('button', undefined, 'Cancel');
            win.cancelButton.onClick = function() {
                win.close();
                throw new Error('User canceled the pre-processing!');
        this.reset = function(message) {
            win.bar.value = 0;
            win.stMessage.text = message;
            return win.update();
        this.updateProgress = function(perc, message) {
            if (perc != null) {
                win.bar.value = perc;
            if (message != null) {
                win.stMessage.text = message;
        return win.update();
        this.close = function() {
            return win.close();
        win.center(win.parent);
        return win.show();

  • Create a progress bar DeskBand

    sh to create a progress bar deskband, in order to display a progress bar in windows taskbar. I wish to display the progress bar horizontally and the same width as the taskbar.
    Can someone please tell me how to create a taskbar deskband, in order for me to use it as a reference?
    If you could please give me an example, I would greatly appreciate it.
    Thanks.

    Hi Nando88
    I am not completly sure about if I completely understood your question, however, I found this in the community, and I think it might be usefull for you.
    https://decibel.ni.com/content/groups/ui/blog/2009/12/24/using-windows-7-taskbar-progress-bar-from-l...
    Could you please let us know if this is what you were refering to?
    Thanks!
    WenR

  • HT1339 In stage 9 my iTouch shows the apple and a stuck progress bar showing about 10% completion.  This after 1/2 hour.  What now?

    In stage 9 of Restore my iTouch shows the apple and a stuck progress bar showing about 10% completion.  This after 1/2 hour.  What now?

    Refresh my memory as to what stage 9 is? Does the staus bar say anything else?
    Maybe this:
    Hang during restore process
    Following Troubleshooting security software will frequently resolve this issue. This issue can be caused by the default packet size being set incorrectly. There may be third-party software installed that modifies the default packet size in Windows by inserting a TcpWindowSize or MaxGlobalTcpWindowSize entry into the Registry. Contact the manufacturer of the software that installed the packet-size modification for assistance in adjusting this TcpWindowSize values. Typically the default packet size is modified by 3G cellular network card software, ISP communication software, or Internet speed download optimization software. There are legitimate reasons to change the TCP/IP packet size and not use the Windows default settings (for example, network traffic optimization, home/broadband optimization, enterprise app optimization such as database apps, Exchange, and more). Deleting the "TcpWindowSize" or "GlobalMaxTcpWindowSize" entries in Windows Registry could affect the system's performance with other apps or on their network connections. Deleting the customized TCP/IP settings may require the reinstallation of any third-party applications that had modified the TCP/IP settings from the Windows default settings.
    There are two ways to resolve this:
    You can follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) , or follow the steps below to manually find and remove TcpWindowSize and MaxGlobalTcpWindowSize entries from the Registry.
    For Windows XP, Windows Vista, Windows 7: Go to the C:\Windows folder and launch regedit.
    Go to Edit > Find.
    Search for "TcpWindowSize" entries. There are typically multiple entries of TcpWindowSize/GlobalMaxTcpWindowSize spread throughout the entire Registry. If "TcpWindowSize" exists, one or more third-party applications have changed the user's default Windows settings for TCP/IP.
    Go to File and select Export. This step will export a copy of the Registry that can be used as a backup of the original settings.
    Delete the "TcpWindowSize" entry.
    Search for the next "TcpWindowSize" entry and delete each one until the Registry no longer has any "TcpWindowSize" entries.
    Close Regedit, restart the PC, and test.
    If you are uncertain as to why these registry entries exist and the PC is a business computer, contact your network administrator and determine what values TCP/IP can be set in their Windows Registry setting so that the PC can update or restore an iOS device rather than deleting the "TcpWindowSize" entry.
    If editing the registry does not resolve the issue, restoring on a different computer that did not install the communication software is the step most likely to resolve this issue.

  • How to create an applet that shows a pdf as non-editable.

    Hi friends,
    Does any one know how to create an applet that shows a pdf document (should make that pdf a non-editable one) while clicking a link.Its urgent for me as I have to complete this one tomorrow itself...please help me...
    I am able to view the pdf document but that cannot be make a non-editable one.
    Can anyone gave me the code for that one....please I am not very much good in Java.

    PDF is a proprietary format and Java doesn't support it by default. Are you using a 3rd party tool to create the PDF? If so, you need to review the developer docs to see how to make the document non-editable. Frankly, I don't see why you're using an Applet to view a PDF in the first place. What exactly are you trying to do. I'm confused.

  • How to create simple scroll-bar table dashboard in Excel 2003?

    How to create simple scroll-bar table dashboard in Excel 2003?
    Pl mention from step 1 as I am new to this 

    Hi UltraDev,
    We discuss SQL Server PowerPivot for SharePoint related issue in this forum. In your case, I suggest you post the question in the following forum for better support:
    Excel IT Pro Discussion:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Elvis Long
    TechNet Community Support

  • How to create a form and show it as a modal window in VB6?

    oform.modal  -> modal is read-only property
    help,please.

    Hi Santiago!
    HTH: How to create a form and show it as a modal window?

  • Is it possible to create a Progress Bar?

    Hi All,
    Is there any way to create a Progress Bar in a Form?
    John

    You can create your own progress bar form using Visual Basic.  Display your progress bar form with the always on top flag set with an API call.
    I've done this and I use it a lot because I have found that there is no other way to indicate to the user that a lengthy process is executing.

  • How to create a navigation bar with custom made buttons?

    I'm used to work with a similar program as Muse. In there we can create a single button and link them together into a navigation bar. I have tried all sorts of tutorials but none of them is discussing this possibility.
    To summorize. The idea is to create a button in photoshop and to use this as a theme to build a navigation bar. Possible or not and how? Thanks for assistance. Rgds Rufin

    Hi Brad,
    Thanks for your reply.
    No, not really. I used to work with XARA up till now. And being an Adobe Cloud user I think it a bit silly using two different systems. In XARA I can create a custom button and turn them into a navbar. For your information I include a few links to sites I created with Xara and I would like to know if I can create the same type of navbars with Abobe Muse. I already found out that all the other functions are available and some work a lot better in Muse, but I’m stuck on the navbar issue. I know I can create a button in Adobe PS and use it in Muse. But I didn’t manage to figure out how to create a navbar in Muse on basis of a button created in PS.
    www.restaurant-cedric.be or www.discoamigo.com or www.radioparadijs.be
    Grtz,
    Rufin
    LOGO-RUFIN'S-REISBUREAU-outlook
    Koningslaan 36 – b31
    8300 Knokke – Heist
    Tel: 050621052
    Fax: 050621072
    e-mail:  <mailto:[email protected]> [email protected]
    <http://www.rufins.be/> http://www.rufins.be
    <http://www.travelcoop.be/> travelcoop_logo_2013[1]  <http://ferventreisagent.be/rufins-reisbureau> klein logo
    Van: Brad Lawryk
    Verzonden: zondag 12 oktober 2014 19:40
    Aan: RUFIN DUWEL
    Onderwerp:  How to create a navigation bar with custom made buttons?
    How to create a navigation bar with custom made buttons?
    created by Brad Lawryk <https://forums.adobe.com/people/Brad+Lawryk>  in Help with using Adobe Muse CC - View the full discussion <https://forums.adobe.com/message/6817739#6817739>

  • I purchased Lightroom 5 in December 2014.  It was my understanding that I would get free upgrades when new versions come out.  I attempted to download LR 6 and it said that the download was happening but there was no progress bar showing.  I left the down

    I purchased Lightroom 5 in December 2014.  It was my understanding that I would get free upgrades when new versions come out.  I attempted to download LR 6 and it said that the download was happening but there was no progress bar showing.  I left the downloading screen open for 3 hours but nothing happened.

    Robert,
    You can purchase Lightroom 6 as a part of the creative cloud photography package, part of creative cloud, as a stand alone product or as a product upgrade.
    If you purchased lightroom 5 as a perpetual product rather than the creative cloud, you would need to purchase an upgrade to Lightroom 6. Udpates are free for stand alone versions, but upgrades need to be purchased.
    If you need to purchase an upgrade to a perpetual license that you downloaded or purchased at a store, see this link: Products .  Scroll down to lightroom and click "buy". Click on the selectable text by " I want to: "and select "upgrade".
    If you are trying to install Lightroom CC 2016 as a part of a creative cloud subscription, you should be able to download and install Lightroom CC 2015 from the Creative Cloud site. Since Lightroom CC is a new product, it will not show as an update in the Adobe Application Manager. Instead, press the  install button next to Lightroom in the Application manager. If you don't see "install" by Lightroom in the application manager, please first try signing out and back in: sign in and sign out of the Creative Cloud desktop app
    If you still have issues, see option 2 in this link:
    Lightroom doesn't launch or quits automatically after splash screen
    Regards,
    Pattie

Maybe you are looking for

  • How can I send photos via email using play memories online

    Hi...I'm unable to email my photos...can anyone help me please. I log on, drag my photos over click on upload...and it goes south from there

  • Add midnigh time to a date

    Hi, <cfset endDate = DateAdd("d", 1, endDate)> this will add one date into the endDate.  Instead of add one date, i want it to add the midnigh time to the endDate. such as: 2012/10/01 23:59:59 i had tried this <cfset endDate= DateAdd("ms",86399997,en

  • DSN code 5.1.1 in Exchange Online delivery failed

    I've seen many questions about this error and can't seem to get a suitable solution for my situation, I attempted to install office 365 in a hybrid mode and abandoned the attempt after having various issues. I removed all connections and configuratio

  • Solaris 10 Memory and Ldoms

    Hi Got a problem installing in a Guest Ldom on a T5120. I made the DVD ( Solaris 10 5/09 ) avaliable as a virtual disk and booted from it. I used the same media installing the controller Ldom. Did'nt get any problems with it. I allocated 512MB Memory

  • ITunes Store Downloads

    Hi! I have a problem. I have some TV shows downloaded already, and everytime I sync my iPod, I am prompted to enter my Apple ID info to check for downloads. My problem is that I already have downloaded what iTunes is trying to download. Does anyone k