Page History: Cedrus XID Element
Compare Page Revisions
Page Revision: 2015/01/27 01:26
|
Cedrus XID
|
Info |
Category: |
Input Registration |
|
AddIn: |
Base Elements |
Creator: |
OkazoLab Team |
|
Scope: |
Parent Event |
Owns Snippets: |
no |
|
Usage: |
Code snippets |
Actions aligned with epochs of the parent event
Epoch | Actions |
---|
After Onset | The element starts monitoring button presses/releases and line states. The reaction time timer of Cedrus device is reset to zero. |
Control Loop step | Triggered snippet is invoked, if the button or line state changes according to the selected triggering mode. |
Before Offset | The element stops monitoring button presses/releases and line states |
Properties
Generic Properties
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Cedrus Port | Defines a name of the Cedrus serial port. The typical names are COM1, COM2 and so forth. You may either type it in or select it from the drop down list. | | String | |
Baud Rate | Defines the data rate in bits per second (bauds) for the Cedrus ports. The Cedrus devices usually use 9600,19200 and 115200 baud rates, depending on the position of the DIP switches on a device. | | Int32 | |
Triggering Mode | Defines the triggering mode for button or line. The First Press Only mode is recommended for response time measurements. A button presses corresponds to the ON state, when a line is monitored. | | enum | |
Monitored Button | Defines a button or line monitored by the element. If 'Any' is selected, the element monitors all buttons and lines on the selected Cedrus device. In this case, a name of the pressed button or activated line is returned by the Triggering Button property. The property editor provides a press detector that can be used to find a name of the target button. | | String | |
Runtime status |
Triggering Time | Returns the Cedrus reaction time that corresponds to a cause of the element trigger,e.g. a button press. When Holding Down' mode is used, the property returns a local event time while the button is down. The value can be used an accurate measure of the response time. | | clTime | |
Is Triggered | Indicates whether a button or line has been triggered at least once since the onset of the parent event. The property resets on every event onset. This property can be naturally used to gate switching between events. | | Boolean | |
Triggered Button | Returns a name of the triggered button or line (pressed or released depending on the Triggering Mode'''). Buttons are named with a number, as "Bitton n", whereas the input line are names as "Line n". | | String | |
Is Down | Indicates whether the monitored button/line is currently in the down/ON state respectively. | | Boolean | |
+=== Properties inherited from clElement ===
Inherited properties of clElement
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run. | | Boolean |
|
Title | Title of the element. | | String |
|
Cedrus XID element detects button and line states on the
Cedrus input devices that support the
XID (eXperimental Interface Device) protocol. The supported XID devices include the
RB Series and
Lumina response pads,
StimTracker marker and
SV-1 voice key.
Description
Short description
Snapshots
Snapshot 1
| Snapshot 2 |
Practical Use
Technique 1
- Step 1
- Step 2
Technique 2
- Step 1
- Step 2
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
Notes
- Insert Notes here..
- Insert Notes here..