您好,我想使用perl(或其他一些脚本语言)远程控制我的34410A。
对于大多数事情,这将是非常容易的,因为我会这样做:$ rm = Win32 :: OLE-> new(“VisaComLib.ResourceManager”);但是,由于某种原因,这不起作用(我从中获取了prog-id
VB示例;“Ivi.Visa.Interop.ResourceManager”也不起作用。
这有可能吗?
我不想使用.NET或我必须编译的其他语言/系统。
(是的,我安装了驱动程序,所需的组件似乎就在那里;我可以用C#创建这个对象。)谢谢,marco
以上来自于谷歌翻译
以下为原文
Hello, I'd like to remote control my 34410A using perl (or some other scrip
ting language). For most things, this would be pretty easy as I would do :
$rm = Win32::OLE->new("VisaComLib.ResourceManager");
But, for some reason this doesn't work (I took the prog-id from the VB sample; "Ivi.Visa.Interop.ResourceManager" doesn't work either). Is this even possible? I don't want to use .NET or other language/system that I have to compile.
(Yes I installed the drivers and the required components seem to be there; I can create this object from C#.)
Thanks,
marco