This never ends, awful just terrible.

Let's start with last year.. Had a normal bt broadband, it was awful. Would never connect, the router would start flashing orange lights randomly and just.. A dead case.
After thinking about it I thought to upgrade to infinity, thought maybe the router is faulty or something, maybe it will work.
NOW, a whole year of.. Misery!!! I can't play one online game without having to close it as the internet is lost.
Called up BT India good hundred times, yes my lights are fine, yes te cables are plugged in, and no I'm not gonna cable every internet-needing device in my house, as this is 21st century and I don't want to buy 200M of 10cables!! Firstly it took a whole week of calling for them to put me in a different channel, as people around me were in the same wifi channel therefore it was conflicting and causing problems, but even so now.. It normally goes off randomly and takes a couple of hours to go back up, yeah the internet is still present, but it doesn't load anything, I mean this is a very expensive internet therefore I expected a great service and I do get it when it's working, but when it randomly goes off and I gotta spend literally hours speaking with BT India, it's not appealing at all, worse of all they don't even fix the problem, but recommend another few months of contract so that they could send in engineers and whatnot!
My phone contracted internet at £10, 5x cheaper than the BT infinity MIGHT not be as fast, but it's reliable!! Doesn't randomly disappear, and I don't even need to carry a router around.
Solved!
Go to Solution.

My phone line isn't faulty, I'm sure of it.
I can't run the tests without internet can I? Mind you when I make the connection wired, it's all fine, but then I'd have to sit in my corridor which isn't fine at all.
You make it sound like a prototype, when the broadband doesnt do this little mood swing oh his, the gaming quality is perfect, I couldn't ask for more! Many places at present day have wifi connection, restaurants, hotels and such and non of them expierence this problem, so why do I? Reading from other posts, I can only realise that this is either faulty equipment or congested lines, which is not my responsibility therefore I shouldn't have to worry about it, but what am I doing now?

Similar Messages

  • OMG THIS NEVER ENDS!!!

    Ok so i got the software finally working, but now when i plug in the ipod, you can see it in "my computer" for a few seconds, then it dissapears. Which means i can't put any songs into it since the computer isn't reading it, i guess. OH GOD SOMEONE PLEASE HELP ME BEFORE I OVERDOSE ON TYLENOL PILLS lol!!

    My understanding is that the icon WILL disappear (unless you have your preferences set to "enable disk mode" otherwise, the thing won't stay "mounted" as a drive).This is just how the ipod works. It's not a problem that it "disappears" -- the only way to get to it is through iTunes. I'd say if it's there, then disappears, your computer PROBABLY IS reading it. Try opening iTunes.

  • How to make this never ending loop stop!

    Somewhere in this code where im printing stars, i have a loop that i cant stop from continuing. The instrucitons say set the line<=30 and that i set line = 5 in the for loop. Im supposed to get a pyramid shape of stars made with 5 lines. IT should be adding by 2's at it goes down, such as 1,3,5,etc... Here is a picture of it.
    import chn.util.*;
    public class Pictures
      void printTable(int rows,int columns)
      {   for (int row = 1; row <= rows; row++)
       for (int col = 5; col <= columns; col++)
       System.out.println ( );
    void pyramid (int n)
       int line, spaces, stars, loop;
       for (line = 5; line <=30; line--)
          spaces = line - 1;
          for (loop = 1; loop <= spaces; loop++)
             System.out.print (" "); // print a blank space
          stars = n- line + 2;
          for (loop = 1; loop <= stars; loop++)
             System.out.print ("*");
       System.out.println();
       public static void main (String[ ] args)
          Pictures pic = new Pictures ( );
          ConsoleIO keyboard = new ConsoleIO ( );
          String get;
          pic.printTable (4, 6);
          get = keyboard.readLine ( ); // freezes the output screen to see the picture
          pic.printTable (11,12);
          get = keyboard.readLine ( );
          pic.pyramid (10);
          get = keyboard.readLine ( );
          pic.pyramid(25);
          get = keyboard.readLine ( );
    }

    for (line = 5; line <=30; line--)line will be 5, then 4, then 3, 2, 1, 0, -1, -2, ...
    And you'll keep going as long as it's <= 30. That is, it will stop when line > 30.
    How will line ever be > 30 following that pattern? (Well, it will, when it wraps from Integer.MIN_VALUE to Integer.MAX_VALUE.)
    You need to change your initial value or your terminating condition or your increment step. Up to you to figure out what's appropriate for what you're trying to do.

  • HT1725 i rented "this is the end" and it never fully downloads   just get error msg saying it cant download at this time

    i rented "this is the end" and it never fully downloads   just get error msg saying it cant download at this time

    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and App Store and sign out and sign back in
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings. You will have to rejoin all wifi networks
    - Try when connected to another network
    - Contact iTunes
    Apple - Support - iTunes - Contact Us

  • My FaceTime doesn't work... I would call a person, they would accept, and then I would be stuck in a never ending "connecting".. And this problem has been according with not just my ipad, but with other people's iDevices that I know.

    My FaceTime doesn't work... I would call a person, they would accept, and then I would be stuck in a never ending "connecting".. And this problem has been according with not just my ipad, but with other people's iDevices that I know.
    -My wifi connection is running strong
    -All the devices run the same version of iOS

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Set Up Alert Sounds
    http://www.quepublishing.com/articles/article.aspx?p=1873027&seqNum=3
    Extra FaceTime IDs
    http://tinyurl.com/k683gr4
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Fix Can’t Sign Into FaceTime or iMessage iOS 7
    http://ipadtutr.com/fix-login-facetime-imessage-ios-7/
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    iOS 7 allows you to block phone numbers or e-mail addresses from contacting you via the Phone, FaceTime, or Messages
    http://howto.cnet.com/8301-11310_39-57602643-285/you-can-block-people-from-conta cting-you-on-ios-7/
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457#19087457
    How to watch FaceTime calls on the big screen with Apple TV
    http://www.imore.com/daily-tip-ios-5-airplay-mirroring-facetime
    Send an iMessage as a Text Message Instead with a Quick Tap & Hold
    http://osxdaily.com/2012/11/18/send-imessage-as-text-message/
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    How to Receive SMS Messages on an iPad
    http://yourbusiness.azcentral.com/receive-sms-messages-ipad-16776.html
    Apps for Texting http://appadvice.com/appguides/show/apps-for-texting
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • AdamSync from AD to LDS goes into a continuous never ending loop... can't figure this out.

    I THINK I've got this thing configured up to the point where it should be able to sync.  The XML config is set to just grab a single OU with roughly 12 accounts in it.
    Everything seems to connect OK, then it does a ton of "Processing Entry", even though there are only a few accounts in this OU.
    Then it begins to do "Adding target object..." and gets stuck in a never ending loop.
    Can someone point me in the right direction on how to troubleshoot this?
    This is what the log looks like:
    ==========================
    Adamsync.exe v1.0 (6)
    Establishing connection to target server localhost:6389.
    There is already an active sync session in progress. 
    Please allow the session to complete, or use -mai to seize the role.
    Saving Configuration File on CN=Test,DC=domain,DC=org
    Saved configuration file.
    ADAMSync is querying for a writeable replica of 10.10.10.10.
    Error: DCLocator call failed with error 1355. Attempting to bind directly to string.
    Establishing connection to source server 10.10.10.10:389.
    Using file .\dam9280.tmp as a store for deferred dn-references.
    Populating the schema cache
    Populating the well known objects cache
    Starting synchronization run from dc=domain,dc=org.
    Starting DirSync Search with object mode security.
    Processing Entry: Page 1, Frame 1, Entry 0, Count 0, USN 0
    Processing source entry <guid=94f6d930da2339439df75278a02accae>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 1, Frame 1, Entry 1, Count 1, USN 0
    Processing source entry <guid=bf15bc4b684ece4f99010548e79decb0>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 1, Frame 1, Entry 2, Count 1, USN 0
    Processing source entry <guid=fcea01637658134eab7ec74fe022d4fe>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 35, Count 1, USN 0
    Processing source entry <guid=5e768f4392863b4d86935e6bf01acc25>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 36, Count 1, USN 0
    Processing source entry <guid=b5d263a264aad045b8f42f19b49dd844>
    Previous entry took 0 seconds (16, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 37, Count 1, USN 0
    Processing source entry <guid=f19994051c804846b7bcbd066d9e9d40>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 38, Count 1, USN 0
    Processing source entry <guid=b16cd765bafa4f4d8649d91f0f055e5f>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 1, Entry 39, Count 1, USN 0
    Processing source entry <guid=6be6a7d551978445aafd3803e60dc560>
    Processing in-scope entry 6be6a7d551978445aafd3803e60dc560.
    Adding target object CN=User Name,OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: sourceobjectguid, instanceType, objectSid, sAMAccountName, lastagedchange, objectclass, 
    Adding target object CN=User Name,OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 2, Entry 0, Count 0, USN 53438354
    Processing source entry <guid=bbb4a760a8281741a11d9331efaa3d7a>
    Processing in-scope entry bbb4a760a8281741a11d9331efaa3d7a.
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: objectClass, instanceType, sourceobjectguid, lastagedchange, 
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 3, Entry 0, Count 0, USN 52660067
    Processing source entry <guid=8d3ef319dff31f47819632af2da5df2c>
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 2, Entry 0, Count 0, USN 53438354
    Processing source entry <guid=bbb4a760a8281741a11d9331efaa3d7a>
    Processing in-scope entry bbb4a760a8281741a11d9331efaa3d7a.
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org.
    Adding attributes: objectClass, instanceType, sourceobjectguid, lastagedchange, 
    Adding target object OU=Staff Accounts,OU=Users,OU=ITS,CN=Test,dc=domain,dc=org. Requesting replication of parent.
    Previous entry took 0 seconds (0, 0) to process
    Processing Entry: Page 3, Frame 3, Entry 0, Count 0, USN 52660067
    Processing source entry <guid=8d3ef319dff31f47819632af2da5df2c>
    Previous entry took 0 seconds (0, 0) to process
    ===================================================

    Hi,
    Are there any error messages from the event log?
    Here is a KB article which describes a similar issue below I suggest you refer to:
    Error message when you use the Adamsync tool in Windows Server 2003: "Error: We seem to be in an infinite recursive loop"
    http://support2.microsoft.com/kb/926933
    Best Regards,
    Amy

  • Our company have just upgraded to iOS 6 and the majority of the users are now receiving the following error 'Cannot Get Mail – Server error. Contact your server administrator' when accessing ms exchange this never happened on iOS 5 can anyone help

    Our company have just upgraded to iOS 6 and the majority of the users are now receiving the following error 'Cannot Get Mail – Server error. Contact your server administrator' when accessing ms exchange this never happened on iOS 5 can anyone help

    Have you tried deleting the account and re-adding it on the phone?
    What version of Exchange server are you running?

  • Google agenda will not open. "This address will neve end"?

    I try to open my Google agenda. As a result I get an error message saying that this address will never end?
    I have no idea what happens.

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    * http://kb.mozillazine.org/The_page_is_not_redirecting_properly

  • Hey i have this problem with my mac.. that its on its own shuts itself whenever i m using google chrome..i updated to yosemite but the problem never ended and i m experiecing unexplained shutdowns

    hey i have this problem with my mac.. that its on its own shuts itself whenever i m using google chrome..i updated to yosemite but the problem never ended and i m experiecing unexplained shutdowns

    Hi doctor.saddam,
    If your MacBook Pro is shutting down unexpectedly, I would suggest that you troubleshoot using the steps in this article - 
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • Export just hangs and never ends

    I am having an Oracle 9.2.0.6 STD edition in WIN2003r2
    The export job was runnig fine but suddenly it starts to hang when it reaches
    Exporting cluster definitions.........
    It never ends
    I have an invlaid XML object....
    Any suggestions...
    Message was edited by:
    Maran Viswarayar

    can u please post what are the paramaters u have given while exporting.
    Regds
    Nirmal

  • D10, boot problems, a never ending fan test!

    I hate this noisy fan test!!! My dog always panics, if it is in the room! But that's not the problem.
    If I switch on the external mains, the fan test starts and ends after some ten seconds.
    If I push the switch at the front of the maschine, the fan test starts and - sometimes - never ends. In this case, the maschine - obviously - will not boot. What to do? - Repeat the procedure. Sometimes I need 10 or more attempts to boot the maschine.
    Now I found (shortly before I decided to bring the maschine back to the dealer): The fan test succeeds nearly every time (and the maschine will boot), if I switch off all the external USB-devices (5 disks, WLAN-stick, memory stick, etc).
    My questions:
    what's going wrong with the fan test at my maschine?
    is it possible to skip this crazy fan test?
    Thanks for your help!
    Lenovo PC Think Station D10 6427-H6G, Windows XP

    regarding the fan test, this cannot be disabled.   thinkstations are designed for 24/7 uptime just like servers and the BIOS tests the fans at every boot/reboot.   since there isn't much reason to turn these systems off or put them asleep, the best workaround is to leave your D10 running 24/7 as it was designed to do.   mine only gets rebooted for windows updates, software updates, or video driver updates.   otherwise, it's up 24/7/365.
    regarding the fans getting stuck, update your BIOS.   the latest version can be found here.
    also, if you put your system to sleep, be sure to wake it with the power button and not your keyboard.   a few users have reported their fans getting stuck when waking with their keyboards.   i'm not aware of the issue happening when using the power button.
    ThinkStation C20
    ThinkPad X1C · X220 · X60T · s30 · 600

  • Http Request never ends

    Hi,
    Well I had a few minutes on my hand and decided to build a simple socket application that handles a browser request with a �hello�. Then I decided to complicate that a little and to actually send back what I receive. However the while loop that checked the input from the browser never ends (that is I never get a �1 from inputStream.read() method).
    Could someone please explain me why this happens? And how this could be solved? I mean how to detect that the request is over and it is time to respond. (In other words how can I base my response according to the request if I never know when the request is over!).
    Here is the code I used import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class Test7 {
    public static void main(String[] args) {
      try {
       ServerSocket serverSocket = new ServerSocket(9989);
       while(true){
        Socket socket = serverSocket.accept();
        new Thread(new SimpleHttpHandler(socket)).run();
      catch (Exception e) {
       e.printStackTrace();
    class SimpleHttpHandler implements Runnable{
    private Socket client;
    public SimpleHttpHandler(Socket client){
      this.client = client;
    public void run(){
      try{
       BufferedOutputStream outputStream = new BufferedOutputStream(
         this.client.getOutputStream()
       BufferedInputStream inputStream = new BufferedInputStream(
         this.client.getInputStream()
       int in = 0;
       while((in = inputStream.read()) != -1){
        System.out.print((char)in);
        outputStream.write(in);
       outputStream.close();
       outputStream.flush();
      catch(Exception e){
       e.printStackTrace();
    Regards,
    Sim085

    So you can't read RFC but can read forums? :)Can you imagine reading documentation about something by continuously minimizing and maximizing the browser window? (which I do when at work so to attract less attention) :)
    Well if you want simplest way then just send header,
    data and close connection that's enough.Thanks :) I understand that now :)
    @bsamperi & [email protected]
    The code I provided above was not correct. I fixed it and posted it again just in case someone else comes across this post. As already said this was not what I had in mind to do in the first place, but it was fun :) Anyways here is the working code! (Although naturally not good for anything)import java.io.BufferedReader;
    import java.io.BufferedWriter;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class Test7 {
    public static void main(String[] args) {
      try {
       ServerSocket serverSocket = new ServerSocket(8871);
       while(true){
        System.out.println("Waiting for request");
        Socket socket = serverSocket.accept();
        new Thread(new SimpleHttpHandler(socket)).run();
      catch (Exception e) {
       e.printStackTrace();
    class SimpleHttpHandler implements Runnable{
    private final static String CLRF = "\r\n";
    private Socket client;
    private BufferedWriter writer;
    private BufferedReader reader;
    public SimpleHttpHandler(Socket client){
      this.client = client;
    public void run(){
      try{
       this.writer = new BufferedWriter(
         new OutputStreamWriter(
           this.client.getOutputStream()
       this.reader = new BufferedReader(
         new InputStreamReader(
           this.client.getInputStream()
       System.out.println("-- IN --\n" + this.read() + "\n");
       System.out.println("-- OUT --\n" + this.write("Thank You"));
       this.writer.close();
       this.reader.close();
       this.client.close();
       System.out.println("Completed response");
       System.out.println("--------------------\n");
      catch(Exception e){
       e.printStackTrace();
    private String read() throws IOException{
      String in = "";
      StringBuffer buffer = new StringBuffer();
      while(!(in = this.reader.readLine()).trim().equals("")){
       buffer.append(in + "\n");
      return buffer.toString();
    private String write(String out) throws IOException{
      StringBuffer buffer = new StringBuffer();   
      buffer.append("HTTP/1.0 200 OK" + CLRF);
      buffer.append("Content-Type: text/html" + CLRF);
      buffer.append(CLRF);
      buffer.append(out);
      buffer.append(CLRF);  
      writer.write(buffer.toString());
      return buffer.toString();
    }The output of this code is: Waiting for request
    -- IN --
    GET / HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
    application/vnd.ms-powerpoint, application/vnd.ms-excel,
    application/msword, application/x-shockwave-flash, */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Host: localhost:8871
    Connection: Keep-Alive
    -- OUT --
    HTTP/1.0 200 OK
    Content-Type: text/html
    Thank You
    Completed response
    Waiting for request
    -- IN --
    GET /favicon.ico HTTP/1.1
    Accept: */*
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Host: localhost:8871
    Connection: Keep-Alive
    -- OUT --
    HTTP/1.0 200 OK
    Content-Type: text/html
    Thank You
    Completed response
    Waiting for request
    ...Which shows that this application will handle any web request with a �Thank You� since I am not basing the response on the request. However that should not be hard once the request and response are handled ok.
    Thank to both of you for your help :)
    Regards,
    Sim085

  • Never ending automatic repair loop

    I'm working on a client's HP ENVY TouchSmart 4-1215dx Ultrabook that is stuck in a never-ending automatic repair loop. I have done a system diag...all passed . Tried multiple ways to get into BIOS to do a repair from a USB stick made from another OS 8....but can't get into BIOS to change the boot. Tried F11 to do factoy resest....just puts me back into the loop.  I have a feeling my client downloaded a bad 8.1. Considering pulling the HDD and using my desktop to at least try and save her personal data....Please help!

    Kris_ClearFIxPC wrote:
    I'm working on a client's HP ENVY TouchSmart 4-1215dx Ultrabook that is stuck in a never-ending automatic repair loop. I have done a system diag...all passed . Tried multiple ways to get into BIOS to do a repair from a USB stick made from another OS 8....but can't get into BIOS to change the boot. Tried F11 to do factoy resest....just puts me back into the loop.  I have a feeling my client downloaded a bad 8.1. Considering pulling the HDD and using my desktop to at least try and save her personal data....Please help!
    That would be the best thing to first do and then use the recovery media of which you will now have to order since the O/S seems corrupted beyond repairs. This way you can be sure the recovery media will restore it back to factory install and hopefully they will not do this again til they will consult first before upgrading the O/S.
    I am a Volunteer to help others on here-not a HP employee.
    Replies aren't online 24/7 because of Time Zone differences.
    Remember in this Day and Age of Computing the Internet is Knowledge at your fingertips if you choose understand it. -2015-

  • Launching a never ending vi in sequence

    Hi!
    I have a vi that can basically be represented by a while loop that never stops until i press a button.
    I want to load and run this vi from a sequence without it hanging up that sequence.
    Also, at the end of the sequence it would be great if it could end the loop in the vi.
    For this last part I made the vi read out a variable in my locals and stop the loop as soon as it is a certain value.
    (I think this is a good solution, but any suggestions are of course welcome )
    For being able to run the rest of the sequence, even though the vi never ends, I was less successful.
    I tried putting the vi in a subsequence and then running that subsequence in a different thread.
    However, stepping through the main sequence, it does steps over the call of the subsequence,
    but then the main sequence still freezes until i stop the loop in my vi.
    What am i doing wrong exactly? Any help would be much appreciated!
    Solved!
    Go to Solution.

    Run Asynchronous VI basically uses a sequence call module with the "New Thread" option, but I don't think it does much more than that. I think you still have to do ExternallySuspended and/or Termination monitor in your vi. At any rate, I recommend against using Run asynchronous vi as there have been issues with using that step type (confusion over what passing ThisContext means for the most part). See the following link for more details about the issues with Run asynchronous vi if you are interested:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=28101&query.id=753835#M28101
    As far as termination monitor not detecting whether or not the original thread has completed normally, that is not its purpose and not always what a user might want. For example, you might have a worker thread that you want to keep running even after the thread that launched it completes. There might even be more than two threads in the execution and the execution technically isn't complete until all threads are done, including the asynchronous ones. The purpose of the termination monitor is to give the code module a way to detect when the user is requesting a terminate or abort so that it can return and allow the execution to terminate or abort normally (an execution cannot terminate or abort while a code module is still running).
    Like you are suggesting, you can probably pass in the original caller's thread as a parameter to the asynchronous sequence and your VI and call Thread.WaitForEnd on it with a 0 ms timeout to check if it's done in your loop. You need to make sure that you unchecked the "Automatically Wait for the Thread to Complete at the End of the Current Sequence" setting on the advanced panel of your sequence call step though or your threads will both be waiting for each other and never complete. Also the sequence view of the execution is likely to switch to your asynchrous thread at the end because it will be the last thread running, so if you don't want that you should probably just go with passing a boolean variable instead and leave the setting "Automatically Wait for the Thread to Complete at the End of the Current
    Sequence" checked. Do not ever pass ThisContext from one thread to another though as that is the source of the problems people are having with Run VI Asynchronously.
    Hope this helps,
    -Doug

  • Dropped database in a never-ending app

    Hello,
    I have an application which processes all the time by implementing a never-ending loop and a sleep at a given interval. It accesses the database to retrieve, insert and update data throughout the entire process. I have created a connection pool that contains a configurable number of connections (for any future multi-threading) that will be retrieved to complete the SQL transaction and released when it no longer needs it. The list of connections is decreased when I access the pool and increased when the connection is released. My concern is that I would like to detect when the DB has been dropped and brought back up without having to restart my app. The first way to detect it would be to check the connection object when it is used, but I am not sure if that is the way to do it correctly. Does it fail when I create the preparedStatement or when I run executeQuery or executeUpdate? What is the best way to detect whether I need to re-create my pool of connections?
    I appreciate your feedback.
    Thank you

    It will fail when you try to open the connection. If for example you are using a JNDI DataSource when you call the DataSource.getConnection() method it will throw a SQLException with the correct code and message for the database vendor.
    That said, I wouldn't do it the way you're doing it. By holding an open connection, you're pirating a connection resource that the DB may need for something else, or another app might need and in my opinion it's just bad design.
    I would recommend opening the connection at the beginning of the method where you are doing the data access and then closing it (along with all of the other database resources before leaving that method. A general code pattern would look like this.
    public void getSomeInformation(){
      String sql = "SELECT something FROM somewhere" ;
      try{
        // initialize the connection
        // initialize the statement object
        // prepare whatever parameters
        // execute the statement
        // make sure you got some results and process accordingly
      catch(SQLException e){
        // handle any exceptions that might come up
      finally{
        // close the result set
        // close the statement
        // close the connection
        // set all of the above to null to mark them for GC
    }Some of this may seem like overkill, but that's a feeling that goes away when you've had your application spin into the ground because you accidentally left database resources open and killed the database and the application server.
    Yes, there's a little overhead in terms of getting the connection, but it's a delay that my customers have never complained about in the face of the abject reliability of making sure that the house is clean and orderly all the time.

Maybe you are looking for

  • Multiple problems with syncing deleting media off iPhone

    The syncing process on the iPhone is very frustrating. As all know, with the iPod, if I wanted to put a song I had in iTunes onto my iPod, all I had to do was connect my iPod, click on the song in iTunes, and drag it on to my iPod. Easy. No more. Wit

  • HT1338 how to download adobe reader on macbook pro

    how to download adobe reader on macbook pro?

  • Table Maintenance Generator for the table "J_1ISTATECD"

    Hi, How to create Table Maintenance Generator for the table "J_1ISTATECD". Can anyone please explain the steps for this. Thanks in advance.... Regards, Sriram.

  • Multiple Waveform Graphs

    Dear group, I have a user panel that contains three waveform graphs in which only one graph is visible to the user. All three graphs plot the contents of the same one dimensional array; although only one graph is being displayed all three graphs cont

  • Building a box from the begining

    I need to build a box (room in house) and attach components like wall hangings. need to rotate the room. change the positions of hangings. need to navigate inside the room and view it in different angles is it possible to use box object and achive th