diff --git a/cmd_example.ipynb b/cmd_example.ipynb index fe44caa..fa72452 100644 --- a/cmd_example.ipynb +++ b/cmd_example.ipynb @@ -1,131 +1,68 @@ { "cells": [ { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:40:48.125519Z", - "start_time": "2025-05-13T11:40:32.719269Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre device connect", "id": "b9a1cfa42427ea58", - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:40:35.965] WARNING - retry DeviceCmd.SetConnectionOn\r\n", - "\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:40:38.968] WARNING - retry DeviceCmd.SetConnectionOn\r\n", - "\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:40:41.971] WARNING - retry DeviceCmd.SetConnectionOn\r\n", - "\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:40:44.974] WARNING - retry DeviceCmd.SetConnectionOn\r\n", - "\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:40:47.977] WARNING - retry DeviceCmd.SetConnectionOn\r\n", - "\"/home/lambda/source/scarlet/flandre/flandre/BusClient.py:102\" [2025-05-13 19:40:47.978] WARNING - timeout\r\n", - "\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:83\" [2025-05-13 19:40:47.978] ERROR - Device msg: timeout\r\n" - ] - } - ], - "execution_count": 25 + "outputs": [], + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:36:04.715332Z", - "start_time": "2025-05-13T11:36:01.555254Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre device upload fakename config/device/max-256-120,U=120,M=PWI,S=\\(256\\ 6002\\).txt", "id": "ac406034e9609c90", "outputs": [], - "execution_count": 21 + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:40:49.715961Z", - "start_time": "2025-05-13T11:40:48.691066Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre device enable", "id": "ab586d49c1b1ba92", "outputs": [], - "execution_count": 26 + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:38:34.478865Z", - "start_time": "2025-05-13T11:38:32.692081Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre device disable", "id": "ca701d64ece107ad", "outputs": [], - "execution_count": 23 + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:38:37.102263Z", - "start_time": "2025-05-13T11:38:35.000899Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre device disconnect", "id": "43b7940521fe2281", "outputs": [], - "execution_count": 24 + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:32:13.810739Z", - "start_time": "2025-05-13T11:32:13.065558Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre mi on c1", "id": "bd2895e5dacbaeb8", "outputs": [], - "execution_count": 6 + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:32:05.715847Z", - "start_time": "2025-05-13T11:32:04.786438Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre mi off c1", "id": "b58d3d068ddc33e7", "outputs": [], - "execution_count": 2 + "execution_count": null }, { - "metadata": { - "ExecuteTime": { - "end_time": "2025-05-13T11:32:18.968005Z", - "start_time": "2025-05-13T11:32:18.047624Z" - } - }, + "metadata": {}, "cell_type": "code", "source": "!flandre mi status c1", "id": "11a05cd3e0992fd9", - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "True\r\n", - "14\r\n" - ] - } - ], - "execution_count": 9 + "outputs": [], + "execution_count": null } ], "metadata": {