通过GPIB控制/读取几个静音电源 [英] Control/read a few agilent power supplies over GPIB

查看:68
本文介绍了通过GPIB控制/读取几个静音电源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要做的就是编写一个程序来控制/读取GPIB上的几个安捷伦电源。如果有人知道是否以及如何做到这一点,请你按正确的方向推动我。



谢谢



我的尝试:



................... .................................................. .................................................. ............................................

解决方案

有可能。您需要为PC中使用的GPIB接口卡安装驱动程序和SDK。 SDK可能包含.NET接口。如果是这样,请根据文档(通常提供示例代码)使用它。如果没有,您必须从SDK调用DLL提供的非托管API函数(在Web上搜索您的接口卡的.NET示例可能会有所帮助)。如果到目前为止还没有GPIB接口卡,请选择提供.NET接口的接口卡。



最后研究GPIB设备的文档以实现所需的命令

All I want to do is write a program to control/read a few agilent power supplies over GPIB. If anyone know if and how this is possible could you please push me in the right direction.

Thank You

What I have tried:

...................................................................................................................................................................

解决方案

It is possible. You need to install the driver and the SDK for the GPIB interface card used in your PC. The SDK might contain a .NET interface. If so, use it according to the documentation (which usually provides sample code). If not, you have to call the unmanaged API functions provided by the DLL from the SDK (searching the web for .NET examples for your interface card might help). If you did not have a GPIB interface card so far, choose one that provides a .NET interface.

Finally study the documentation of the GPIB devices to implement the required commands.


这篇关于通过GPIB控制/读取几个静音电源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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