We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
when writing a script I found out that a function doesn't output what it should but rather the answer to a previous command.
Example (k1 is the initialized driver):
points = len(voltage_sweep)
k1.errorqueue.clear()
k1.smub.reset()
k1.smub.source.rangev = 10 k1.smub.source.level = 0 k1.smub.source.autorangev = 0 k1.smub.source.autorangei = 0
k1.smub.measure.rangev = 10 k1.smub.measure.rangei = current_limit k1.smub.measure.autorangev = 0 k1.smub.measure.autorangei = 0
k1.smub.measure.autozero = 1
k1.smub.nvbuffer1.clear() k1.smub.nvbuffer1.appendmode = 1
k1.smub.output = 1
test = k1.ConfigPulseVMeasureI(k1.smub, 0, v_, current_limit, 5e-3, 100e-3, 1, k1.smub.nvbuffer1, 1) print(test) # -> True, this is the wrong answer test = k1.ConfigPulseVMeasureI(k1.smub, 0, v_, current_limit, 5e-3, 100e-3, 1, k1.smub.nvbuffer1, 1) print(test) # -> (True, "Pulse 1 configured") this is the expected answer
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
when writing a script I found out that a function doesn't output what it should but rather the answer to a previous command.
Example (k1 is the initialized driver):
points = len(voltage_sweep)
k1.errorqueue.clear()
k1.smub.reset()
k1.smub.source.rangev = 10
k1.smub.source.level = 0
k1.smub.source.autorangev = 0
k1.smub.source.autorangei = 0
k1.smub.measure.rangev = 10
k1.smub.measure.rangei = current_limit
k1.smub.measure.autorangev = 0
k1.smub.measure.autorangei = 0
k1.smub.measure.autozero = 1
k1.smub.nvbuffer1.clear()
k1.smub.nvbuffer1.appendmode = 1
k1.smub.output = 1
test = k1.ConfigPulseVMeasureI(k1.smub, 0, v_, current_limit, 5e-3, 100e-3, 1, k1.smub.nvbuffer1, 1)
print(test) # -> True, this is the wrong answer
test = k1.ConfigPulseVMeasureI(k1.smub, 0, v_, current_limit, 5e-3, 100e-3, 1, k1.smub.nvbuffer1, 1)
print(test) # -> (True, "Pulse 1 configured") this is the expected answer
The text was updated successfully, but these errors were encountered: