Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Sam

Hello. This is the first time I am posting my message here. I have gone through some sample questions and answers on this website,
and it is very useful. I would like to ask this thing. I want to give voltage sweeps in steps of say 0.5V upto 10 V and measure current at
the same time at that particular voltage, and also simultaneously plot a graph displaying IV Curve. Now, I have been successful in giving
a voltage by an external voltage source, and measure current using labview. But instead, I want the labview program to give voltage and
measure current. Can any one be able to explain how can I go about this? Since, my small program is running, it means the GPIB, computer
and the external voltage source are talking to each other. But I am not able to tell the KEITHLEY 6487 to give voltage and measure current
on its own. I am aware that I have to use the while loop somewhere, but unable to figure out where. I will attach a part of my labview program
which is running, which reads current only. If any one does have idea about this, it would be very helpful for me. Looking forward to reading you.
Sincerely, Sam.
 
 
0 Kudos
Message 1 of 4
(3,662 Views)
Hello Sam,

This really depends.

1) If your voltage source is controllable by serial, gpib, usb, etc..., you can set up a for loop that lets you increment your voltage from 0.5 to 10V and then do the same reading you're doing right now.

2) If your voltage source in not controllable by LabVIEW, then you may want to consider picking up a DAQ card that allows 0-10V analog output. That would be easily controlled by LabVIEW, and you would do the same as mentioned above (use a for loop).

Regards,
Matt S

If you need more help with this please let us know!

LabVIEW Integration Engineer with experience in LabVIEW Real-Time, LabVIEW FPGA, DAQ, Machine Vision, as well as C/C++. CLAD, working on CLD and CLA.
0 Kudos
Message 2 of 4
(3,629 Views)
Hi,

as always, the best way is to experiment via a direct GPIB dialog by
sending ASCII commands to each device and see the response.
You can find one direct dialog at www.labtab.com/ni_gpib0. You will
only need a device at GPIB address 1 and an NI GPIB board declared as
GPIB0.
Send a command with Output and see the results with Enter ... And do
not forget the time taken by the instrument to respond since you must
wait at least this.

Regards

FG

0 Kudos
Message 3 of 4
(3,608 Views)


f.grasdepot@laposte.net wrote:
Hi,

as always, the best way is to experiment via a direct GPIB dialog by
sending ASCII commands to each device and see the response.
You can find one direct dialog at www.labtab.com/ni_gpib0. You will
only need a device at GPIB address 1 and an NI GPIB board declared as
GPIB0.
Send a command with Output and see the results with Enter ... And do
not forget the time taken by the instrument to respond since you must
wait at least this.

Regards

FG



You don't need to use LabTab to do this. MAX has this feature.
Message 4 of 4
(3,594 Views)