lsl get timestamp
opened this issue · comments
Deleted user commented
Hi,
I am currently pushing:
push_sample(double[]data, double timestamp) from a wristband.
How do I not only pull the data but also the timestamp?
also why does the receiver lose the decimal numbers even though I send out a double with decimal numbers?
thanks in adavance
David Medine commented
Please look closely at the example programs for whichever language
binding you are using. For example, in C++ you would do this to get what
you want:
https://github.com/sccn/labstreaminglayer/blob/master/LSL/liblsl/examples/C%2B%2B/ReceiveData/ReceiveData.cpp#L38
You should not be losing data. It's possible something is wrong with
your data typing.
…On 8/6/2018 5:22 PM, havyha wrote:
Hi,
I am currently pushing:
push_sample(double[]data, double timestamp) from a wristband.
How do I not only pull the data but also the timestamp?
also why does the receiver lose the decimal numbers even though I send
out a double with decimal numbers?
thanks in adavance
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/sccn/labstreaminglayer/issues/328>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/ADch7sIp85UmtnA1-CVGlIcT4t4le_mYks5uOF8ugaJpZM4Vwl2b>.