Results 1 to 2 of 2
  1. #1

    Lightstreamer Client for Matlab

    I am trying to build a lightstreamer client for Matlab. There do exist a couple of libraries for platforms like JAVA, Python, .Net etc. But unfortunately not Matlab. However, it turns out that most of these client implementations use the very same text-mode protocol for lightstreamer which is pretty basic HTTP requesting.

    I figured out how to establish/close a lightstreamer session. I get the sessionId and I can use this id to subscribe to the data I want to stream. But although I do get a valid response for the subscription call, there is no data pushed.

    I use the urlead2 function and the response seems fine:

    HTML Code:
    allHeaders =

    HTML Code:
    Response:{'HTTP/1.1 200 OK'}
      Content_Type:{'text/plain; charset=iso-8859-1'}
           Expires:{'Thu, 1 Jan 1970 00:00:00 GMT'}
              Date:{'Wed, 8 Apr 2015 11:15:02 GMT'}
    status =


    isGood =1

    output =

    It is correct that the response body contains "OK ", this is documented (documentation, page 20ff.), but there is supposed to be the stream data itself as well, isn't it?
    So how do I get the actual data?

  2. #2
    Join Date
    Jul 2006
    I confirm that it is possible that a subscription request is successful but yields no data.
    In fact, the requested items may produce no updates.
    However, if the subscription request includes the request for the snapshot, at least an empty snapshot should be received.
    Please check your case.



Similar Threads

  1. SYNC ERROR in Matlab Client for LightStreamer
    By flimmbing in forum Client SDKs
    Replies: 1
    Last Post: April 10th, 2015, 09:43 AM
  2. Replies: 2
    Last Post: January 5th, 2012, 08:53 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 07:56 AM.