| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Data Acquisition Toolbox |
| Contents | Index |
| Learn more about Data Acquisition Toolbox |
When queued data is output to the analog output (AO) subsystem, the hardware typically holds a value. For National Instruments and Measurement Computing devices, the value held is determined by OutOfDataMode.
OutOfDataMode can be Hold or DefaultValue. If OutOfDataMode is Hold, then the last value output is held by the AO subsystem. If OutOfDataMode is DefaultValue, then the value specified by the DefaultChannelValue property is held by the AO subsystem.
Vendor | Measurement Computing, National Instruments |
Usage | AO, common to all channels |
Access | Read/write |
Data type | String |
Read-only when running | Yes |
{Hold} | Hold the last output value. |
DefaultValue | Hold the value specified by DefaultChannelValue. |
Create the analog output object ao and add two channels to it.
ao = analogoutput('nidaq','Dev1');
addchannel(ao,0:1);You can configure ao so that when queued data is finished being output, a value of 1 volt is held for both channels.
ao.OutOfDataMode = 'DefaultValue'; ao.Channel.DefaultChannelValue = 1.0;
![]() | NumMuxBoards | PortAddress | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |