C#Visual Studio GPIB命令 [英] C# Visual Studio GPIB Commands

查看:69
本文介绍了C#Visual Studio GPIB命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您使用什么命令与Visual Studio C#中的GPIB仪器通信?我需要能够将命令写入仪器并读取输出.

What commands do you use to talk to a GPIB instrument in C#, visual studio? I need to be able to write commands to the instrument and read the output.

推荐答案

我使用这里是在C#上使用它的教程: I/OC#中的编程示例

Here is a tutorial to use it on C#: I/O programming examples in C#

尽管如此,在我的公司中,VISA-COM实现存在稳定性问题,因此我们使用P/Invoke围绕了Visa32.dll(也是IO库套件的一部分)编写了自己的包装程序.

Nevertheless, in my company we had stability issues with the VISA-COM implementation, so we wrote our own wrapper around the visa32.dll (also part of the IO Library suite) using P/Invoke.

(披露:我在一家使用GPIB工具的公司工作)

(Disclosure: I work in a company that make intense use of GPIB instruments)

这篇关于C#Visual Studio GPIB命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆