Looking at the code, it seems like pull_sample(String[], double) should throw a TimeoutException when the pull times out. However, instead I get an empty string "" with a timestamp of 0.0, it seems. Checked by increasing the rate of my stream and confirming the "" disappeared, and decreasing back to where it was and they show up again. Stopping the stream, I get repeated "" in intervals of timeout.
Again, looking at the code, after the call to inst.lsl_pull_sample_str in LSL.java:629, ec still contains 0, suggesting the native code is failing to flag the exception properly. (But, the timeout itself works ok.)
Looking at the code, it seems like
pull_sample(String[], double)should throw a TimeoutException when the pull times out. However, instead I get an empty string "" with a timestamp of 0.0, it seems. Checked by increasing the rate of my stream and confirming the "" disappeared, and decreasing back to where it was and they show up again. Stopping the stream, I get repeated "" in intervals oftimeout.Again, looking at the code, after the call to
inst.lsl_pull_sample_strinLSL.java:629,ecstill contains0, suggesting the native code is failing to flag the exception properly. (But, the timeout itself works ok.)