hi
I also wanted to know if there is any variable defining a timer during the run in BCPy2000. I need to use a timer which starts from 0 at the beginning of the run and continues until the run is suspended.
Kindly help.
Dhruv
BCPy2000 timer
Re: BCPy2000 timer
Hi,
the BCPy2000 Process hook is called once for each sample block acquired from the EEG system. To get a timer in units of sample blocks, define a variable and increase it by 1 from inside the Process hook.
To convert sample blocks into seconds, multiply by the SampleBlockSize parameter, and divide by the SamplingRate parameter.
HTH,
Juergen
the BCPy2000 Process hook is called once for each sample block acquired from the EEG system. To get a timer in units of sample blocks, define a variable and increase it by 1 from inside the Process hook.
To convert sample blocks into seconds, multiply by the SampleBlockSize parameter, and divide by the SamplingRate parameter.
HTH,
Juergen
Who is online
Users browsing this forum: No registered users and 10 guests