Version 2 (modified by chunter, 11 years ago) (diff) |
---|
- TOC "WARPLab7/TOC" is empty!
Trigger Manager Commands Technical Reference
Trigger Manager commands are selected as string inputs to the wl_triggerManagerCmd method in wl_node.m. These strings are each individual cases of the switch statement in procCmd method of wl_trigger_manager.m.
Syntax
MATLAB allows two valid forms of syntax for calling methods
- Let N be a scalar or vector of wl_node objects
- Let command_string be a string containing a particular command
- Let arg be an argument for that command (optional)
Syntax 1: wl_triggerManagerCmd(N, command_string, arg1, arg2, ..., argN)
Syntax 2: N.wl_triggerManagerCmd(command_string, arg1, arg2, ..., argN)
These two different forms of syntax are identical and either may be used for issuing commands to WARP nodes.
Command List and Documentation
add_trigger_input
Associates node to a trigger input
Arguments: (wl_trigger_manager TRIGGER)
Returns: none
delete_trigger_input
Deassociates node to a trigger input
Arguments: (wl_trigger_manager TRIGGER)
Returns: none
clear_trigger_input
Clears all trigger associations in the node
Arguments: none
Returns: none
get_trigger_input
Reads current trigger association from node
Arguments: node
Returns: (uint32 TRIGGER_ASSOCIATION)
TRIGGER_ASSOCIATION: bit-wise AND of associated
trigger IDs
test_trigger
Sends a test trigger
Arguments: none
Returns: none