Simulating a GPIB Device in LabVIEW

Updated May 7, 2019

Reported In

Hardware

  • GPIB Instrument Control Device

Software

  • Measurement & Automation Explorer (MAX)

Issue Details

  • I am using a 3rd party device that connects over GPIB, but do not have access to it all the time. How can I simulate this device in order to test my LabVIEW code? 
  • I want to develop an application that will control my GPIB instrument. I have written data acquisition applications in the past, and have tested them using simulated devices in Measurement & Automation Explorer (MAX). How do I simulate a GPIB interface using National Instruments software?
  • How can I use LabVIEW to simulate a GPIB device?

Solution

A GPIB interface can be simulated in LabVIEW, but not in MAX. The following example shows how LabVIEW can be used to simulate a GPIB Device: Archived: Simulating a GPIB Instrument in LabVIEW.  

It is possible to simulate instruments using IVI drivers in NI MAX. In order to achieve this you will need to Configure an IVI System In Measurement & Automation Explorer (MAX). In order to simulate a device, you can specify the driver in the General tab in MAX as seen below: 
 

Additional Information

An Instrument Simulator can also be purchased to test and prototype GPIB and serial applications.

WAS THIS ARTICLE HELPFUL?

Not Helpful