From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-15-2019 06:39 PM - edited 03-15-2019 06:41 PM
I have a windows 10 PC and two Agilent /Keysight 34970A's. I am trying to set up a VI to communicate with one of these over GPIB to USB. I was able to use the example for serial to USB just fine, but the GPIB is stumping me. I was using the Advanced Scan example for the serial communication case, but I cannot find one for GPIB to try.
Are there any tutorials for setting up communications between Labview and an Agilent DAQ over GPIB?
Also are there any good tutorials for learning GPIB communications with Labview? I need to learn to set communications with a few other machines with GPIB
Solved! Go to Solution.
03-16-2019 10:11 AM
03-18-2019 07:30 AM
Using the attached Simple VISA virtual instrument only has a single change between GPIB control and USB control. All of the SCPI commands are exactly the same. Only change the VISA resource name for the appropriate interface and it will continue to work seamlessly.
For example, try the query (in the write buffer) with either interface connected and the response should be the same.
*idn?\n
03-18-2019 11:43 AM
The computer itself doesnt have a built in GPIB card. We are using a Agilent 82357B USB to GPIB interface though.
03-18-2019 12:23 PM
Is this a built in Labview example or something you spun on your own? I cant seem to find it if it is the former
03-18-2019 12:31 PM
It is my own. Open LabVIEW then drag the image into a new VI and you will be ready to run.
03-18-2019 05:42 PM
Dragging the image from my browser (Chrome) into a New VI didn't work. I must be missing something. It just drops the link to the picture. Same deal with saving the picture and dragging the file in. I am using the 2018 evaluation version. Would that make a difference?
03-19-2019 01:47 PM
Here, try this attachment instead.
03-19-2019 02:59 PM
That works! I can now read and write to the GPIB device I need to. Thanks for the help!