| Data Acquisition Toolbox™ | ![]() |
You can configure a trigger to occur once (one-shot acquisition) or multiple times. If TriggerRepeat is set to its default value of zero, then the trigger executes once. If TriggerRepeat is set to a positive integer value, then the trigger executes once, and is repeated the specified number of times. For example, if the value is set to 2, you will get a total of 3 triggers. If TriggerRepeat is set to inf then the trigger executes continuously until a stop function is issued or an error occurs.
You can quickly evaluate how many triggers have executed by examining the TriggersExecuted property or by invoking the display summary for the device object. The display summary is invoked by typing the device object name at the MATLAB® Command Window.
Usage | AI, Common |
Access | Read/write |
Data type | Double |
Read-only when running | Yes |
The default value is zero.
![]() | TriggerFcn | TriggersExecuted | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |