TriggerPulsePal()
TriggerPulsePal()
Description
Begins stimulation on the specified output channels.
Syntax
TriggerPulsePal(Channels)
Parameters
Channels be specified three formats:
- a binary string specifying which channels to trigger (e.g TriggerPulsePal ('1011') --> trigger channels 1, 2 and 4).
- a vector of channels (e.g. TriggerPulsePal([1 2 4] --> trigger channels 1, 2 and 4)
- a list of channels as separate arguments (e.g. TriggerPulsePal(1, 2, 4) --> trigger channels 1, 2 and 4)
Returns
None
Examples
% 1. This code triggers output channels 2 and 4 to play their currently programmed pulse train
TriggerPulsePal([2 4])
% 2. This code triggers all output channels to play their currently programmed pulse train
TriggerPulsePal('1111')