Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to program a GPIB card to act as a device with labview?

Hello, I'm trying to build an emulator between an instrument (=analyzer) and a controller (=a PC with a GPIB card, software and connections to other devices). The controller has no drivers for this instrument, so I need to make the controller see a different device at the other end of the GPIB bus. Both are third-party systems and I cannot go and reprogram them. I'm thinking of using a PC with two NI PCI-GPIB cards running LabVIEW 7.1. The other card acts as a device to the controller and the other card controls the analyzer.

How can I program a GPIB card to act as a device in LabVIEW? I need the device to both listen and talk to the controller as if it was the analyzer the controller thinks it is. Is LabVIEW the correct tool for this command translation (emulation)? Can I program the GPIB card acting as a device to answer a "fake" ID to the controller so it thinks it is truly talking to a device that it has a driver for? Have I overlooked some significant problems with this setting?

Any help or tips will be much appreciated!
Thanks!
0 Kudos
Message 1 of 3
(3,623 Views)

Hi,

Yes, you can use GPIB card as a non-controller in LabVIEW. By that way it can be acting like a stand-alone instrument. Here's an example how it can be done:

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D87556A4E034080020E74861&p_...

Thanks,

Vesa

Message 2 of 3
(3,595 Views)
Thank you!
That will definitely get me started on my first GPIB and LabVIEW project.
Again, many thanks!

-Jope
0 Kudos
Message 3 of 3
(3,576 Views)