Datapixx(‘GetDinNumBits’)

Psychtoolbox>Datapixx.{mex*} subfunction

dinNumBits = Datapixx(‘GetDinNumBits’);

Returns number of digital input bits in the Datapixx. Currently the Datapixx has
24 digital inputs. 16 of the digital inputs can have their transitions logged
with microsecond-precise timetags.
See DatapixxDin*Demo files for examples.

###See also: GetDinValues, SetDinDataDirection, EnableDinLogging