Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GBIP Control using prologix usb converter

Solved!
Go to solution

Hi Eric

I also just purchased a Prologix USB-HPIB, and I'm trying to control a Agilent (HP) 6p033 power supply. I can get the power supply to ISET and VSET by using the GPIB Configurator. However, I want to be able to incorporate a controller vi in an existing LabVIEW program. Is this possible? Any help would be greatly appreciated. Specifically, what I'm looking for is a 'standard' controller vi. I suppose none exists at this point, is that right?

Allan

0 Kudos
Message 11 of 17
(4,041 Views)
No. If you had purchased a real GPIB controller, you could have used the existing driver. You will have to modify the driver per the instructions from prologix. As a student/ hobbyist, its a good thing your time is free and you can justify the small cost savings.
0 Kudos
Message 12 of 17
(4,030 Views)

First, check to see whether a driver exists already in labview.  Most times they will have a gbip driver.  Then you need to convert it to a serial driver.

 

Modifying a lab view driver is not that hard.  I have gotten quite good at it by now.  The biggest differences between gpib and serial (you will be using serial to communicate with your device if it is plugged in via gpib to usb) is the line endings and data limits.  I found that everything I sent to the devices had to be terminated by a carrige return, and I had to modify the read driver to read untill there was no more data left.  Apparently, gpib will let you get all the data that was sent to the pc in one read.  With serial, this is not the case.  You have to read however much is on the serial port, wait a few ms, then continue untill there is nothing left to read.  I just created new subvi's for read and write to do these two things.  I can send them to you if you want.

 

Eric

0 Kudos
Message 13 of 17
(4,029 Views)

Hi Eric

I would appreciate your sending them to me.

I just need to write to the device, but reading is great, too.

Thanks, Eric. I really appreciate it.

Allan

 

0 Kudos
Message 14 of 17
(4,020 Views)

Hi Eric, 

 

Sorry to bother after such a long time. But I'm kind of desperate now since I don't really have much experience in Labview. Do you still happen to have the read and write sub VI?

0 Kudos
Message 15 of 17
(2,765 Views)

Allan,

 

Try using this for controlling your Power Supply.  I created this for use with the Prologix GPIB-USB Controller.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 16 of 17
(2,754 Views)

comment communiquer avec un fréquencemètre Fluke PM6685 ou PM6685R, un multimètre Model 2000, et d'autres instruments Fluke Timer/Counter/Analyzers (PM6680B, PM6681, PM6681R, PM6685, PM6685R) en utilisant un contrôleur Prologix GPIB-USB pour lire les données des instruments en temps réel et les afficher sur un ordinateur à l'aide d'un programme Python et faire une interface graphique.

0 Kudos
Message 17 of 17
(862 Views)