Hi. Thanks a lot for posting this. I have the 2015 and now I can do automated THD measurements from within Matlab - so I really appreciate you taking the effort to post this. Sometimes you just need someone to point you in the right direction to get something done. I think I'll transfer the code to Python and get Matlab to call Python, that way I can have generic Python scripts which can be called from different programs.
Very nice video. I assume you used a straight through rs232 cable? I am trying to connect a 2400 to Windows XP. I used a straight through cable and used hyperterminal and mttty to debug. The REM showed on the 2400 but also 101 or 103 error message. Did I miss anything?
Envy is a sin, but holy cow do I ever wish an instrument like that was within my (economical) reach ;-) I have a decent lab, no complaints there, however I can still think of several situations where a box like this would come in handy :-)
I feel dumb for asking this… I understand the importance of characterizing base components. But I was always a bit confused regarding smu's Most smu's I've seen only put out a very low amount of power usually under 20 Watts Obviously helpful for characterizing components but wouldn't it be more useful to have a source meter capable of higher powers? So that other pieces of test equipment and devices needing higher power could be tested and characterized? I feel really dumb asking this but any input would be greatly appreciated.
Hi, This code really helped me a lot. Do you think by modifying this code, I can use two Keithley 2400 together to get the transfer curve for a transistor?
Hello, would you be able to set this code up to make resistance measurements over a period of time? I am new to this, and am wondering if i just need to list a command with my time parameters. Thanks!
hi thank you very much! if i want to measure more points and i change the numberofsteps something goes wrong in the graph. do you know this problem and how to fix? thanks again
Hi, I have tried to use different SMUs during a couple of years and I don't understand them. I think it would be good to have a hands on tutorial. Can you make that? (Scripts and programs are very nice but it say anything about how complicated the instrument is to use. Did you spend 15 minutes or 15 hours making that script?) Yes, I have done several successful measurements with SMUs. But I have cheated a lot. I think the problem is my (and many others) mindset. I see the SMU as a PSU + DMM + some extra things... And PSUs are easy to use. Just turn them on, dial in the voltage and things start to work. So, when I try to configure the "SMU-PSU" as a voltage source and the "SMU-DMM" as a current meter to test my diode I get nothing out. It doesn't work. Then I try to add some parameters here and there, that I think can help, but it isn't. After 30 minutes of fiddeling, it starts working, and I don't understand why. I think the +10 lines for configuring the instrument in the video has a lot to tell here. The SMU is very special. So, I would like to have an introduction on HOW TO THINK when using an SMU. It shouldn't be that complicated. I just need to understand what is happening under the hood. (In the Keithely 2450 they have added quick settings that I really like. Keithley know the instrument is difficult to use.) Cheers, /Sören
Dear IMSAI Guy, with your code, I am ecnoutering an error which says that "The input buffer was filled before the Terminator was reached". Can please tell me how to solve it.
yes it is, but here it is again: close all clear all maxcurrent = 0.030; %set max current in Amps minvoltage = 8; %set min voltage maxvoltage = 9; %set max voltage numberofsteps=18; numsteps=num2str(numberofsteps+1); maxv=num2str(maxvoltage); maxc=num2str(maxcurrent); stepc=num2str(maxcurrent/numberofsteps); stepv=num2str((maxvoltage-minvoltage)/numberofsteps); minv=num2str(minvoltage); obj1=serial('COM4','baudrate',19200,'terminator',13); % Model 2400 Specific Functions % Sweep current and measure back voltage fopen(obj1) fprintf(obj1,':*RST') % setup the 2400 to generate an SRQ on buffer full fprintf(obj1,':*ESE 0') fprintf(obj1,':*CLS') fprintf(obj1,':STAT:MEAS:ENAB 1024') fprintf(obj1,':*SRE 1') % buffer set up fprintf(obj1,':TRAC:CLE') fprintf(obj1,[':TRAC:POIN ' numsteps]) % buffer size % Set up the Sweep fprintf(obj1,':SOUR:FUNC:MODE VOLT') fprintf(obj1,[':SOUR:VOLT:STAR ' minv]) fprintf(obj1,[':SOUR:VOLT:STOP ' maxv]) fprintf(obj1,[':SOUR:VOLT:STEP ' stepv]) fprintf(obj1,':SOUR:CLE:AUTO ON') fprintf(obj1,':SOUR:VOLT:MODE SWE') fprintf(obj1,':SOUR:SWE:SPAC LIN') fprintf(obj1,':SOUR:DEL:AUTO OFF') fprintf(obj1,':SOUR:DEL 0.10') fprintf(obj1,':SENS:FUNC "CURR"') fprintf(obj1,':SENS:FUNC:CONC ON') fprintf(obj1,':SENS:CURR:RANG:AUTO ON') %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % IMPORTANT: if the unit goes into compliance, % adjust the compliance or the range value fprintf(obj1,[':SENS:CURR:PROT:LEV ' maxc]) % voltage compliance % if maxvoltage>20 % fprintf(obj1,':SENS:VOLT:RANG 200') % volt measurement range % else % fprintf(obj1,':SENS:VOLT:RANG 20') % volt measurement range % end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fprintf(obj1,':SENS:CURR:NPLC 1') fprintf(obj1,':FORM:ELEM:SENS VOLT,CURR') fprintf(obj1,[':TRIG:COUN ' numsteps]) fprintf(obj1,':TRIG:DEL 0.001') fprintf(obj1,':SYST:AZER:STAT OFF') fprintf(obj1,':SYST:TIME:RES:AUTO ON') fprintf(obj1,':TRAC:TST:FORM ABS') fprintf(obj1,':TRAC:FEED:CONT NEXT') fprintf(obj1,':OUTP ON') fprintf(obj1,':INIT') % Used the serail poll function to wait for SRQ pause(2); fprintf(obj1,':TRAC:DATA?') % %C=fscanf(obj1,%f%); B = fscanf(obj1); A = str2num(B); % % % parse the data & plot Curr=A(2:2:size(A,2)); Volts=A(1:2:size(A,2)-1); % figure(1); %line([minvoltage maxvoltage],[max(Curr) max(Curr)],'color','g','linewidth',5) hold on plot(Volts,Curr,':bo','LineWidth',0.5,... 'MarkerEdgeColor','k',... 'MarkerFaceColor','r',... 'MarkerSize',5) ylabel('Measured-current (A)'),xlabel('Source-volts (V)') title('Keithley 2400: Sweeps V & Measure I'); grid on % reset all the registers & clean up % if the registers are not properly reset, % subsequent runs will not work! fprintf(obj1,'*RST') fprintf(obj1,':*CLS ') fprintf(obj1,':*SRE 0') % % make sure STB bit is 0 % STB = query(obj1, '*STB?'); fclose(obj1) delete(obj1) clear obj1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@MuhammadSalman-dh1uk close all clear all maxcurrent = 0.030; %set max current in Amps minvoltage = 8; %set min voltage maxvoltage = 9; %set max voltage numberofsteps=18; numsteps=num2str(numberofsteps+1); maxv=num2str(maxvoltage); maxc=num2str(maxcurrent); stepc=num2str(maxcurrent/numberofsteps); stepv=num2str((maxvoltage-minvoltage)/numberofsteps); minv=num2str(minvoltage); obj1=serial('COM4','baudrate',19200,'terminator',13); % Model 2400 Specific Functions % Sweep current and measure back voltage fopen(obj1) fprintf(obj1,':*RST') % setup the 2400 to generate an SRQ on buffer full fprintf(obj1,':*ESE 0') fprintf(obj1,':*CLS') fprintf(obj1,':STAT:MEAS:ENAB 1024') fprintf(obj1,':*SRE 1') % buffer set up fprintf(obj1,':TRAC:CLE') fprintf(obj1,[':TRAC:POIN ' numsteps]) % buffer size % Set up the Sweep fprintf(obj1,':SOUR:FUNC:MODE VOLT') fprintf(obj1,[':SOUR:VOLT:STAR ' minv]) fprintf(obj1,[':SOUR:VOLT:STOP ' maxv]) fprintf(obj1,[':SOUR:VOLT:STEP ' stepv]) fprintf(obj1,':SOUR:CLE:AUTO ON') fprintf(obj1,':SOUR:VOLT:MODE SWE') fprintf(obj1,':SOUR:SWE:SPAC LIN') fprintf(obj1,':SOUR:DEL:AUTO OFF') fprintf(obj1,':SOUR:DEL 0.10') fprintf(obj1,':SENS:FUNC "CURR"') fprintf(obj1,':SENS:FUNC:CONC ON') fprintf(obj1,':SENS:CURR:RANG:AUTO ON') %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % IMPORTANT: if the unit goes into compliance, % adjust the compliance or the range value fprintf(obj1,[':SENS:CURR:PROT:LEV ' maxc]) % voltage compliance % if maxvoltage>20 % fprintf(obj1,':SENS:VOLT:RANG 200') % volt measurement range % else % fprintf(obj1,':SENS:VOLT:RANG 20') % volt measurement range % end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fprintf(obj1,':SENS:CURR:NPLC 1') fprintf(obj1,':FORM:ELEM:SENS VOLT,CURR') fprintf(obj1,[':TRIG:COUN ' numsteps]) fprintf(obj1,':TRIG:DEL 0.001') fprintf(obj1,':SYST:AZER:STAT OFF') fprintf(obj1,':SYST:TIME:RES:AUTO ON') fprintf(obj1,':TRAC:TST:FORM ABS') fprintf(obj1,':TRAC:FEED:CONT NEXT') fprintf(obj1,':OUTP ON') fprintf(obj1,':INIT') % Used the serail poll function to wait for SRQ pause(2); fprintf(obj1,':TRAC:DATA?') % %C=fscanf(obj1,%f%); B = fscanf(obj1); A = str2num(B); % % % parse the data & plot Curr=A(2:2:size(A,2)); Volts=A(1:2:size(A,2)-1); % figure(1); %line([minvoltage maxvoltage],[max(Curr) max(Curr)],'color','g','linewidth',5) hold on plot(Volts,Curr,':bo','LineWidth',0.5,... 'MarkerEdgeColor','k',... 'MarkerFaceColor','r',... 'MarkerSize',5) ylabel('Measured-current (A)'),xlabel('Source-volts (V)') title('Keithley 2400: Sweeps V & Measure I'); grid on % reset all the registers & clean up % if the registers are not properly reset, % subsequent runs will not work! fprintf(obj1,'*RST') fprintf(obj1,':*CLS ') fprintf(obj1,':*SRE 0') % % make sure STB bit is 0 % STB = query(obj1, '*STB?'); fclose(obj1) delete(obj1) clear obj1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@IMSAIGuy My apologies, I should've clicked on 'Read more' as that is where the code is hiding ;). By the way, you mentioned github in your video. Is the actual m-file there, and if so, could you post a link?
Hello IMSAI guy, your program help me very much with my investigation, Can you please help me to extract the data so i can do graphics in origin or excel? or how can i modify the program, i am new in mathlab
Hi. Thanks a lot for posting this.
I have the 2015 and now I can do automated THD measurements from within Matlab - so I really appreciate you taking the effort to post this.
Sometimes you just need someone to point you in the right direction to get something done.
I think I'll transfer the code to Python and get Matlab to call Python, that way I can have generic Python scripts which can be called from different programs.
I've had good luck with matlab but hit or miss using Octive. Let me know if you ever use that platform
Very nice video. I assume you used a straight through rs232 cable? I am trying to connect a 2400 to Windows XP. I used a straight through cable and used hyperterminal and mttty to debug. The REM showed on the 2400 but also 101 or 103 error message. Did I miss anything?
Envy is a sin, but holy cow do I ever wish an instrument like that was within my (economical) reach ;-) I have a decent lab, no complaints there, however I can still think of several situations where a box like this would come in handy :-)
Never mind. I saw you use rs232 to usb converter. I tried that too but with ftdi chip instead ch340 chip.
I feel dumb for asking this…
I understand the importance of characterizing base components. But I was always a bit confused regarding smu's
Most smu's I've seen only put out a very low amount of power usually under 20 Watts
Obviously helpful for characterizing components but wouldn't it be more useful to have a source meter capable of higher powers?
So that other pieces of test equipment and devices needing higher power could be tested and characterized?
I feel really dumb asking this but any input would be greatly appreciated.
read the datasheet. it outputs more power than you think
www.testequipmentdepot.com/keithley/pdfs/2400_datasheet.pdf
12:02 LED people . Had a good laugh . That's a good one !
Hi,
This code really helped me a lot. Do you think by modifying this code, I can use two Keithley 2400 together to get the transfer curve for a transistor?
sure, one to set base current, the other do measure the curve
Happy follower of your nice videos!!! Coincidentally I bumped into your LED test boxes. Well guess for which company I am working now (as an IT guy).
dutch last name? I can guess
Hello, would you be able to set this code up to make resistance measurements over a period of time? I am new to this, and am wondering if i just need to list a command with my time parameters.
Thanks!
Nice share. How to stay at the voltage when the sweep finished? Currently it shuts everything down.
hi thank you very much!
if i want to measure more points and i change the numberofsteps something goes wrong in the graph.
do you know this problem and how to fix? thanks again
Hi,
I have tried to use different SMUs during a couple of years and I don't understand them. I think it would be good to have a hands on tutorial. Can you make that?
(Scripts and programs are very nice but it say anything about how complicated the instrument is to use. Did you spend 15 minutes or 15 hours making that script?)
Yes, I have done several successful measurements with SMUs. But I have cheated a lot.
I think the problem is my (and many others) mindset. I see the SMU as a PSU + DMM + some extra things...
And PSUs are easy to use. Just turn them on, dial in the voltage and things start to work.
So, when I try to configure the "SMU-PSU" as a voltage source and the "SMU-DMM" as a current meter to test my diode I get nothing out. It doesn't work.
Then I try to add some parameters here and there, that I think can help, but it isn't. After 30 minutes of fiddeling, it starts working, and I don't understand why.
I think the +10 lines for configuring the instrument in the video has a lot to tell here.
The SMU is very special.
So, I would like to have an introduction on HOW TO THINK when using an SMU.
It shouldn't be that complicated. I just need to understand what is happening under the hood.
(In the Keithely 2450 they have added quick settings that I really like. Keithley know the instrument is difficult to use.)
Cheers,
/Sören
I have this: ruclips.net/video/qFVhe_uzxnE/видео.html
they have a quick guide: www.tek.com/en/keithley-source-measure-units/smu-2400-series-sourcemeter-manual/2400-series-sourcemeter-quick-start
How I can measure i-v characteristics from source meter and which software I install in attached copmuter?
ruclips.net/video/FWyl51g8_CE/видео.htmlsi=4IkheJrbIkkgJQw0
in the description is github site where you will find IV code
Thank you for this work , could you say that which version of matlab did u use?
I don't know, fairly old. I tried to get GNU Octave running the code, but the RS232 are quite different and had problems.
@@IMSAIGuy thank you i tried also it gives many errors
@@gulcindonmez2042 which usb to 488 converter are you using?
@@IMSAIGuy usb to rs232
@@gulcindonmez2042 oh, rs232 is much easier. I would keep trying
Dear IMSAI Guy, with your code, I am ecnoutering an error which says that "The input buffer was filled before the Terminator was reached". Can please tell me how to solve it.
Can we extract data with out matlab?
yes, I have used python. you can use RS232 or GPIB and doesn't matter what programming language you used to do that.
I love your video! Could you please share the GitHub link of the Matlab source code used in this video?
read down the comments, I put the code there
Hi . I want to use Keithley source meter to get the V-I characteristic of laboratory-based fuel cell and solar cell, will it be possible to get it ?
you want to sink current and measure voltage? You will need to check the specs of the 2400. The current range may be too low for your application.
how to use GPIB
Does it have a linear power supply
No it has switchers but non standard: xdevs.com/fix/kei2400/#mainsp
So it's has a switch mode power supply
I thought this would only work with LabVIEW. Thanks
Can you plz share the code? It is not down there.
yes it is, but here it is again:
close all
clear all
maxcurrent = 0.030; %set max current in Amps
minvoltage = 8; %set min voltage
maxvoltage = 9; %set max voltage
numberofsteps=18;
numsteps=num2str(numberofsteps+1);
maxv=num2str(maxvoltage);
maxc=num2str(maxcurrent);
stepc=num2str(maxcurrent/numberofsteps);
stepv=num2str((maxvoltage-minvoltage)/numberofsteps);
minv=num2str(minvoltage);
obj1=serial('COM4','baudrate',19200,'terminator',13);
% Model 2400 Specific Functions
% Sweep current and measure back voltage
fopen(obj1)
fprintf(obj1,':*RST')
% setup the 2400 to generate an SRQ on buffer full
fprintf(obj1,':*ESE 0')
fprintf(obj1,':*CLS')
fprintf(obj1,':STAT:MEAS:ENAB 1024')
fprintf(obj1,':*SRE 1')
% buffer set up
fprintf(obj1,':TRAC:CLE')
fprintf(obj1,[':TRAC:POIN ' numsteps]) % buffer size
% Set up the Sweep
fprintf(obj1,':SOUR:FUNC:MODE VOLT')
fprintf(obj1,[':SOUR:VOLT:STAR ' minv])
fprintf(obj1,[':SOUR:VOLT:STOP ' maxv])
fprintf(obj1,[':SOUR:VOLT:STEP ' stepv])
fprintf(obj1,':SOUR:CLE:AUTO ON')
fprintf(obj1,':SOUR:VOLT:MODE SWE')
fprintf(obj1,':SOUR:SWE:SPAC LIN')
fprintf(obj1,':SOUR:DEL:AUTO OFF')
fprintf(obj1,':SOUR:DEL 0.10')
fprintf(obj1,':SENS:FUNC "CURR"')
fprintf(obj1,':SENS:FUNC:CONC ON')
fprintf(obj1,':SENS:CURR:RANG:AUTO ON')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% IMPORTANT: if the unit goes into compliance,
% adjust the compliance or the range value
fprintf(obj1,[':SENS:CURR:PROT:LEV ' maxc]) % voltage compliance
% if maxvoltage>20
% fprintf(obj1,':SENS:VOLT:RANG 200') % volt measurement range
% else
% fprintf(obj1,':SENS:VOLT:RANG 20') % volt measurement range
% end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fprintf(obj1,':SENS:CURR:NPLC 1')
fprintf(obj1,':FORM:ELEM:SENS VOLT,CURR')
fprintf(obj1,[':TRIG:COUN ' numsteps])
fprintf(obj1,':TRIG:DEL 0.001')
fprintf(obj1,':SYST:AZER:STAT OFF')
fprintf(obj1,':SYST:TIME:RES:AUTO ON')
fprintf(obj1,':TRAC:TST:FORM ABS')
fprintf(obj1,':TRAC:FEED:CONT NEXT')
fprintf(obj1,':OUTP ON')
fprintf(obj1,':INIT')
% Used the serail poll function to wait for SRQ
pause(2);
fprintf(obj1,':TRAC:DATA?')
%
%C=fscanf(obj1,%f%);
B = fscanf(obj1);
A = str2num(B);
%
% % parse the data & plot
Curr=A(2:2:size(A,2));
Volts=A(1:2:size(A,2)-1);
%
figure(1);
%line([minvoltage maxvoltage],[max(Curr) max(Curr)],'color','g','linewidth',5)
hold on
plot(Volts,Curr,':bo','LineWidth',0.5,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','r',...
'MarkerSize',5)
ylabel('Measured-current (A)'),xlabel('Source-volts (V)')
title('Keithley 2400: Sweeps V & Measure I');
grid on
% reset all the registers & clean up
% if the registers are not properly reset,
% subsequent runs will not work!
fprintf(obj1,'*RST')
fprintf(obj1,':*CLS ')
fprintf(obj1,':*SRE 0')
% % make sure STB bit is 0
% STB = query(obj1, '*STB?');
fclose(obj1)
delete(obj1)
clear obj1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@IMSAIGuy Thanks, it works. Can you also share the source current measure voltage code?
Can you share MATLAB code??
MATLAB version?
@@MuhammadSalman-dh1uk close all
clear all
maxcurrent = 0.030; %set max current in Amps
minvoltage = 8; %set min voltage
maxvoltage = 9; %set max voltage
numberofsteps=18;
numsteps=num2str(numberofsteps+1);
maxv=num2str(maxvoltage);
maxc=num2str(maxcurrent);
stepc=num2str(maxcurrent/numberofsteps);
stepv=num2str((maxvoltage-minvoltage)/numberofsteps);
minv=num2str(minvoltage);
obj1=serial('COM4','baudrate',19200,'terminator',13);
% Model 2400 Specific Functions
% Sweep current and measure back voltage
fopen(obj1)
fprintf(obj1,':*RST')
% setup the 2400 to generate an SRQ on buffer full
fprintf(obj1,':*ESE 0')
fprintf(obj1,':*CLS')
fprintf(obj1,':STAT:MEAS:ENAB 1024')
fprintf(obj1,':*SRE 1')
% buffer set up
fprintf(obj1,':TRAC:CLE')
fprintf(obj1,[':TRAC:POIN ' numsteps]) % buffer size
% Set up the Sweep
fprintf(obj1,':SOUR:FUNC:MODE VOLT')
fprintf(obj1,[':SOUR:VOLT:STAR ' minv])
fprintf(obj1,[':SOUR:VOLT:STOP ' maxv])
fprintf(obj1,[':SOUR:VOLT:STEP ' stepv])
fprintf(obj1,':SOUR:CLE:AUTO ON')
fprintf(obj1,':SOUR:VOLT:MODE SWE')
fprintf(obj1,':SOUR:SWE:SPAC LIN')
fprintf(obj1,':SOUR:DEL:AUTO OFF')
fprintf(obj1,':SOUR:DEL 0.10')
fprintf(obj1,':SENS:FUNC "CURR"')
fprintf(obj1,':SENS:FUNC:CONC ON')
fprintf(obj1,':SENS:CURR:RANG:AUTO ON')
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% IMPORTANT: if the unit goes into compliance,
% adjust the compliance or the range value
fprintf(obj1,[':SENS:CURR:PROT:LEV ' maxc]) % voltage compliance
% if maxvoltage>20
% fprintf(obj1,':SENS:VOLT:RANG 200') % volt measurement range
% else
% fprintf(obj1,':SENS:VOLT:RANG 20') % volt measurement range
% end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
fprintf(obj1,':SENS:CURR:NPLC 1')
fprintf(obj1,':FORM:ELEM:SENS VOLT,CURR')
fprintf(obj1,[':TRIG:COUN ' numsteps])
fprintf(obj1,':TRIG:DEL 0.001')
fprintf(obj1,':SYST:AZER:STAT OFF')
fprintf(obj1,':SYST:TIME:RES:AUTO ON')
fprintf(obj1,':TRAC:TST:FORM ABS')
fprintf(obj1,':TRAC:FEED:CONT NEXT')
fprintf(obj1,':OUTP ON')
fprintf(obj1,':INIT')
% Used the serail poll function to wait for SRQ
pause(2);
fprintf(obj1,':TRAC:DATA?')
%
%C=fscanf(obj1,%f%);
B = fscanf(obj1);
A = str2num(B);
%
% % parse the data & plot
Curr=A(2:2:size(A,2));
Volts=A(1:2:size(A,2)-1);
%
figure(1);
%line([minvoltage maxvoltage],[max(Curr) max(Curr)],'color','g','linewidth',5)
hold on
plot(Volts,Curr,':bo','LineWidth',0.5,...
'MarkerEdgeColor','k',...
'MarkerFaceColor','r',...
'MarkerSize',5)
ylabel('Measured-current (A)'),xlabel('Source-volts (V)')
title('Keithley 2400: Sweeps V & Measure I');
grid on
% reset all the registers & clean up
% if the registers are not properly reset,
% subsequent runs will not work!
fprintf(obj1,'*RST')
fprintf(obj1,':*CLS ')
fprintf(obj1,':*SRE 0')
% % make sure STB bit is 0
% STB = query(obj1, '*STB?');
fclose(obj1)
delete(obj1)
clear obj1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@MuhammadSalman-dh1uk 7.0.1
@@IMSAIGuy thanks
Great demos! Can you share MATLAB code?
look down in the comments. I already did.
@@IMSAIGuy My apologies, I should've clicked on 'Read more' as that is where the code is hiding ;). By the way, you mentioned github in your video. Is the actual m-file there, and if so, could you post a link?
@@jeffmiskimins2357 no not there
Hi, excellent work.
Can u share the VI.m code?
In the comments down below
How to change code to GPIB connection?
As I wish to use GPIB
@@jerrylicojl4651 You are on your own.
Could you Please share the Matlab code !!!
look down the comments. it is there
can you share code pls
look down the comments, it is there
Hello IMSAI guy, your program help me very much with my investigation, Can you please help me to extract the data so i can do graphics in origin or excel? or how can i modify the program, i am new in mathlab
www.mathworks.com/help/matlab/import_export/exporting-to-excel-spreadsheets.html
@@IMSAIGuy Thanks!
i just want o set up as a dmm without auto
set current mode, I=0, measure V
Bhai Hindi Mai bol sakte ho kya 😅