How to buffer data when network goes down

I am not a LabView programmer.  One of the programmers here has written a program which writes data to a network computer.  Unfortunately on occassions where the network has a glitch maybe for a few seconds or even a fraction of a second. the program will lose all of the data which it was writing.
Is there anyway in which they could write the program so that it would buffer the data and save it else where.

TCP is designed to handle small network outages automatically. You should not need to worry about loosing data unless the outage is excessive or you are using a stateless protocol such as UDP instead of TCP. Just make sure you are using a single TCP connection for the entire communication.
If you use UDP, buffering will involve some code to make sure that only lost segments get retransmitted. You could do some out of band communnication (e.g. on a second port) so the two sides can detect network glitches and keep each other informed.
This will not be easy unless you know some LabVIEW, though.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • When i use the AE2 as an extra wifi point and put the plug in from Time Capsule than the total networks goes down. what do I wrong?

    When i use the AE2 as an extra wifi point and put the plug in from Time Capsule than the total networks goes down. what do I wrong?

    When i use the AE2 as an extra wifi point and put the plug in from Time Capsule than the total networks goes down. what do I wrong?
    You likely first configured the AirPort Express to "extend a wireless network" using wireless only, correct?
    If yes, you cannot then connect the AirPort Express using Ethernet....that will crash your network.
    The Express must be configured to "create a wireless network".  AirPort Utility will do this for you automatically, but you will first need to perform a Factory Default Reset or Hard Reset on the AirPort Express and then start over with the configuration again.
    Connect the Ethernet cable to the Express before you open AirPort Utility. Post back if you need more tips on how to set this up.

  • How to decrypt data when you can't get the private key in Windows?

    I'm very confuse. My english is poor, but I try to say my question clearly.
    When browser connects to a https website which needs client certificate to authenticate the identity, the browser will send client certificate to web server.
    Then the web server will use the certificate to encrypt some data and send it to browser.
    Then broswer should have private key to decrypt that.
    But as I know, if I install a pfx format personal certificate, I can set can't export private key, which means you can't get the private key to use it. So how can
    the browser decrypt the data without private key?
    By the way, what is CSP, use CSP's interface can we use CryptoAPI
    to decrypt data without private key?

    Answer for question is  "you cant".. 
    "How to decrypt data when you can't get the private key in Windows?"
    Read more 
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa387460(v=vs.85).aspx
    http://msdn.microsoft.com/en-us/library/windows/desktop/bb427432(v=vs.85).aspx
    http://technet.microsoft.com/en-us/library/dd277320.aspx
    http://en.wikipedia.org/wiki/Public-key_cryptography

  • Formula automatically populate the date when inventory goes to "zero"

    Hello- I am trying to create a formula that will automatically populate the date when inventory goes to "zero".
    Date: Row 3 Columns P-AB
    Inventory: Rows 5-400 Columns P-AB
    Column J rows 5-400 is where I want the inventory run-out date to auto-pop
    with so many rows of data, where stock goes to "O" will clearly vary per row. I want this formula, to look between Col. P-AB and tell me in Col. J when my inventory goes to "zero"
    Thank you!

    Thank you for your reply...using your formula, I'm still not coming up with inventory run-off date from row 3.
    I need Column J to give me the date when my inventory is "0".

  • Auto start of db when it goes down

    Is there any way using script to start database when it goes down due to some unexpected reason on windows platform?
    Oracle 10g
    Windows 2003 Server

    Hi,
    Create your own batch script that does the below things
    1) Make a connection to Oracle to see if database is up.
    2) If not then start the database.
    I would be better checking why Oracle database is going down too frequent rather doing auto start.
    Regards
    Anurag Tibrewal.

  • L2TP script to initiate a router reload when tunnel goes down - working

    Hi,
         Just thought I would post a working EEM script on doing a router reload when the L2TP tunnel goes down....
    I am using a 3825 router to initiate a site-to-site tunnel with a 3rd party vpn service - StrongVPN.  On the odd occasion when the tunnel goes down, the l2tp tunnel state goes to "no session left" and the virtual-ppp1 interface - which is tied to the l2tp vpn - goes down.  Unfortunately, because I have no control on the far end router, the only way to bring it back up is thru a router reload....
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Jason

    Hi Arie,
         So, here is the script I am using....
    When the L2TP tunnel goes to "no sessions left", the virtual-ppp1 interface goes down.  That's the typical message I get when it goes down.  So, when I reboot the router, the script shows the message that the virtual-ppp1 interface is up when the L2TP tunnel comes up.  I checked the debugs and that is the behaviour when the tunnel goes up / down...
    Here you go:
    event manager applet L2TP-DOWN
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to down"
    action 1.0 syslog msg "The L2TP VPN is down"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload in 10" pattern "confirm"
    action 1.3 cli command ""
    action 1.4 syslog msg "EEM scheduled reload in 10 minutes"
    event manager applet L2TP-UP
    event syslog pattern "%LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-PPP1, changed state to up"
    action 1.0 syslog msg "The L2TP VPN is up"
    action 1.1 cli command "enable"
    action 1.2 cli command "reload cancel"
    Thanks.

  • Why no exception to DownloadService.loadPart Function when network is down?

    The function call to loadPart(jarlist, lisenter) hangs ( no exception) when network is down. This is not happening always.
    I am using in following manner
    DownloadService service = (DownloadService ) ServiceManager.lookup("javax.jnlp.DownloadService);
    service. loadPart(jarList, listener);
    I have tried reproducing this issue by making the network download but not able to reproduce but it has happened couple of time randomly.
    kindly help me and provide the solution if somebody has some information about this issue..
    Regards,
    Piyush

    Calling BasicService.isOffline() could be a good preliminary test. Anyway I guess DownloadService relies on HttpURLConnection, you could try playing with default timeout.
    Bye.

  • How to handle error when in middle of processing of data, target DB goes down

    I have large amounts of data ( for e.g.- 1000 records). It is writing to a DB target table. At the middle of processing of 500 th record, target DB goes down.
    What will happen to the data after 500??
    In which table will the data after 500 th record be stored?
    After target DB comes up how will the data( from 501 th record) be fetched so that no data loss takes place..
    Thanks,
    Anindya

    Anindya,
    ODI's performance is pretty good, because in fact there is no "ODI Performance". The performance will be as good as your enviroment performance + a good load strategy. I've been working in several ODI projects with gigantic volumes, with no performance issues.
    There is no such thing as "remaining un-inserted data". All data being inserted remains in the I$ table until the end of the process. ODI does not automatically control inserted/uniserted data, so, be carefull if you will implement a commit in your process. You will have to implement your process in order to flag the data that has been comitted, and where clauses to ignore them when the load is aborted/restarted.
    Also you will have to use a row-by-row processing which will dramatically decrease your performance.
    Please let me know if that helps!
    []'s

  • How to schedule a service to run before network goes down

    Hi
    I wrote a new smf service and added it to the repository.
    When running with "stop" (when the system goes down) it sends an alert to another machine.
    My question is :
    How can I schedule that service to run just before network services go down?
    another question, how can I schedule another service to run just BEFORE system is getting down?
    Many Thanks
    --me2unix                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Dependencies appear to be really written and tested on the boot side, but they should work properly going down as well.
    My first assumption is that you'd make a dependency on the network for your service. So it should be started after the network starts, and will wait for your service to quit before trying to shut down the network.
    Now this would only apply to normal shutdowns. Also, there are mulitple services on the box that have network affects. You may need to read through several to understand their purpose and interaction to pick the correct one for your use. Probably the milestone/network will be the best choice.
    Darren

  • SLP Directory Agent (port 427) - internal network goes down

    Due to some VPN problems with corporate headquarters, I had to switch out my current firewall (Instagate EX2) with a new SonicWall. Whenever we tried to switchover to the new SonicWall, my entire internal network went down. I was not able to login to the different Xserves for their appropriate services. Examples included the email server, FTP server, and a special application server we use for news editing. All Xserves run OS X Server 10.4. Our clients range from PowerMacs to Mac Minis and Mac Pros - all running OSX 10.4 with a few running 10.3. Symptoms of problems include when trying to connect to the email server, it just sits saying "Connecting to 10.1.2.x...", same thing for the FTP services. The newsroom software, that usually takes a 1 - 2 seconds to log into, then takes 45 seconds or so. Several techs looked at the problem without any suggestions about what to do to fix it.
    We have a Juniper Netscreen router provided by our ISP that connects to the Instagate firewall and to the network itself. Upon looking at the logs, it was discovered that the OS X stations IPs were using a port 427 - which is used by SLP. One of the techs said that is what is taking our network down when we disconnect the Instagate router from the network (because it evidently is passing this SLP traffic onto the Netscreen router). So when the Netscreen router comes off the network, none of the services on the Xserves work because of this. They said I needed to disable the port 427 on the Netscreen, but if I do this, isn't this having the same effect as taking the network down. Then it was told to me to setup a Directory Agent to handle this traffic. But they didn't provide any instructions to me on how to setup this up on the network or on OS X Server.
    Does anyone have any guidance or suggestions regarding this?
    Thanks,
    G

    I had the ISP's tech in today with proper network analysis software to see what's going on.
    We discovered that it is not SLP that is causing problems as one tech had suggested. Anytime that the internet access was disconnected from the network, the access to services on the OS X Servers go down or are extremely slow. So we began to look at the DNS entries and realized if we removed DNS then the servers refused access, if DNS entries were made (using OpenDNS), then the servers work.
    For example, we use the mail server component of OS X Server 10.4 for our email services. We cannot access the internal server (via IP) without the XServe having an entry in DNS. Put in OpenDNS servers, and things work like they should. The same scenario applies to any services (FTP, NewsEdit, etc.) that's on the OS X Servers. I guess what I'm not understanding is why does everything work internally as long as the OS X Servers have something listed for DNS - even though the DNS is an external DNS IP? Because it is external outside of the network, it's not like the mail server or clients are resolving the private IPs (which there's nothing to resolve since use IP numbers for connection purposes).

  • JMS Exception when server goes down (Urgent) ?

    Hi All,
    I have three topics in the JMS Server which is on the top of Web logic server 8.1.
    On the client side I have Swing thick cleint.For each topic I have a listener.
    When the web logic server goes down ( I shut down manually ) Only one listener is recieving the Exception and the Swing client reacts accordingly.
    After this ,
    Client continousoly checks whether the server is up or not. Once the server is up again the Exception is thrown that server is down ( I guess now the second listener is recieving the message).
    After some time again the third listener recives the message.....
    and the client reacts on that exception 3 times.
    How can I get rid of this ?
    thanks in advance.
    san

    Hi,
    this is probably a very good question to ask support. 'Logical' deployment sequence
    was added to the WebLogic only recently (6.1sp?) ('logical' means that first datasources
    are deployed, then EJB's and then web-apps, deployment-order parameter was added etc).
    So, for applications where shutdown sequence is important there must be a document which
    describes how server shutdown works.
    On the other hand, this may not be as important as deployment sequence, because running
    instance can crash at any time and it should not affect anything.
    Jen <[email protected]> wrote:
    Repost
    Hi,
    Most of my ejbs use connection from the connection pool. At the weblogic server shut
    down time (heavy load), I can see the jsps call the ejb, sometime jsp can't find
    the bean because it's removed from jndi. sometime jsp found the bean but when the
    bean try to talk to database, ejb can't use the connection because the datasource
    is removed from jndi. Also my shutdown class waits for the threads finish up, and
    the threads calls the ejb and do the db operation, and the conn is cut when the db
    operation is half way. So, the order of events when server shut down is important
    to me. I am wondering how other people deal with it. Thanks --
    Dimitri

  • WLAN goes down when WAN goes down

    Hi
    I have 4 AP with EAP enabled. The authentication servers are located globally and the authentication request goes to the server situated in another country. My problem is that when my WAN goes down my WLAN also goes down immediately. Does the AP communicte with the server even after authentication, Atleast after authentication it should keep my authenticated machines in the network
    any help is appreciated
    ashish gupta

    if you use a Cisco ACS server, click on "Interface Configuration" and "Radius (Cisco Aironet)" Make sure that "Aironet-session-time" is checked.
    Then, you can change the session timeout in user or group level.
    Other ways to resolve the problem:
    1. install redundant links to the site
    2. configure a second radius server on all access point. The second radius server can be one of the APs locally. If you configure "radius-server deadtime ?", the AP will not communicate to the radius server for a period of time if the radius server does not respond for 3 times. Of course, you have to populate the centralize user database to a number of APs.

  • How to backup data when hard drive is failing.

    I think my hard drive is failing..
    I booted using Install DVD, and got message in Disc Utility that "this drive has a hardware problem that can't be repaired." It mentioned I should backup data and consult apple representative..
    I clicked on Macintosh HD under the red physical drive (500.11 GB Hitachi HTS) and did disc repair.
    Strangely, the message went away on the physical drive when I finished.  It turned back to black wording and gave green "verified/repaired" messages in the log.
    I am still able to boot my macbook, although everything is running slowly... Desktop excel files take 15 mins to open.
    Does this still sound like a failing hard drive?
    I am trying to act fast and borrowed my sister's external harddrive/ "passport for mac", and it slowly prompted a time machine backup. It is slowly working through "8.34GB of 200.33GB"
    I do not really understand what I am doing, but hoping this is the right move. Could someone explain what time machine will do or how it will help?
    Is there any chance I will harm her external hd?
    I am mostly worried about iPhoto and itunes library, iMovie projects,and important excel spreadsheets on my desktop. Is time machine looking after these concerns?
    Any help greatly appreciated.

    Where is you TM backup?
    Where are your external data redundancies?
    Now you will need to use very expensive data recovery experts to recover data when you could have had it safely on a $100 worth of 2 external HD.  
    Mechanical HD failure circumvents using recovery software.......so,  now you backed yourself into a corner and needed expensive data expert recovery.
    You took a wrong turn a long while back before reaching this cliff edge.
    that wrong term was not having (preferably 2) external HD as a redundant data archive.

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

  • How to preserve data when converting a Standard DSO into a Write Optimized

    Hi,
    I'm looking for proven strategies for preserving data when converting a standard DSO into a write optimized DSO. The data has to be dropped before the new DSO is transported into the environment.
    1. The DSO is currently in synch with a cube,
    2. The PSA does not have all the data which is in the DSO.
    3. Data volume is incredibly high for a full reload from ECC, so we'd like to avoid that option.
    Appreciate any help!

    Hi Gregg,
    have you considered just deleting the data? I know that sounds simple, but it might be a valid solution.
    If the DSO is just receiving new data (e.g. FI documents), you can continue to deliver a logically correct delta to the cube.
    Should that not be possible and you really want all data that you currently have in your DSO1 in the write optimized future of it, then how about this:
    - Create a new DSO2 same structure as DSO1
    - Load all data into that
    - Delete all data from your DSO1 and import the transport to make it write optimized
    - Load all data back into you now write optimized DSO1 from DSO2
    The problem you have then, is that all data that you have already loaded into your cube is due to be delivered as a delta from DSO1 again.
    Depending on your transformation / update rules that might or might not be a problem.
    Best,
    Ralf

Maybe you are looking for

  • Using a HH2 as wireless bridge

    Help required please, when I've upgraded to Infinity, the HH2 from my ADSL+ was left, can this be used to link my Sony Bravia TV and Blu-ray to my network for streaming / firmware upgrades etc?? Sorry if this has been dealt with before on here, I've

  • Unescaping Characters (URGENT and IMP)

    Hi I have an urgent and pressing need to solve this. I am reading the DB, a string which is basically an HTML page, and contains single and double quotes. sc_html is the JSP variable name. Now I have a javascript function being created through the JS

  • How to deinstall Final Cut Studio?

    How to deinstall Final Cut Studio

  • Budget organisation have been deleted

    Hi, I love your forum, helped me a lot. I have a question, one of my co-workers have deleted the organisation in General ledger budget organisation. General Leger ---> Budgets : Define ----> Organization He went there and deleted the organisation acc

  • Clone install for reimaging?

    Hi, I need to reinstall Windows and I wonder if there is a quick way to save EVERYTHING I have changed in Photoshop CS6, so my new install is exactly like my old one. This actually includes a software update, but I can apply that manually if needs be