Pulse Variable

Description

Sets a variable high (i.e. sets its value to 1). Then, after the specified duration, sets it low (i.e. to 0). The end of the pulse is triggered asynchronously, so this action does not pause the experiment.

Signature

action/pulse

Required Parameters

variable

Variable to pulse

duration

Duration of the pulse (microseconds)

Placement

Allowed at top level:

No

Allowed parent:

Block, Conditionally Execute Actions (if), List, On Exit, Protocol, Render Actions, Repeat Actions (while), Schedule Actions, Task System State, Trial, Unconditionally Execute Actions (else), Variable