找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 502|回复: 1

新手求教!!!!!!1

[复制链接]
发表于 2005-8-23 20:06:37 | 显示全部楼层 |阅读模式
<>我想调用一个DA卡的dll,不知道怎么做,我胡乱弄了一个,果然不行,求教大侠!多谢[wdb15]
DA的两个函数前面一个是打开设备,后面一个是输入数据,全都是通过一个struct实现的
struct定义如下,我感觉我的数据传递有问题,
    struct ZT_PCIBOARD
    {
    long lIndex;     /* PCI卡索引值,该值在安装时被系统分配*/
    HANDLE hHandle; /* PCI卡的操作句柄(只有涉及中断时才用)*/
    short nCh;            /* 通道号*/
    long  lData;          /*输入输出数据变量*/
       long* plData;         /*输入输出数据指针*/
    long  lCode;          /*设备控制字,具体含义见函数说明*/        
     };</P>
<> 下面是一个截图</P>
[em14]
 楼主| 发表于 2005-8-23 20:07:56 | 显示全部楼层
补截图!!!<img src="attachments/dvbbs/2005-8/20058231274830.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2005-8/20058231274830.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 01:26 , Processed in 0.039839 second(s), 13 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表