| Data Acquisition Toolbox | Search  Help Desk |
| start | See Also |
Start the execution of a device object.
Syntax
start(obj)
Description
start(obj) initiates the execution of a device object. When start is issued:
.StartAction is executed.
.Running is set to On.
start is called and no channels or lines are defined for the device object, an error is returned.
Although the device object is executing, data is not necessarily logged for analog input objects or sent for analog output objects. Data logging or sending depends on the TriggerType property. If the TriggerType value is Immediate, data logging or sending occurs immediately. If the TriggerType value is Manual, then data logging or sending occurs when the trigger function is issued. Otherwise, data logging or sending occurs when the specified TriggerCondition is met. The start action is recorded in the EventLog property.
A device object can stop executing under one of these conditions:
SamplesAcquired equals the product of the SamplesPerTrigger and TriggerRepeat properties, or for analog output objects, all samples were sent out.
Timeout value is reached.
See Also
Functions
stop, trigger
Properties
EventLog, Timeout, TriggerType