Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.
I used the rear panel with 2-wires tri-axial cables connected with FORCE HI and FORCE LO.
The KE2450 error was shown -286 code (attemp to perform arithmetic on field '?' / nil value)
Also 4914 (index exceeds maximum reading b store in buffer).
- Keithley Applications
- Posts: 1262
- Joined: October 15th, 2010, 10:35 am
- Country: United States
Most likely it is in the for/next loop that walks through the data to determine max power, current and voltage.
The for loop uses: for i = 1, num do...
However, if the number of points in buffer is less than num, you will get the error you describe.
Change the for loop to: for i = 1, defbuffer1.n do...
The ".n" property is how many points in buffer.
Why might the points in buffer be less than the value assigned to num?
The "smu.source.sweeplinear" function has optional parameter for abort on compliance. By default it is set to ON.
So if the sweeplinear is expected to do "num" points, but the compliance was encountered, the resulting buffer will have fewer than "num" points and you will have a logic error when processing the buffer.
Who is online
Users browsing this forum: No registered users and 2 guests