Skip to main content Link Search Menu Expand Document (external link)

<BeadlTrialProtocol> element

The <BeadlTrialProtocol> element describes and implements all properties of the trial-based behavior protocol.

...
<BeadlTrialProtocol name="ExampleTask" startState="StartState" numberOfTrials="123">
  <BeadlArguments>
    ...
  </BeadlArguments>
  <HardwareSettings>
    ...
  </HardwareSettings>
  <BeadlEvents>
    ...
  </BeadlEvents>
  <BeadlActions>
    ...
  </BeadlActions>
  <BeadlStates>
    ...
  </BeadlStates>
  <BeadlStateTransitions>
    ...
  </BeadlStateTransitions>
<BeadlTrialProtocol />
...

Attributes

  • name: defines the name of the protocol. The name of the protocol will be used during the code generation process for creating needed files and folders and thus should not contain any whitespace characters.
  • startState: defines the starting point of the trial structure. The content must refer to one state listed later in the description.
  • numberOfTrials: defines how many trials a session should last. The content of this attribute can either be a number (must be quoted) or the string literal INF to indicate that the session will not be terminated based on the number of performed trials.

Child Elements


Copyright © 2022 Michael Wulf, Washington University in St. Louis, Kepecs Lab. Theme: Just the Docs.