Skip to content
Snippets Groups Projects
Commit 77f826ac authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

The end of memristor measurement!!(part1)

parent aed21f07
No related branches found
No related tags found
No related merge requests found
...@@ -3,9 +3,9 @@ step = 0.02 ...@@ -3,9 +3,9 @@ step = 0.02
integration_time=MED integration_time=MED
[SET] [SET]
voltage=1 voltage=4
comp=10E-3 comp=1E-3
[RESET] [RESET]
voltage=-1 voltage=-2
comp=10E-3 comp=20E-3
\ No newline at end of file \ No newline at end of file
...@@ -29,13 +29,15 @@ import os ...@@ -29,13 +29,15 @@ import os
#double sweep from start to stop and then from start to stop #double sweep from start to stop and then from start to stop
def sweep(start,stop,step,comp,integration,device): def sweep(start,stop,step,comp,integration,device):
device.measurement_mode('SWE') device.measurement_mode('SWE')
#changed smu2 is source and 4 is ground
#smu2 is constant and common #smu2 is constant and common
device.smu_mode_meas(2,'COMM') device.smu_mode_meas(4,'COMM')
device.smu_function_sweep(2,'CONS') device.smu_function_sweep(4,'CONS')
#smu4 is VAR1 and V #smu4 is VAR1 and V
device.smu_mode_meas(4,'V') device.smu_mode_meas(2,'V')
device.smu_function_sweep(4,'VAR1') device.smu_function_sweep(2,'VAR1')
device.integration_time(integration) device.integration_time(integration)
...@@ -52,8 +54,8 @@ def sweep(start,stop,step,comp,integration,device): ...@@ -52,8 +54,8 @@ def sweep(start,stop,step,comp,integration,device):
device.comp('VAR1',comp) device.comp('VAR1',comp)
#display variables #display variables
device.display_variable('X','V4') device.display_variable('X','V2')
device.display_variable('Y1','I4') device.display_variable('Y1','I2')
#execute measurement #execute measurement
device.single_measurement() device.single_measurement()
...@@ -63,8 +65,8 @@ def sweep(start,stop,step,comp,integration,device): ...@@ -63,8 +65,8 @@ def sweep(start,stop,step,comp,integration,device):
device.autoscaling() device.autoscaling()
#return values #return values
V=device.return_data('V4') V=device.return_data('V2')
I=device.return_data('I4') I=device.return_data('I2')
#convert the list to np.array to return the absolute values for the logarithmic scale #convert the list to np.array to return the absolute values for the logarithmic scale
V = np.array(V) V = np.array(V)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "af4e65d1af3f4099b7987c6357e5b52c", "model_id": "ad1d4d2991b3473fbd227f8cfa06f00d",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "10e14d983dba4495bc479456a03d3009", "model_id": "09da34b961294c33903dc64b9bacb0a6",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "aa2abc45856c4a60943ac9e9e114827d", "model_id": "8196f25a04a84253a6de58d24853190e",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "4f611a8934e345e78eb6190b4fac8517", "model_id": "88141acacc47437383f8f33765e3cad6",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
{ {
"data": { "data": {
"application/vnd.jupyter.widget-view+json": { "application/vnd.jupyter.widget-view+json": {
"model_id": "4375a6d2b950483da7bd5cc5cf3b8f8d", "model_id": "7cdda9fe7b45480ba63b64572edf7dc0",
"version_major": 2, "version_major": 2,
"version_minor": 0 "version_minor": 0
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment