Serial Send
通过串行端口发送二进制数据
- 库:
仪器控制工具箱
Motor Control Blockset / Protection and Diagnostics
Description
这Serial Sendblock configures and opens an interface to the specified serial port. The configuration and initialization occur once at the start of the model's execution. The block sends data from the model to the serial port during the model's run time. You can use multipleSerial Sendblocks at a time to send data to a specific serial port.
Note
You must configure your serial port parameters using theSerial Configurationblock before you specify theSerial Sendblock parameters.
这Serial Send块具有一个接受1-D向量和矩阵数据的输入端口。该块没有输出端口。该块从输入端口的信号继承数据类型。有效的数据类型是single
,double
,int8
,uint8
,INT16
,uin16
,int32
, 和uint32
.
Other Supported Features
这Serial Sendblock supports the use of Simulink®加速器模式,但不是快速加速器。此功能加快了Simulink模型的执行加快。金宝app
这Serial Sendblock supports the use of model referencing. This feature lets your model include other Simulink models as modular components.
这Serial Send块支持C/C金宝app ++代码生成。此功能允许您使用C ++代码生成C ++代码金宝appSimulink Coder™.
For more information on these features, see the金宝app文档。