| Data Acquisition Toolbox™ | ![]() |
start(obj)
obj | A device object or an array of device objects. |
start(obj) initiates the execution of the device object obj.
When start is issued for an analog input or analog output object,
The M-file callback function specified for StartFcn is executed.
The Running property is set to On.
The start event is recorded in the EventLog property.
Data existing in the engine is flushed.
Although an analog input or analog output object might be executing, data logging or sending is not necessarily initiated. Data logging or sending requires a trigger event to occur, and depends on the TriggerType property value.
For any device object, you can specify start as the value for a callback property.
ai.StopFcn = @start;
Note You typically execute a digital I/O object to periodically update and display its state. Refer to the diopanel demo for an example of this behavior. |
If you want to synchronize the input and output of data, or you require more control over when your hardware starts, you should use the ManualTriggerHwOn property.
EventLog, ManualTriggerHwOn, Running, Sending, TriggerType
![]() | softscope | stop | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |