10-04-2011 04:11 AM
Thanks
Hi everyone,
I have made a program to measure the IV. The reading is from -1V to 1V and 200 steps. Initially, there is no problem at all. However, when it is at 100th step, the magnitude of I becomes the magnitude of V, vice versa. Besides, the magnitude with e-10 or above cannot be measured sometimes and it shows zero in both I and V. I don't know what is the problem and he solution. Please advice. Ther are two attachments. The interface 1 is the interface I usually use to measure IV. The interface 2 is the Keithley interface.
10-06-2011 10:50 AM
Hey Eli,
I'm not sure why your values seem to switch but I can recommend some debuggint tools to help out. I assume you have already tried highlight execution, if you haven't it is a wonderful tool. Another great tool to find out the particulars of what is happening in your code is a probe/breakpoints. You can set a custom probe to pause the code when certain conditions are met, and then you can slowly step through the code and follow exactly what is happening. For details about their use just look up "Debugging Techniques in the search of the LabVIEW help.
Kyle K.