Page 1 of 1

modify STRIDE value for use with Matlab API

Posted: Thu Nov 01, 2018 8:56 am
by LL1974
Hi all,

I am trying to write a small BCI application in Matlab and I experiened huge delays between the generation of the signals and the atorage after TCP/IP transfer. As far as I understood from posts on this forum (but this may be totally wrong)this due to the value of the STRIDE parameter in the Active View source. Would it be possible to play with this parameter without accessing to Labview?

Best,
LL

Re: modify STRIDE value for use with Matlab API

Posted: Thu Nov 01, 2018 7:15 pm
by Coen
The default Stride is set at approx. 60 milliseconds. If your ("huge") delays are much larger than this value, then the bottle-neck lies elsewhere (ActiView, TCP/IP transfer, PC processing speeds, etc.).

Stride can be adjusted by calling functions in the Labview_DLL.dll:

OPEN_DRIVER_ASYNC --> BSIF_SET_STRIDE_MS --> USB_WRITE (stop acquisition)

calling BSIF_GET_BYTES_PER_MSEC returns the set stride number.

Best regards, Coen (BioSemi)