当前位置:编程学习 > VB >>

有没有人用过powerstar ,如何通信的?

因powerstar中使用的是VB,想调用“gpib-32.ll“来进行通信,但是其ibrd与ibwrt总是出错,根本不让编译。
在其它地方见过其参数为什么不一样“
ibdev(0,6,0,13,1,0,dev%)  ibrd(dev%,rebuf$) ibwrt(dev%,wrbuf$)
而在VB32.PAS中
 Declare Function ibdev32 Lib "Gpib-32.dll" Alias "ibdev" (ByVal bdid As Long, ByVal pad As Long, ByVal sad As Long, ByVal tmo As Long, ByVal eot As Long, ByVal eos As Long) As Long


Declare Function ibrd32 Lib "Gpib-32.dll" Alias "ibrd" (ByVal ud As Long, sstr As Any, ByVal cnt As Long) As Long
....


参数都不一样, --------------------编程问答-------------------- 没用过powerstar,帮顶 --------------------编程问答-------------------- 帮顶 --------------------编程问答-------------------- LZ有Powerstar的安装软件吗?工作需要,所以要用一下,麻烦留个通讯方式谢谢~~
补充:VB ,  VBA
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,