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

<BeadlArgument> element

The <BeadlArgument> elements define values that are being defined outside of the trial structure and passed or updated to it. This way the experiment’s control system can update or predefine those values on trial-by-trial basis.

...
<BeadlArguments>
  <BeadlArgument name="ExampleArgument" expression="123" comment="Description" type="numeric" />
</BeadlArguments>
...

Attributes

  • name defines the reference (variable name) to be accessed. The name attribute of a <BeadlArgument> is the actual variable name in the control instance.
  • expression defines the value of the argument. Since it is being stored as a string, this element can have an arbitrary content but together with the attribute type it affects the outcome of possible parsing or code-generation process for the used target platform of the behavior control environment.
  • comment defines a string to describe the argument and could be copied into the source code as an in-line comment there.
  • type defines the data type of the argument. Valid values for the type are numeric, logical, string, and other.

Child Elements

  • None

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