08-03-2005 03:37 AM
08-03-2005 08:33 AM - edited 08-03-2005 08:33 AM
First off, you have 1 USB-GPIB cable that goes to one power supply and a regular GPIB cable that goes from ps 1 to ps2. I don't know what you mean by "connected together".
Each instrument on a GPIB bus needs to have a unique address. I believe this is done from the front panel but the one I have is in my lab and I'm not quite up to walking back there right now. Your user manual explains exactly what you have to do.
With both supplies cabled to the GPIB bus, open MAX (Measurement & Automation Explorer). I'm assuming that you've already installed NI-GPIB and NI-VISA. Verify this by expanding the Software listing and seeing that both are listed. You should also have verified the GPIB board installation. Click on the Devices and Interfaces listing, right click on the listing for the GPIB interface, and select Scan for Instruments. Both instruments should be found.
Unless you need IVI, I would recomend you download and install the native LabVIEW instrument driver from here. In the instrument driver, there are a couple of top level examples. One is called HPE3631A Application Example 1. Open this. In the upper left, there is a control labeled VISA Session. Click on the arrow on the right side and you will get a list of all VISA resources. This will list the com and parallel ports and also your instruments. The instruments will be listed something like GPIB0::n::INSTR where n is the address that you assigned to them. Pick one of the instruments. Change the voltage and current to something and then run the VI. Your power supply output should change. Look at how the example is constructed and look at all of the subVIs in the driver. With contect help turned on, you'll get a description of what each subVI does when you move the mouse of the subVI's icon and what the controls/indicators are when you move the mouse over them. Good luck.
Message Edited by Dennis Knutson on 08-03-2005 07:34 AM
08-03-2005 11:54 PM
Thanks Dennis.
I think this was all the help I needed. Nice to see that this forum actually works.
Peter