Simulating a GPIB Device in NI MAX

Updated Aug 19, 2019

Reported In

Hardware

  • GPIB Instrument Control Device

Software

  • Measurement & Automation Explorer (MAX)
  • Measurement Studio

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 or other IDE 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. 
There are tools that can create virtual COM ports that you can use to interface with, nevertheless, those are not supported by NI and we cannot guarantee they will work as intended. Utilize these tools at you own risk.

WAS THIS ARTICLE HELPFUL?

Not Helpful