Skip to content
New issue

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

Measurement in progress error #1

Open
jessequinn opened this issue Sep 1, 2017 · 5 comments
Open

Measurement in progress error #1

jessequinn opened this issue Sep 1, 2017 · 5 comments

Comments

@jessequinn
Copy link

The following error is received:


Uploaded TSP script: output-charact.tsp
Measurement in progress...
Traceback (most recent call last):
File "./test.py", line 18, in
keithley.Output(sample)
File "/Users/jessequinn/Downloads/keithley-2636-master/k2636.py", line 180, in Output
df = self.readBuffer()
File "/Users/jessequinn/Downloads/keithley-2636-master/k2636.py", line 104, in readBuffer
vg = [float(x) for x in self._query('printbuffer(1, smub.nvbuffer1.n, smub.nvbuffer1.sourcevalues)').split(',')]
File "/Users/jessequinn/Downloads/keithley-2636-master/k2636.py", line 104, in
vg = [float(x) for x in self._query('printbuffer(1, smub.nvbuffer1.n, smub.nvbuffer1.sourcevalues)').split(',')]
ValueError: could not convert string to float:

The following was modified in the output-charact.tsp

-- PARAMETERS
Vdmin = 0.0
Vdmax = -1.0
Vdstep = 0.1

Vgmin = 0.0
Vgmax = -1.0
Vgstep = 0.1

Any idea what is causing this? I am using MAC OSX with the following address 'USB0::0x05E6::0x2636::4042049::INSTR' to the Keithley 2636B

@jessequinn jessequinn changed the title Measurement in progress erro Measurement in progress error Sep 1, 2017
@peregrinescode
Copy link

Hi Jesse, only just seen this - have you fixed it? If not I will take a look.

@jessequinn
Copy link
Author

i have not been able to fix.

@peregrinescode
Copy link

In the output-charact.tsp, try:

-- PARAMETERS
Vdmin = 0.0
Vdmax = 10
Vdstep = -0.1

Vgmin = 0.0
Vgmax = 10
Vgstep = -0.1

The above will achieve the scan range you want. The problem is with how I have defined things. Vdmax and Vgmax really mean the total number of steps not the max value. I will update the code to make it more comprehensible

@jessequinn
Copy link
Author

cannot try now will in future. the other thing i wanted to do was measure hysteresis a forward and reverse scan for both output and transfer. can you help with this?

@peregrinescode
Copy link

For sure - the newest version of the code runs a transfer scan both forwards and backwards. To do an output scan in reverse just remove the negative sign from Vdstep and VgStep.

Let me know if it works for you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants