03-04-2014 01:45 AM
Hello All,
I have made a labview program to operate both the devices i.e. Keithley 237 and Keithley 2410 simaltanously where K-237 is being used as Sourcemeter and Keithley 2410 as an Ammeter. However, K-237 is not able to read the current and K-2410 is also showing only one value. So I am not able to debug which command is conflicting.
The Commands which I am using for K-237 sourcemeter:
F0,1X
L10e-3,7X
B400,4,500X
Q1,0,200,5,4,500X
Q7,200,400,5,4,500X
T2,0,4,1X
R1X
N1X
G5,0,2X
V1X
H0X
The Commands for K-2410:
*RST;
:SOUR:FUNC VOLT;
:SOUR:VOLT 0;
:SENS:FUNC "CURR";
:SENS:CURR:RANG 10E-6;
:DISP:DIG 5;
:OUTP ON;
:READ?;
:OUTP OFF;
Please suggest me something to debug this in right direction.
03-04-2014 01:51 AM
sorry in place of smiley it is :S.
Please reply fast!!!
03-04-2014 01:51 AM
it is : S
03-04-2014 01:52 AM - edited 03-04-2014 02:01 AM
Hi,
Is your devices connected to your PC? If so, what did you use to connect your PC to the Keithley devices? Are you sending command via GPIB?
Have you tried testing them individually?
Do you have a VI which we can look at for us to see what is the problem?
Here's some additional info that might help you:
http://digital.ni.com/public.nsf/allkb/0A12C1142461275A86256FC0001D932E
http://digital.ni.com/public.nsf/allkb/0A12C1142461275A86256FC0001D932E
I'll presume that the command you used for those devices are correct.
Warmest regards,
Lennard.C
03-04-2014 02:04 AM
Thanks for your quick reply!!!!
Actually I am using VISA to operate these devices. The VI is attached.
Please suggest something.
03-04-2014 02:16 AM - edited 03-04-2014 02:17 AM
Hi,
Are you running the code once? It seems that you are running your code once. 2 things that I think you should try:
Warmest regards,
Lennard.C
03-04-2014 03:58 AM
Hello,
I have made this program according to your suggestion but I am not sure is it correct or not. So can you please check and tell me whether it is wrong or right. Actually I am not so perfect in programming.
03-04-2014 04:21 AM
Hi,
Actually, that's not what I meant. What I was trying to say is something like the below screenshot:
I just use concatenate strings and end of the line constant to create a few line sentance. I also added a while loop to let it run continuously and error cluster indicator to see where the problem lies (if any).
Just try it out. I'm not sure if that work unless I try it out myself.
Warmest regards,
Lennard.C
03-04-2014 04:21 AM - edited 03-04-2014 04:24 AM
Hi,
Additionally, have you tried operate two devices k-237 and k-2410 individually? Like 1 Vi for K 237 to see if you get any reading and then run another Vi for K2410 to see if it works.
Warmest regards,
Lennard.C
03-04-2014 04:28 AM
Yes I have tried , still then it is not showing any reading on device k-237 but storing abrupt data in file.