Registers a channel (left, right or multichannel).
Namespace: ExpSuiteAssembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0
Syntax
Visual Basic |
---|
Public Shared Function RegisterChannel ( _ ByRef st As STIMULUSPARAMETER _ ) As String |
Parameters
- st
- Type: STIMULUSPARAMETER%
Stimulus parameters.
Return Value
Empty for no errors, error string otherwise. Additional changes in st:Remarks
Register a channel (=ear, side: left=0, right=1, multichannel. Not acoustical (frequency) channel!).
Usage:Call it after Init() for each channel you have.
RegisterChannel is called by framework on connect. Don'''t call it again.
st.lChNr must be valid on calling RegisterChannel:In acoustical mode, set st.lSamplingRate [Hz] and st.lResolution [bit]. Then, the .sTimeBase [us] will be calculated from .lSamplingRate. In electricalRIB mode, set .szFittFile to the name of a valid fitting file. From this file some fields of st will be set (e.g. first and last name and time base).
The field .lResolution will be ignored in this mode.
Set before calling RegisterChannel:.lChNr to a valid audio channel. .lSamplingRate (only in acoustical mode) all items of freqPar() .szFittFile to a valid fitting file (only in electricalRIB mode) default values for electrode, pulsenr, pulseperiod, offset
Activities:Logging Determining the number of audio channels for auto naming mechanism Copy fitting file to the working directory Update of STIMULUSPARAMETER
Usage:
RegisterChannel is called by framework on connect. Don'''t call it again.
st.lChNr must be valid on calling RegisterChannel:
The field .lResolution will be ignored in this mode.
Set before calling RegisterChannel:
Activities: