模拟输出
输出数据到数据采集设备的多个模拟通道
- 图书馆:
Data Acquisition Toolbox
Description
模拟输出块打开,初始化,配置和控制模拟数据采集设备。设备的开放,初始化和配置在模型执行开始时一次发生。在模型运行时间内,该块同步输出数据(输出数据块)。在每个时间步骤中,块都会执行阻止同步写入硬件,从而输出整个输入数据。
下图显示了同步模拟输出的时间。
在第一个时间步长(T1),启动数据输出,并且数据的相应块(B1)输出到硬件。在B1完全输出之前,该模拟不会继续。
The block has one or more input ports, depending on the option you choose in its parameters dialog box. It has no output ports.
The Analog Output block inherits the sample time from the driving block connected to the input port. The valid data types of the signal at the input port are double or native data types supported by the hardware.
笔记
要使用此块,您需要数据采集工具箱™和Simulink万博1manbetx®软件。
您只能将模拟输出块与支持时钟生成的设备一起使用。万博1manbetx要使用不支持时钟的设备生成数据,请使用万博1manbetx模拟输出(单个样本)堵塞。
Some devices are not supported by the Simulink blocks in Data Acquisition Toolbox. To see if your device supports Simulink, refer to万博1manbetx支持的硬件。
Other Supported Features
此块支持使用万博1manbetx万博1manbetxSimulink Accelerator™模式,但不是快速加速器或代码生成。
The block supports the use of model referencing, so that your model can include other Simulink models as modular components.
有关这些功能的更多信息,请参阅万博1manbetxdocumentation.