Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: Girder 5 Crashing 2-3 times a day......narrowed down to Script

  1. #21

    Default

    Possibly found a new bug:

    The sync command works fine, until I close a netremote client. Once I do, I get the following error for each camera:

    Time Date Source Details Payloads
    09:01:43:987 5/19/2009 NetRemote Error: Connection Closed sending image variable camera14

  2. #22
    Join Date
    Jan 1998
    Location
    Jupiter, FL
    Posts
    13,541

    Default

    for each camera AND for each client or only the client you closed?
    Ron
    No support through PM

  3. #23

    Default

    Looks like just for each camera just for the client I closed. The other clients are still getting the camera feed. Goods news.

  4. #24
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Use something like
    Code:
    thread.newthread(function() 
       local url = "http://192.168.2.5:81/mobile/channel01.jpg"
       NetRemote.SetImageURL("camera01", url)
    
       local url = "http://192.168.2.5:81/mobile/channel02.jpg"
       NetRemote.SetImageURL("camera02", url)
    
       -- etc for the other cameras
    end, {})
    You may want to disable the timer while the thread is executing as well, but see how it goes.

    I wouldn't worry about the error message. It should go away after 5 or 6 errors.
    --Rob

  5. #25

    Default

    Quote Originally Posted by Rob H View Post
    Use something like
    Code:
    thread.newthread(function() 
       local url = "http://192.168.2.5:81/mobile/channel01.jpg"
       NetRemote.SetImageURL("camera01", url)
    
       local url = "http://192.168.2.5:81/mobile/channel02.jpg"
       NetRemote.SetImageURL("camera02", url)
    
       -- etc for the other cameras
    end, {})
    You may want to disable the timer while the thread is executing as well, but see how it goes.

    I wouldn't worry about the error message. It should go away after 5 or 6 errors.
    You mean to use SyncSetImageURL, right?

  6. #26
    Join Date
    May 2004
    Location
    Cardigan, UK
    Posts
    9,278

    Default

    Yes, sorry
    --Rob

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •