哪位大侠有用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);