当前位置: 首页 > news >正文

中唯建设工程有限公司网站杭州小程序建设公司

中唯建设工程有限公司网站,杭州小程序建设公司,农业企业网站建设,朝阳建设委员会网站LabVIEW控制DO通道输出一个精确定时的数字波形如何使用数据采集板卡的DO通道输出一个精确定时的数字波形?解答:产生一个数字波形首先需要创建一个布尔数组,把波形序列信息放到该布尔数组中,然后通过一个布尔数组至数字转换vi来产生数字波形。…

LabVIEW控制DO通道输出一个精确定时的数字波形

如何使用数据采集板卡的DO通道输出一个精确定时的数字波形?

解答:

产生一个数字波形首先需要创建一个布尔数组,把波形序列信息放到该布尔数组中,然后通过一个布尔数组至数字转换vi来产生数字波形。该布尔数组的列数就是数字波形的个数。如果需要对该数字波形的频率进行定时,需要使用计数器输出时钟作为数字波形生成的时钟源,通过该时钟就可以对数字波形精确定时了。

PW = 1 /Freq = Period

可以参考附件中关于生成单数字波形和双数字波形的范例。

Writea Digital Waveform With a Specific Pulse Width and Digital High/Low Pattern

Overview

Theexample demonstrates how to generate digital waveform defined by the High-Lowpattern control and counter as the width manipulator of the signal (both Singleand Multi works the same)

Description:

Tospecify the pattern of the digital waveform, you must create a boolean arrayand convert it to a digital waveform using the DWDT Boolean Array To Digital.VIThis array will specify the high and low pattern of the digital waveform. Thenumber of columns in the boolean array will correspond to the number of linesthat you are outputting on. Instead of using the internal timebase, use acounter output pulse train as the timing source for the waveform, and this willspecify the pulse width of the digital waveform depending on the frequency ofthe counter pulse train.

Attachedare VIs that will permit one to generate a digital waveform on one line andgenerate a digital waveform on two lines. The block diagrams of each are exactly the same.

The keydifference lies within the controls on the front pannel. Notice in the One_Dig_Wvfrm_Write.vi, thereis only one Digital Output Line; whereas, in the Mult_Dig_Wvfrm_Write.vi, thereare two Digital Output Lines selected. Each column in the Digital High/Low Pattern control corresponds to anindividual digital output line.

Steps toimplement or execute code

Toimplement this example:

Definethe physical channels to be used

(Optional)Set the rest of the parameters as needed

Run theVI

(Optional)Turn on the Highlight Execution to see the flow of the VI

Toexecute this example:

Installthe required software.

Connectthe DAQ hardware that supports the DIO and Counter features

Confirmthe connection with the MAX with TestPanel

Open theVI and refer the Implement Steps

Requirements

Software

LabVIEW2012 or compatible

NI-DAQmx16.0 or compatible

Hardware

cDAQ withC series Digital IO and Counter Module

需要说明的是,上述的例程和文档,都是可以下载的,双击即可打开,其中压缩文件是可以采用粘贴复制的方式,拷贝到硬盘上。这不是图片,各位小伙伴看到后尝试一下,这个问题就不用加微信咨询了。有关LabVIEW编程、LabVIEW开发等相关项目,可联系们。附件中的资料这里无法上传,可去公司网站搜索下载。

http://www.ds6.com.cn/news/58.html

相关文章:

  • 微网站 注册互联网推广公司
  • 南宁网上房地产整站优化网站
  • 大连做网站 首选领超科技搜索引擎优化包括哪些方面
  • 做会计需要了解的网站及软件免费推广的app有哪些
  • 利用网络媒体营销来做电商网站论文济南网络优化哪家专业
  • 深圳高端网站建设深圳将进一步优化防控措施
  • 专门做问卷的网站网址搜索域名查询
  • 厦门企业如何建网站seo技术好的培训机构
  • 如何实现网站开发手机验证码如何做网销
  • 动态网站开发的主要技术网络推广优化seo
  • 做网站要ftp信息吗竞价代运营
  • 网站建设价格明细表和网站预算深圳网络推广公司排名
  • 禹城网站定制网络运营培训
  • 旅游网站开发系统的er图旺道seo优化
  • 菏泽做公司简介网站杭州网站优化搜索
  • 用java做网站的流程营销网站案例
  • 东莞网站建设推广方案北京网络营销外包公司哪家好
  • 做外贸 访问国外网站 怎么办怎样做推广
  • 营销型网站建设哪个好怎么注册自己的网站
  • 长沙网站建设有限公司网站维护中是什么意思
  • 无锡做网站排名创建网站步骤
  • wap小说网站源码nba最新排名
  • 湛江赤坎海田网站建设招聘软文广告经典案例300
  • 长沙互联网推广公司宁波网站推广优化哪家正规
  • 网站建设具备什么条件外链百科
  • 如何提高网站排名的方法排超最新积分榜
  • 制作开发app需要多少钱seo推广视频隐迅推专业
  • 黄页88网站网站优化排名易下拉系统
  • 网站建设开发定制百度推广代理查询
  • 网站开发入门习题qq群排名优化