modify STRIDE value for use with Matlab API

Post Reply
LL1974
Posts: 1
Joined: Thu Nov 01, 2018 8:24 am

modify STRIDE value for use with Matlab API

Post 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

Coen
Site Admin
Posts: 1141
Joined: Fri Mar 26, 2004 7:00 pm
Location: Amsterdam, Netherlands
Contact:

Re: modify STRIDE value for use with Matlab API

Post 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)

Post Reply