Data Acquisition Toolbox    
ManualTriggerHwOn

Specify that the hardware device starts when a manual trigger is issued

Description

ManualTriggerHwOn can be set to Start or Trigger. If ManualTriggerHwOn is Start, then the hardware device associated with your device object starts running after you issue the start function. If ManualTriggerHwOn is Trigger, then the hardware device associated with your device object starts running after you execute a manual trigger with the trigger function. You can use trigger only when you configure the TriggerType property to Manual.

You should configure ManualTriggerHwOn to Trigger when you want to synchronize the input and output of data, or you require more control over when your hardware starts. Note that you cannot use peekdata or acquire pretrigger data when you use this value. Additionally, you should not use this value with repeated triggers because the subsequent behavior is undefined.

Characteristics

Usage
AI, Common
Access
Read/write
Data type
String
Read-only when running
Yes

Values

{Start}
Start the hardware after the start function is issued.
Trigger
Start the hardware after the trigger function is issued.

Example

Create the analog input object ai and the analog output object ao for a sound card and add two channels to each device object.

To operate the sound card in full duplex mode, and to minimize the time between when ai starts and ao starts, you configure ManualTriggerHwOn to Trigger for ai and TriggerType to Manual for both ai and ao.

The analog input and analog output hardware devices will both start after you issue the trigger function. For a detailed example that uses ManualTriggerHwOn, refer to Starting Multiple Device Objects.

See Also

Functions

peekdata, start, trigger

Properties

TriggerType


  LogToDiskMode MaxSamplesQueued