04-24-2011 11:40 PM
Hi all, i have a Hewlett Packard 6030A System Power Supply.
I wish to use this in Labview for voltage/current settings and measurement as well.
The connection i am using is
Hp 6030a -> GPIB -> USB -> Labview
First, i have created USB raw driver for the connection using NI VISA Driver Wizard.
Then, I've tried the following labview code to read back the model series, but seems like cant get it connected.
Please help. Any steps are missing or am i doing it wrongly?
04-25-2011 12:57 AM
You doing everything wrong by using the VISA wizard. Where did you get the idea that you had to use that? Undo everything you did and simply install NI488.2 and NI-VISA. The GPIB contoller should be visible in MAX - and not as some goofy USB device like you have now. There are instuctions on installing and verifying the driver. Follow that and then follow the instructions on detecting your instrument. Your VISA resource name should be something like GPIB0::address::INSTR where address = actual address of the instrument.
04-25-2011 04:07 AM
Hi Dennis,
The cable i am using is a GPIB - USB
the GPIB end is connect to 6030a while USB end is connect to my computer
so i thought its a USB raw driver.
Please advice.
As for my case, should i use a GPIB control for Labview?
Or a VISA control will do?
04-25-2011 09:37 AM
Use the driver instead of writing the code yourself.
04-25-2011 09:39 AM - edited 04-25-2011 09:42 AM
The driver i get from Agilent website is for GPIB connection
while now i am using GPIB to USB connection
Thats why i am stucked here...
Please help..
i attached the Driver which i downloaded from Agilent
its not compatible with my connection
04-25-2011 10:36 AM
You aren't making any sense to me. If you have an NI GPIB-USB device, install NI-488.2 and NI-VISA after you have undone all of the VISA wizard nonsense. The only thing you did with that was turn your controller into a useless piece of junk. I already told you this once. The windows drivers make the device work as a GPIB controller and it is irrelevant whether it is a USB, pci, etc, connection to the pc.
If you have a GPIB-USB controller from Agilent, follow their installation instructions.You simply cannot makeup your own installation procedure as you have done uo to now.
04-26-2011 03:21 AM
Hi Dennis, sorry as i am quite new to Labview Instrument control.
Credit goes to you as i have managed to communicate with my instrument now.
Appreciate it! Thanks !