From ecf7669b444dc1aa0e6137f58563e56c4705cfb0 Mon Sep 17 00:00:00 2001 From: unknown <asoalexandros@gmail.com> Date: Mon, 31 Mar 2025 11:31:02 +0200 Subject: [PATCH] Inis seem to work --- hp4155/Custom_SMU/interface_custom.ipynb | 48 ++++++++++++++++++++---- hp4155/Custom_SMU/main.py | 1 - 2 files changed, 41 insertions(+), 8 deletions(-) diff --git a/hp4155/Custom_SMU/interface_custom.ipynb b/hp4155/Custom_SMU/interface_custom.ipynb index 138fcb8..043a6f6 100644 --- a/hp4155/Custom_SMU/interface_custom.ipynb +++ b/hp4155/Custom_SMU/interface_custom.ipynb @@ -7,12 +7,46 @@ "metadata": {}, "outputs": [ { - "ename": "SyntaxError", - "evalue": "'(' was never closed (main.py, line 27)", - "output_type": "error", - "traceback": [ - "\u001b[1;36m File \u001b[1;32m~\\labcode\\hp4155\\Custom_SMU\\main.py:27\u001b[1;36m\u001b[0m\n\u001b[1;33m ini = widgets.Button(description = 'Import from ini. (Coming Soon)',style = {'description_width': 'initial'},layout=Layout(height='auto', width='auto')\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m '(' was never closed\n" - ] + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "fdd75ac6ae5f48bd88118fe3c5f63751", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Tab(children=(GridspecLayout(children=(Label(value='UNIT', layout=Layout(grid_area='widget001', height='auto',…" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "ff8460761b0c47cb891e414876fd5c54", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "HBox(children=(Button(description='Start Measurement', style=ButtonStyle()), Button(description='Import from i…" + ] + }, + "metadata": {}, + "output_type": "display_data" + }, + { + "data": { + "application/vnd.jupyter.widget-view+json": { + "model_id": "5545d590d0884f65aa5d12dea03a6919", + "version_major": 2, + "version_minor": 0 + }, + "text/plain": [ + "Output()" + ] + }, + "metadata": {}, + "output_type": "display_data" } ], "source": [ @@ -22,7 +56,7 @@ { "cell_type": "code", "execution_count": null, - "id": "b4134f36-9202-45f5-ad20-b71dfc315edd", + "id": "432e90a3-d6c4-4718-9b1f-0b9fd77e2383", "metadata": {}, "outputs": [], "source": [] diff --git a/hp4155/Custom_SMU/main.py b/hp4155/Custom_SMU/main.py index eac82ec..6049c85 100644 --- a/hp4155/Custom_SMU/main.py +++ b/hp4155/Custom_SMU/main.py @@ -638,7 +638,6 @@ def on_ini_clicked(b): sections = config.sections() # Get the measurement Mode measurement_mode = get_mode(sections) - print(measurement_mode) # Get the constant smus -- GitLab