Simulating a GPIB Instrument in LabVIEW
This example shows how to use a GPIB board as a non-controller to simulate a GPIB instrument in LabVIEW. In "non-controller.vi", the GPIB interface is configured to be the non-controller and is assigned a primary address. The VI then waits in a loop to receive a message from the controller (using "controller.vi") and sends a response back.
"non-controller.vi" must be run first to begin waiting for "controller.vi" to send messages.
Requirements
Filename: non-controller.vi
Software Requirements
Application Software: LabVIEW Professional Development System 7.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: GPIB
Driver: NI-VISA 3.0
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
