Example Code

使用NI-VISA实现基本的GPIB读写

Code and Documents

Attachment

Overview

使用NI-VISA API在LabVIEW中实现基本的GPIB通信。

 

Description

LabVIEW提供两种类型的API用于GPIB通信:传统NI-488和NI-VISA。该VI程序使用NI-VISA API实现与一台仪器的GPIB通信——对于大多数新系统设计来说这是建议用的一种方式。该VI发送用户指定的命令,然后返回一个等同于指定的字节或更少字节的数字。

 

Hardware and Software Requirements

软件要求

应用软件: LabVIEW Professional Development System 7.1
语言: LabVIEW

 

硬件要求

硬件组: GPIB
驱动软件: NI-VISA 4.0

 

Additional Information or References

VISA纠错向导

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors