09-26-2022 01:28 PM
Hello everyone,
I am working on code to automate I/V sweeps using Keithley SMUs (2600 series).
I am using the official project based drivers from NI. The code is functional, but the X-Y graph only displays a portion of the data-it seems to reset with for loop iteration. I suspect that his has to do with the way that I connected the shift registers. Is there a way to wire the shift register in parallel to the outer for loop so that the X-Y graph retains all the data ?
Apologies for the state of the code and thanks in advance.
09-26-2022 01:38 PM
Hi 2400fan,
@keithley2400fan wrote:
The code is functional, but the X-Y graph only displays a portion of the data-it seems to reset with for loop iteration.
Apologies for the state of the code and thanks in advance.
There are two XYGraphs and one waveform chart: which one are you talking about? None of them is labelled "X-Y graph"…
Yes, that code requires apologies for its state way too many locals, way too many sequence frames!
@keithley2400fan wrote:
I suspect that his has to do with the way that I connected the shift registers. Is there a way to wire the shift register in parallel to the outer for loop so that the X-Y graph retains all the data ?
You are right!
There are shift registers at the inner FOR loop - and they got initialized for each iteration of the outer loop. Do you want/need to initialize them for each iteration???
09-26-2022 04:16 PM
Thank you, I was able to fix the code shortly before you replied. I had connected the shift registers to the outer loop but I guess I must have connected them wrong the last time I tried that. I think it's fixed now.