Good morning,
I am new to TSP coding. I am setting up a 2651A to do a current pulse "sweep" (multiple current levels). Here is the code I am sending to the 2651A (using a LabVIEW VISA Write):
-- Create a fixed level voltage sweep.
smua.trigger.source.listi({0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,0.100000,19.000000})
smua.trigger.source.action = smua.ENABLE
smua.source.rangei = 10.000000
smua.trigger.measure.action = smua.DISABLE
I have confirmed that the data is setting properly (at least I think) based on being able to read back the rangei using
print(smua.source.rangei)
which returns the expected value.
How would I go about reading back the "smua.trigger.source.listi" values to verify they were properly set? I have tried various combinations of print() and printbuffer() and have been unsuccessful in getting a response. I also tried creating a variable, setting it equal to the list, and then reading it back but have been unsuccessful with that. This is what I tried:
READING = smua.trigger.source.listi
printbuffer(1,2,READING)
Can someone guide me in how to read back a setting that is a list like this?
Many thanks.