153 lines
3.9 KiB
Plaintext
153 lines
3.9 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:36:01.540670Z",
|
|
"start_time": "2025-05-13T11:35:46.165848Z"
|
|
}
|
|
},
|
|
"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:35:49.385] WARNING - retry DeviceCmd.SetConnectionOn\r\n",
|
|
"\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:35:52.388] WARNING - retry DeviceCmd.SetConnectionOn\r\n",
|
|
"\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:35:55.392] WARNING - retry DeviceCmd.SetConnectionOn\r\n",
|
|
"\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:35:58.396] WARNING - retry DeviceCmd.SetConnectionOn\r\n",
|
|
"\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:67\" [2025-05-13 19:36:01.400] WARNING - retry DeviceCmd.SetConnectionOn\r\n",
|
|
"\"/home/lambda/source/scarlet/flandre/flandre/BusClient.py:102\" [2025-05-13 19:36:01.400] WARNING - timeout\r\n",
|
|
"\"/home/lambda/source/scarlet/flandre/flandre/nodes/Device.py:83\" [2025-05-13 19:36:01.400] ERROR - Device msg: timeout\r\n"
|
|
]
|
|
}
|
|
],
|
|
"execution_count": 20
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:36:04.715332Z",
|
|
"start_time": "2025-05-13T11:36:01.555254Z"
|
|
}
|
|
},
|
|
"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
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:36:06.566925Z",
|
|
"start_time": "2025-05-13T11:36:04.775985Z"
|
|
}
|
|
},
|
|
"cell_type": "code",
|
|
"source": "!flandre device enable",
|
|
"id": "ab586d49c1b1ba92",
|
|
"outputs": [],
|
|
"execution_count": 22
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:38:34.478865Z",
|
|
"start_time": "2025-05-13T11:38:32.692081Z"
|
|
}
|
|
},
|
|
"cell_type": "code",
|
|
"source": "!flandre device disable",
|
|
"id": "ca701d64ece107ad",
|
|
"outputs": [],
|
|
"execution_count": 23
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:38:37.102263Z",
|
|
"start_time": "2025-05-13T11:38:35.000899Z"
|
|
}
|
|
},
|
|
"cell_type": "code",
|
|
"source": "!flandre device disconnect",
|
|
"id": "43b7940521fe2281",
|
|
"outputs": [],
|
|
"execution_count": 24
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:32:13.810739Z",
|
|
"start_time": "2025-05-13T11:32:13.065558Z"
|
|
}
|
|
},
|
|
"cell_type": "code",
|
|
"source": "!flandre mi on c1",
|
|
"id": "bd2895e5dacbaeb8",
|
|
"outputs": [],
|
|
"execution_count": 6
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:32:05.715847Z",
|
|
"start_time": "2025-05-13T11:32:04.786438Z"
|
|
}
|
|
},
|
|
"cell_type": "code",
|
|
"source": "!flandre mi off c1",
|
|
"id": "b58d3d068ddc33e7",
|
|
"outputs": [],
|
|
"execution_count": 2
|
|
},
|
|
{
|
|
"metadata": {
|
|
"ExecuteTime": {
|
|
"end_time": "2025-05-13T11:32:18.968005Z",
|
|
"start_time": "2025-05-13T11:32:18.047624Z"
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
],
|
|
"metadata": {
|
|
"kernelspec": {
|
|
"display_name": "Python 3",
|
|
"language": "python",
|
|
"name": "python3"
|
|
},
|
|
"language_info": {
|
|
"codemirror_mode": {
|
|
"name": "ipython",
|
|
"version": 2
|
|
},
|
|
"file_extension": ".py",
|
|
"mimetype": "text/x-python",
|
|
"name": "python",
|
|
"nbconvert_exporter": "python",
|
|
"pygments_lexer": "ipython2",
|
|
"version": "2.7.6"
|
|
}
|
|
},
|
|
"nbformat": 4,
|
|
"nbformat_minor": 5
|
|
}
|