Data Acquisition Toolbox | ![]() ![]() |
Specify the value held by the analog output subsystem
Description
DefaultChannelValue
specifies the value to write to the analog output (AO) subsystem when data is finished being output from the engine.
DefaultChannelValue
is used only when OutOfDataMode
is set to DefaultValue
. This property guarantees that a known value is held by the AO subsystem if a run-time error occurs. Note that sound cards do not have an OutOfDataMode
property.
Characteristics
Usage |
AO, Channel |
Access |
Read/write |
Data type |
Double |
Read-only when running |
Yes |
Values
Example
Create the analog output object ao
and add two channels to it.
You can configure ao
so that when it stops outputting data, a value of 1 volt is held for both channels.
Properties
![]() | DataMissedFcn | Direction | ![]() |