LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My code looks normal as it should, but when executing, it does not do the job!

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.

0 Kudos
Message 1 of 4
(2,351 Views)

Thanks for your consideration,

 

Sorry but I do not see your response! 

 

0 Kudos
Message 3 of 4
(2,334 Views)

Then check the OTHER thread you started on this same topic.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 4 of 4
(2,320 Views)