Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

interface 4284a using gpib

Ok, I think once we followed your diagram we made the necessary corrections and it works now! Thanks a lot. If we have anymore questions we'll be back asking you. Thanks again.
0 Kudos
Message 11 of 16
(1,803 Views)
Ok, we ran into another problem. Apparently it does not like the Initialize.vi. We followed your diagram and made the necessary corrections, but it is now showing an error for Visa Open, and we have no idea what the problem really is. Apparently there is no input to the GPIB. I found a much older thread from 2002 where another member mentioned that if you want to communicate with the instrument you need the Initialize VI and wire the VISA and error out terminals to subsequent "config" action" vis. Then the last vi in the chain should be the close vi. I dont' see a close vi in our chain. Thanks.

Attached is the screenshot of our Initialize VI block window and front panel showing the error code.

Thanks again.
Download All
0 Kudos
Message 12 of 16
(1,790 Views)

The control that you've entered the VISA resource name into is the old string control that is no longer wired to anything. Go back to the diagram and delete it. Go to the actual VISA Resource Name (the brown colored control), right click on it an select Show Control. Find it on the front panel. Using the wiring tool, connect this control to the upper leftmost position on the VI's connector pane.

I'm still not sure what exactly is going on. The llb I attached had the correct wiring and everything else for the initialize function.

0 Kudos
Message 13 of 16
(1,776 Views)
Sorry, we had deleted that old resource. What exactly do you mean upper left of the connector pane...do you mean the upper left of the VISA open? If you could highlight that on the block diagram that would be appreciated. Thanks again.
0 Kudos
Message 14 of 16
(1,769 Views)

If you right click on a VI's icon, you can select "Show Connector". You have to wire controls and indicators to this connector pane in order to send/get data from a main VI to a subVI. To make a connection, you use the wiring tool. Click first on a blank connection in the connector pane and then on the control/indicator.

Message Edited by Dennis Knutson on 06-08-2006 09:25 AM

0 Kudos
Message 15 of 16
(1,767 Views)
Ok, we finished all that, and it works. However, we are trying to run "Bias Step Measurement.vi" and are having a hard time getting communication between the hardware and labview. When we put 1e+6 in as a frequency, the frequency on the hardware still reads 1.0 kHz. Our data is just a flush line along the 0 values. I think we just have instrument problems now. Thanks again.
0 Kudos
Message 16 of 16
(1,759 Views)