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
modify STRIDE value for use with Matlab API
-
- 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
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)
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)