simulink中mask设置_simulink 学英语

本文档介绍了如何在Simulink中使用PWM Generate block为National Instruments的板卡生成可变频率和脉宽输出。内容涉及M Series板的32位计数器、输入计数、高低电平设定、初始计数、采样时间和PCI插槽配置等。
摘要由CSDN通过智能技术生成

PWM Generate block for PCI-6251, PCIe-6251, PXI-6251, and PXIe-6251 boards

cef18c52a0875a843821e08d6f55e03a.png

Simulink® Real-Time™ Library for National Instruments

Use this block to generate variable frequency and pulse width output.

The M Series boards have two 32-bit counters that you can use to generate pulse trains.

M系列板有两个32位计数器,可用于生成脉冲序列。

Inputs are in counts of the 80 MHz reference frequency on the onboard clock.

输入以板载时钟上80 MHz参考频率的计数为单位。

H input is the number of counts that the output is high.

L input is the number of counts that the output is low.

If the H input goes to 0, the output stays low. If the L input goes to 0, the output stays high. If both are 0, the output goes low.

Initial high count

初始高计数

Enter the number of counts the output is high between the time the Simulink engine calls the mdlStart routine for this block and the first time it calls mdlOutputs.

输入从Simulink引擎为此块调用mdlStart例程到第一次调用mdlOutputs之间输出为高的计数数。

This length of time depends on the number of blocks in the model and the sorted order as determined by the Simulink software.

此时间长度取决于模型中块的数量和Simulink软件确定的排序顺序。

If you enter a value of 0, the output stays low until the first time the Simulink engine calls mdlOutputs.

如果输入的值为0,则在Simulink引擎第一次调用mdlOutputs之前,输出将保持较低水平。

Initial low count

初始低计数

Enter the number of counts the output is low between the time the Simulink engine calls the mdlStart routine for this block and the first time it calls mdlOutputs.

输入从Simulink引擎为此块调用mdlStart例程到第一次调用mdlOutputs之间输出低的计数数。

This length of time depends on the number of blocks in the model and the sorted order as determined by the Simulink software.

此时间长度取决于模型中块的数量和Simulink软件确定的排序顺序。

If you enter a value of 0, the output stays high until the first time the Simulink engine calls mdlOutputs, unless you have also set H to 0.

如果输入的值为0,除非您还将H设置为0,否则在Simulink引擎第一次调用mdlOutputs之前,输出将一直保持较高。

Sample time

取样时间

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

输入基本采样时间或基本采样时间的倍数(-1表示继承采样时间)。

PCI slot (-1:autosearch)

PCI插槽(-1:自动搜索)

If only one board of this type is in the target computer, enter -1 to locate the board.

如果目标计算机中只有一个此类型的板,请输入-1以定位该板。

If two or more boards of this type are in the target computer, enter the bus number and the PCI slot number of the board associated with this driver block. Use the format [BusNumber,SlotNumber].

如果目标计算机中有两个或多个此类型的板,请输入与该驱动程序块相关联的总线号和PCI插槽号。使用格式[总线编号,插槽编号]。

To determine the bus number and the PCI slot number, type:

要确定总线号和PCI插槽号,请键入:

tg = slrt;

tg=slrt;

getPCIInfo(tg, 'installed')

getPCIInfo(tg,“已安装”)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值