DaqCIn - aleslab/Psychtoolbox-3-aleslab-fork GitHub Wiki

count=DaqCIn(DeviceIndex)
USB-1208FS: Read counter.
This function reads the 32-bit event counter in the device. This counter
tallies the transitions of an external input attached to the CTR pin on
the screw terminal of the device.
"count" is the 32-bit value.
"DeviceIndex" is a small integer, the array index specifying which HID
device in the array returned by PsychHID('Devices') is interface 0
of the desired USB-1208FS box.
See also Daq, DaqFunctions, DaqPins, DaqTest, PsychHIDTest.

4/15/05 dgp Wrote it.
12/20/07 mpr tested it on a 1608FS and made input argument optional
1/13/08 mpr swept through and tried to make terminology consistent
with that of other daq functions
5/22/08 mk Add (untested!) support for USB-1024LS box.
5/23/08 mk Add caching for HID device list.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/Daq/DaqCIn.m
⚠️ **GitHub.com Fallback** ⚠️