Data Acquisition Toolbox
  Function/Property:
    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:

   1.
The M-file specified for StartAction is executed.
   2.
Running is set to On.
If 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:

See Also

Functions

stop, trigger

Properties

EventLog, Timeout, TriggerType



[ Previous | Help Desk | Next ]