Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5566

Instrument Communication with GPIB through LabVIEW NXG

$
0
0

Hello Everyone,

I'm new to LabVIEW in general, so please be patient. 

I have an Agilent 34401A DMM, which I have the drivers for and have even made a couple simple VI's for, and an Agilent 33522A function generator. I downloaded the drivers for the function generator, but no new drivers appeared in the Hardware Interfaces tab. Package Manager shows that I installed the drivers, but I'm all "sad pandas."

Top is the Hardware interface, and the bottom is NI Package ManagerTop is the Hardware interface, and the bottom is NI Package Manager

The good news is I can communicate with both the function generator and the DMM with the VISA test panel in NI Max, and I can see all my "installed" devices in System Designer, so I know LabVIEW can see them - happy dance. However, I have four more very old power supplies, and two of them don't appear to have drivers. All of them communicate over GPIB.

I assumed that communication was straight forward. So I tried the following and failed, but it looks pretty. My goal was just to take GPIB code that would produce a sine wave on output 1 of the function generator

Program_Sadness.PNG

 

 

 

However, this didn't work, I got the following error. I did a google search on said error and that wasn't very helpful.The error code is -1073807195, and this isn't in the range of the VISA code I found, so not helpful.

myError.PNG
 

If I can just communicate with my equipment with basic GPIB commands through LabVIEW I will be one happy dude.

Thanks for your time.

~Triston


Viewing all articles
Browse latest Browse all 5566

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>