读书人

何位大侠有用VISA控制LAN口的例程

发布时间: 2013-01-05 15:20:40 作者: rapoo

哪位大侠有用VISA控制LAN口的例程
毕业设计用,急!
[解决办法]
你确定你的是LAN口?
我只做过PCI-E的
[解决办法]
他们提供的例子里面也没有通过LAN口的啊


/*
* Find all the VISA resources in our system and store the number of resources
* in the system in numInstrs. Notice the different query descriptions a
* that are available.

Interface Expression
--------------------------------------
GPIB "GPIB[0-9]*::?*INSTR"
VXI "VXI?*INSTR"
GPIB-VXI "GPIB-VXI?*INSTR"
Any VXI "?*VXI[0-9]*::?*INSTR"
Serial "ASRL[0-9]*::?*INSTR"
PXI "PXI?*INSTR"
All instruments "?*INSTR"
All resources "?*"
*/
status = viFindRsrc (defaultRM, "?*INSTR", &findList, &numInstrs, instrDescriptor);

读书人网 >C++ Builder

热点推荐