TeamCAMS Editor Documentation
Use the TeamCAMS Editor to create and edit experiment scripts for TeamCAMS. A script contains a list of events that are scheduled to happen during an experimental run. Those events allow you to trigger system faults, control the parameters of the simulation or change the user interface during each run.
The menu and the toolbar
The menu allows you to open and save scripts. If you make a mistake during editing you can undo your changes by means of the corresponding action (you can also redo your changes). When you change a script it might be necessary to validate its contents before using it inside an experiment. The Validate script command will tell you if there is any problem with the script (for example, if a required parameter hasn't been configured yet).
The palette
On the left you can access the palette of events/items that you can add to the timeline defined by the script. By clicking on an item a new element is added to the script.
The timeline
The current timeline of scheduled events is shown in the middle of the windo: most events has an associated timestamp, a type and specific parameters. Script-wide configuration events will have no timestamp associated. You can remove an item or duplicate an item by right-clicking on an item.
Configuration panel
When you select an item from the timeline a configuration panel will appear.
Events and Items
Here's a list of all available events and items:
- Script: used to configure some basic details about the script (a script element is automatically added to each script file)
- Error: this event schedules a fault to the CAMS system
- Interface: this item is to control the user interface, for example to hide or disable some UI elements
- Adaptive: this item is used to schedule an adaptive control operation
- Message: this item is used to programmatically send a chat message to an user
- Access: this item is used to change the UI layout presented to the user
- Filter: this item is used to block messages or updates send from and to the user
- Code: this item is used to execute JS code (this is an advanced feature)
- Duration: this item is used to set the duration of a simulation run
- Control: this item is used to progrmmatically control the CAMS system and its devices
- Question: this item is used to define survey questions
- Assistance: this item is used to change the assistance (AFIRA) level of automation
- Pop-Up Content: this item is used to upload PDF files to be shown during an experiment
- Pop-Up: this item is used to show content (PDF file) during an experiment