02-07-2014 09:04 AM
Dear all,
Can anyone please help me with my problem?
I wrote a code for a Keithley 2200 DC power supplies. In one of the first steps of the program, current and voltage are measured, then it goes to next step. In this step I want to do the followings:
1- Set current (e.g. I= 100 mA) and read voltage
2- If the voltage fluctuations are less than 0.1V , Divide current by 2 ( I ---> I ÷ 2, e.g. I = 100÷2=50 mA)
3- Set new current on 50 mA
4- Read voltage
5- Again, if the voltage fluctuations were less than 0.1V, Divide current by 2 (e.g. 50÷2= 25 mA)
6-Set new current on 25 mA
7-Read voltage
8- Continue this process until final voltage is reached (We determine the final voltage ourself)
I do not know if my program is working as I want!
Please let me know if you can help.
Best regards.
02-07-2014 09:21 AM
02-07-2014 09:25 AM
Thanks for your consideration,
Sorry but I do not see your response!
02-07-2014 09:38 AM
Then check the OTHER thread you started on this same topic.
Cameron