annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Controlling external equipment over GPIB using LabView

Hi All,

I am new to labview and I am trying to control two outputs of HP6624A power supply and one output of Tektronics 2021AWG using labview which I am not bale to do rightly. If some one can help it will be great.

Actually I am trying all this to test an ADC and do some analysis on the results of the same. I have created the VI for analysis and it is working. Now I need to apply supply, clock & data to my device through these equipments. I was initally operating these equipments manually, but now I want to control them using LabView.

I have down loaded the instrument drivers for both of these equipments.

thanks
janit

I am attaching the vi through which I am trying to do so.
0 Kudos
Messaggio 1 di 13
4.031Visualizzazioni
Hi,

Take HP6624A for example,

Instrument Driver for HP6624A can be downloaded from here

After installing the ID, please open its Application Function Example, "hp662xa Getting Started.vi"
You will find that any working VI should have the followings:

a. Initialisation
b. Action/ Measure etc
c. Close

PS: Initilisation (before entering main loop) and Close (when exiting program) should be executed only once, unless otherwise.

Regards,
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Messaggio 2 di 13
4.027Visualizzazioni
Hello Ian,

I have already downloaded the device driver for the same. The applicatin VI you mentioned is good one but only allows to controll one output of the power supply. Whereas I need to controll atleast two outputs of the same.

Please suggest something to do the same.

thanks
Janit
0 Kudos
Messaggio 3 di 13
4.018Visualizzazioni
I have created a vi to control one output of HP6624A power supply, but it doesn't works.Can you tell me why.

Same is attached for your refrence.
0 Kudos
Messaggio 4 di 13
4.012Visualizzazioni
Basically all of the apps I've had to program have required GPIB communication. I have tried the drivers written by the manufacturers of all the devices, and found it easier to write my own. For instance, to read the value of an Agilent (HP) multimeter, I have the attached vi.

It's easier to use the manual GPIB communication vi's, than it is to have to deal with the ones writting by HP for instance (*In my experience*...it may be different for other people). You have more control over when and what commands are sent.
0 Kudos
Messaggio 5 di 13
4.000Visualizzazioni
I should add however, that this does take some time to read about and learn the command set for the different pieces of equipment. Most are well documented in the product manuals though.
0 Kudos
Messaggio 6 di 13
3.998Visualizzazioni
It seems that you downloaded the IVI driver instead of the native LabVIEW one here. Did you do this on purpose because using an IVI driver requires the installation of few other pieces of software. The LabVIEW driver has the ability to select a channel.
0 Kudos
Messaggio 7 di 13
3.991Visualizzazioni
Hi,

As what Dennis has pointed out, the link that I had for you will have Plug & Play and |V| drivers.
The one on top (Plug & Play) is of what you really need.

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Messaggio 8 di 13
3.978Visualizzazioni
First of all thanks for sparing sometime to unstand my problem.

But Here I would like to clarrify somethings.
I have downloaded the device driver and not the IVI driver and I am able to change channel and control it fully. But this limited to one channel at time only, whereas I require minimum of two channels.

I am not able to view your meter.vi as it is made using LabView 7.1 version whereas I have 7.0 only.

thanks
Janit
0 Kudos
Messaggio 9 di 13
3.975Visualizzazioni
Sorry 'bout that. Here's a picture. Your problems are the sort of thing that drove me to do everything manually.

Geoff
0 Kudos
Messaggio 10 di 13
3.971Visualizzazioni