Commit 52b3c44c authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Stores state before working in class branch

Showing with 811 additions and 302 deletions
+811 -302
......@@ -19,7 +19,7 @@ try:
except:
pass
from pandas import DataFrame
# from pandas import DataFrame
from datetime import datetime
import time
import numpy as np
......@@ -230,28 +230,23 @@ def run_measurement(nb_stack, injection_deltat, r_shunt, coefp2, coefp3):
#print(['time stop=',((2*(end_delay-start_delay)-(end_calc-start_delay)))])
# return averaged values
# cpu= CPUTemperature()
output = DataFrame({
"time": [datetime.now()],
"A": [(1)],
"B": [(2)],
"M": [(3)],
"N": [(4)],
output = {
"time": datetime.now(),
"A": (1),
"B": (2),
"M": (3),
"N": (4),
"inj time [ms]": (end_delay - start_delay) * 1000,
"Vmn [mV]": [(sum_vmn / (3 + 2 * nb_stack - 1))],
"I [mA]": [(injection_current / (3 + 2 * nb_stack - 1))],
"R [ohm]": [(sum_vmn / (3 + 2 * nb_stack - 1) / (injection_current / (3 + 2 * nb_stack - 1)))],
"Ps [mV]": [(sum_ps / (3 + 2 * nb_stack - 1))],
"nbStack": [nb_stack],
"CPU temp [°C]": [cpu.temperature],
"Time [s]": [(-start_time + time.time())],
"Integer [-]": [integer]
# Dead time equivalent to the duration of the current injection pulse
})
output = output.round(2)
print(output.to_string())
"Vmn [mV]": (sum_vmn / (3 + 2 * nb_stack - 1)),
"I [mA]": (injection_current / (3 + 2 * nb_stack - 1)),
"R [ohm]": (sum_vmn / (3 + 2 * nb_stack - 1) / (injection_current / (3 + 2 * nb_stack - 1))),
"Ps [mV]": (sum_ps / (3 + 2 * nb_stack - 1)),
"nbStack": nb_stack,
"CPU temp [°C]": cpu.temperature,
"Time [s]": (-start_time + time.time()),
"Integer [-]": integer}
# output = output.round(2)
print(output) # .to_string())
time.sleep(1)
return output
......@@ -260,13 +255,14 @@ def append_and_save(data_path, last_measurement):
"""Save data"""
if path.isfile(data_path):
# Load data file and append data to it
with open(data_path, 'a') as f:
last_measurement.to_csv(f, header=False)
# with open(data_path, 'a') as f:
# last_measurement.to_csv(f, header=False)
pass
else:
# create data file and add headers
with open(data_path, 'a') as f:
last_measurement.to_csv(f, header=True)
# with open(data_path, 'a') as f:
# last_measurement.to_csv(f, header=True)
pass
"""
Main loop
......@@ -275,7 +271,7 @@ for g in range(0, pardict.get("nbr_meas")): # for time-lapse monitoring
current_measurement = run_measurement(pardict.get("stack"), pardict.get("injection_duration"),
OHMPI_CONFIG['R_shunt'], OHMPI_CONFIG['coef_p2'], OHMPI_CONFIG['coef_p3'])
append_and_save(pardict.get("export_path"), current_measurement)
msg = f'Resitivity: {current_measurement.iloc[-1]["R [ohm]"]:.2f} ohm'
msg = f'Resitivity: {current_measurement["R [ohm]"]:.2f} ohm'
msg_logger.info(msg)
mqtt_client.publish(measurement_topic, msg)
time.sleep(pardict.get("sequence_delay")) # waiting next measurement (time-lapse)
......@@ -4,17 +4,20 @@ url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
jupyterlab = "*"
sphinx-rtd-theme = "*"
recommonmark = "*"
sphinx-pdj-theme = "*"
[packages]
paho-mqtt = "*"
numpy = "*"
pandas = "*"
# cython = "*"
# pandas = "*"
paho-mqtt = "*"
pytz = "*"
six = "*"
gpiozero = "*"
adafruit-blinka = "*"
adafruit-circuitpython-ads1x15 = "*"
adafruit-circuitpython-tca9548a = "*"
adafruit-circuitpython-mcp230xx = "*"
termcolor ="*"
[requires]
python_version = "3.8"
python_version = "3.9"
%% Cell type:markdown id:606c11c0-3a80-4138-ac50-1da0bd01bef8 tags:
# A small code to test MQTT interface for ohmpi
%% Cell type:code id:daf2041b-1df9-42de-a385-f450a826c96f tags:
``` python
import paho.mqtt.client as mqtt
import time
```
%% Cell type:code id:14c42035 tags:
``` python
client_id = 'ohmpi_console_sn_0001'
measurements_topic = 'measurements_ohmpi_sn_0001'
client_id = 'ohmpi_sn_001'
control_topic = 'cmd_ohmpi_sn_001'
measurements_topic = 'measurements_ohmpi_sn_001'
```
%% Cell type:code id:391c6373-f7db-485e-b3dd-b1e04a37473a tags:
``` python
broker_address="mg3d-dev.umons.ac.be"
```
%% Cell type:code id:8fc857ba-bbcf-4f99-a30f-84fd14ddb2d0 tags:
``` python
client = mqtt.Client(client_id, protocol=4) #create new instance
```
%% Cell type:code id:24926751-62c6-4833-8d68-99279192d4e0 tags:
``` python
def on_message(client, userdata, message):
m = str(message.payload.decode("utf-8"))
print(f'message received {m}')
print(f'topic: {message.topic}')
print(f'qos: {message.qos}')
print(f'retain flag: {message.retain}')
client.publish(measurements_topic, f'{m} 45 ohm.m')
```
%% Cell type:code id:06e424ff-cd1d-4756-bf53-cfbca4628e73 tags:
``` python
client.connect(broker_address) #connect to broker
```
%% Output
0
%% Cell type:code id:f0b06a71-b0bf-4551-a044-94b1100a3a5d tags:
``` python
client.on_message = on_message
client.loop_start()
```
%% Cell type:code id:8e168d2d-25fa-49ac-9d03-dd0da5e61841 tags:
``` python
print("Subscribing to topic", measurements_topic)
client.subscribe(measurements_topic)
print("Subscribing to topic", control_topic)
client.subscribe(control_topic)
```
%% Output
Subscribing to topic measurements_ohmpi_sn_0001
Subscribing to topic cmd_ohmpi_sn_001
(0, 1)
%% Cell type:code id:eaa7d034-5383-4ece-a824-f763ce214760 tags:
``` python
time.sleep(60)
time.sleep(45)
```
%% Output
message received Resitivity: 215.22 ohm
topic: measurements_ohmpi_sn_0001
message received 21:26:23 : measure resistivity 0 with array 1 4 2 3
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received Resitivity: 214.94 ohm
topic: measurements_ohmpi_sn_0001
message received 21:26:24 : measure resistivity 1 with array 2 5 3 4
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:25 : measure resistivity 2 with array 3 6 4 5
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:26 : measure resistivity 3 with array 4 7 5 6
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:27 : measure resistivity 4 with array 5 8 6 7
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:28 : measure resistivity 5 with array 6 9 7 8
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:29 : measure resistivity 6 with array 7 10 8 9
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:30 : measure resistivity 7 with array 8 11 9 10
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:31 : measure resistivity 8 with array 9 12 10 11
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:32 : measure resistivity 9 with array 10 13 11 12
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:33 : measure resistivity 10 with array 11 14 12 13
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:34 : measure resistivity 11 with array 12 15 13 14
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:35 : measure resistivity 12 with array 13 16 14 15
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:36 : measure resistivity 13 with array 14 17 15 16
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:37 : measure resistivity 14 with array 15 18 16 17
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:38 : measure resistivity 15 with array 16 19 17 18
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:39 : measure resistivity 16 with array 17 20 18 19
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:40 : measure resistivity 17 with array 18 21 19 20
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:41 : measure resistivity 18 with array 19 22 20 21
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:42 : measure resistivity 19 with array 20 23 21 22
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:43 : measure resistivity 20 with array 21 24 22 23
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:44 : measure resistivity 21 with array 22 25 23 24
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:45 : measure resistivity 22 with array 23 26 24 25
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:46 : measure resistivity 23 with array 24 27 25 26
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:47 : measure resistivity 24 with array 25 28 26 27
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
message received 21:26:48 : measure resistivity 25 with array 26 29 27 28
topic: cmd_ohmpi_sn_001
qos: 0
retain flag: 0
%% Cell type:code id:9bd768aa-c4d3-429e-b667-6e981bd28353 tags:
``` python
client.loop_stop()
```
%% Cell type:code id:f9a0333a-c1ec-42a8-bd24-3dc466c51bb4 tags:
``` python
```
......
%% Cell type:markdown id:9ec039c2-8dc0-42ab-ad96-356e54a6c228 tags:
# A small code to test MQTT ohmpi controller
%% Cell type:code id:daf2041b-1df9-42de-a385-f450a826c96f tags:
``` python
import paho.mqtt.client as mqtt
import pandas as pd
import time
```
%% Cell type:code id:013806a6 tags:
``` python
sequence = './ABMN.txt'
broker_address = "mg3d-dev.umons.ac.be"
client_id = "ohmpi-controller_01"
control_topic = 'cmd_ohmpi_sn_0001'
measurements_topic = 'measurements_ohmpi_sn_0001'
control_topic = 'cmd_ohmpi_sn_001'
measurements_topic = 'measurements_ohmpi_sn_001'
```
%% Cell type:code id:c07183bf tags:
``` python
df = pd.read_csv(sequence, header=None, names=['array'])
df
```
%% Output
array
0 1 4 2 3
1 2 5 3 4
2 3 6 4 5
3 4 7 5 6
4 5 8 6 7
.. ...
150 3 30 12 21
151 4 31 13 22
152 5 32 14 23
153 1 31 11 21
154 2 32 12 22
[155 rows x 1 columns]
%% Cell type:code id:8fc857ba-bbcf-4f99-a30f-84fd14ddb2d0 tags:
``` python
client = mqtt.Client(client_id, protocol=4) #create new instance
```
%% Cell type:code id:c27d85eb tags:
``` python
def on_message(client, userdata, message):
m = str(message.payload.decode("utf-8"))
print(f'message received {m}')
print(f'topic: {message.topic}')
print(f'qos: {message.qos}')
print(f'retain flag: {message.retain}')
```
%% Cell type:code id:06e424ff-cd1d-4756-bf53-cfbca4628e73 tags:
``` python
client.connect(broker_address) #connect to broker
```
%% Output
0
%% Cell type:code id:819fb8f9 tags:
``` python
client.on_message = on_message
client.loop_start()
client.subscribe(measurements_topic)
```
%% Output
(0, 1)
%% Cell type:code id:519791a6 tags:
``` python
for idx, row in df.iterrows():
t = time.strftime("%H:%M:%S", time.localtime())
command = f'{t} : measure resistivity {idx} with array {row["array"]}'
print(f'publishing {command}')
pub = client.publish(control_topic, command)
print(pub)
time.sleep(1)
```
%% Output
publishing 21:55:13 : measure resistivity 0 with array 1 4 2 3
publishing 16:14:27 : measure resistivity 0 with array 1 4 2 3
(0, 2)
publishing 21:55:14 : measure resistivity 1 with array 2 5 3 4
publishing 16:14:28 : measure resistivity 1 with array 2 5 3 4
(0, 3)
publishing 21:55:15 : measure resistivity 2 with array 3 6 4 5
publishing 16:14:29 : measure resistivity 2 with array 3 6 4 5
(0, 4)
publishing 21:55:16 : measure resistivity 3 with array 4 7 5 6
publishing 16:14:30 : measure resistivity 3 with array 4 7 5 6
(0, 5)
publishing 21:55:17 : measure resistivity 4 with array 5 8 6 7
publishing 16:14:31 : measure resistivity 4 with array 5 8 6 7
(0, 6)
publishing 21:55:18 : measure resistivity 5 with array 6 9 7 8
publishing 16:14:32 : measure resistivity 5 with array 6 9 7 8
(0, 7)
publishing 21:55:19 : measure resistivity 6 with array 7 10 8 9
publishing 16:14:33 : measure resistivity 6 with array 7 10 8 9
(0, 8)
publishing 21:55:20 : measure resistivity 7 with array 8 11 9 10
publishing 16:14:34 : measure resistivity 7 with array 8 11 9 10
(0, 9)
publishing 21:55:21 : measure resistivity 8 with array 9 12 10 11
publishing 16:14:35 : measure resistivity 8 with array 9 12 10 11
(0, 10)
publishing 21:55:22 : measure resistivity 9 with array 10 13 11 12
publishing 16:14:36 : measure resistivity 9 with array 10 13 11 12
(0, 11)
publishing 21:55:23 : measure resistivity 10 with array 11 14 12 13
publishing 16:14:37 : measure resistivity 10 with array 11 14 12 13
(0, 12)
publishing 21:55:24 : measure resistivity 11 with array 12 15 13 14
publishing 16:14:38 : measure resistivity 11 with array 12 15 13 14
(0, 13)
publishing 21:55:25 : measure resistivity 12 with array 13 16 14 15
publishing 16:14:39 : measure resistivity 12 with array 13 16 14 15
(0, 14)
publishing 21:55:26 : measure resistivity 13 with array 14 17 15 16
publishing 16:14:40 : measure resistivity 13 with array 14 17 15 16
(0, 15)
publishing 21:55:27 : measure resistivity 14 with array 15 18 16 17
publishing 16:14:41 : measure resistivity 14 with array 15 18 16 17
(0, 16)
publishing 21:55:28 : measure resistivity 15 with array 16 19 17 18
publishing 16:14:42 : measure resistivity 15 with array 16 19 17 18
(0, 17)
publishing 21:55:29 : measure resistivity 16 with array 17 20 18 19
publishing 16:14:43 : measure resistivity 16 with array 17 20 18 19
(0, 18)
publishing 21:55:30 : measure resistivity 17 with array 18 21 19 20
publishing 16:14:44 : measure resistivity 17 with array 18 21 19 20
(0, 19)
publishing 21:55:31 : measure resistivity 18 with array 19 22 20 21
publishing 16:14:45 : measure resistivity 18 with array 19 22 20 21
(0, 20)
publishing 21:55:32 : measure resistivity 19 with array 20 23 21 22
publishing 16:14:46 : measure resistivity 19 with array 20 23 21 22
(0, 21)
publishing 21:55:33 : measure resistivity 20 with array 21 24 22 23
message received 16:14:46 : measure resistivity 19 with array 20 23 21 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:47 : measure resistivity 20 with array 21 24 22 23
(0, 22)
publishing 21:55:34 : measure resistivity 21 with array 22 25 23 24
message received 16:14:47 : measure resistivity 20 with array 21 24 22 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:48 : measure resistivity 21 with array 22 25 23 24
(0, 23)
publishing 21:55:35 : measure resistivity 22 with array 23 26 24 25
message received 16:14:48 : measure resistivity 21 with array 22 25 23 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:49 : measure resistivity 22 with array 23 26 24 25
(0, 24)
publishing 21:55:36 : measure resistivity 23 with array 24 27 25 26
message received 16:14:49 : measure resistivity 22 with array 23 26 24 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:50 : measure resistivity 23 with array 24 27 25 26
(0, 25)
publishing 21:55:37 : measure resistivity 24 with array 25 28 26 27
message received 16:14:50 : measure resistivity 23 with array 24 27 25 26 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:51 : measure resistivity 24 with array 25 28 26 27
(0, 26)
publishing 21:55:38 : measure resistivity 25 with array 26 29 27 28
message received 16:14:51 : measure resistivity 24 with array 25 28 26 27 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:52 : measure resistivity 25 with array 26 29 27 28
(0, 27)
publishing 21:55:39 : measure resistivity 26 with array 27 30 28 29
message received 16:14:52 : measure resistivity 25 with array 26 29 27 28 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:53 : measure resistivity 26 with array 27 30 28 29
(0, 28)
publishing 21:55:40 : measure resistivity 27 with array 28 31 29 30
message received 16:14:53 : measure resistivity 26 with array 27 30 28 29 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:54 : measure resistivity 27 with array 28 31 29 30
(0, 29)
publishing 21:55:41 : measure resistivity 28 with array 29 32 30 31
message received 16:14:54 : measure resistivity 27 with array 28 31 29 30 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:55 : measure resistivity 28 with array 29 32 30 31
(0, 30)
publishing 21:55:42 : measure resistivity 29 with array 1 7 3 5
message received 16:14:55 : measure resistivity 28 with array 29 32 30 31 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:56 : measure resistivity 29 with array 1 7 3 5
(0, 31)
publishing 21:55:43 : measure resistivity 30 with array 2 8 4 6
message received 16:14:56 : measure resistivity 29 with array 1 7 3 5 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:57 : measure resistivity 30 with array 2 8 4 6
(0, 32)
publishing 21:55:44 : measure resistivity 31 with array 3 9 5 7
message received 16:14:57 : measure resistivity 30 with array 2 8 4 6 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:58 : measure resistivity 31 with array 3 9 5 7
(0, 33)
publishing 21:55:45 : measure resistivity 32 with array 4 10 6 8
message received 16:14:58 : measure resistivity 31 with array 3 9 5 7 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:14:59 : measure resistivity 32 with array 4 10 6 8
(0, 34)
publishing 21:55:46 : measure resistivity 33 with array 5 11 7 9
message received 16:14:59 : measure resistivity 32 with array 4 10 6 8 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:00 : measure resistivity 33 with array 5 11 7 9
(0, 35)
publishing 21:55:47 : measure resistivity 34 with array 6 12 8 10
message received 16:15:00 : measure resistivity 33 with array 5 11 7 9 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:01 : measure resistivity 34 with array 6 12 8 10
(0, 36)
message received TEST 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:01 : measure resistivity 34 with array 6 12 8 10 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:48 : measure resistivity 35 with array 7 13 9 11
publishing 16:15:02 : measure resistivity 35 with array 7 13 9 11
(0, 37)
message received 21:55:48 : measure resistivity 35 with array 7 13 9 11 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:02 : measure resistivity 35 with array 7 13 9 11 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:49 : measure resistivity 36 with array 8 14 10 12
publishing 16:15:03 : measure resistivity 36 with array 8 14 10 12
(0, 38)
message received 21:55:49 : measure resistivity 36 with array 8 14 10 12 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:03 : measure resistivity 36 with array 8 14 10 12 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:50 : measure resistivity 37 with array 9 15 11 13
publishing 16:15:04 : measure resistivity 37 with array 9 15 11 13
(0, 39)
message received 21:55:50 : measure resistivity 37 with array 9 15 11 13 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:04 : measure resistivity 37 with array 9 15 11 13 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:51 : measure resistivity 38 with array 10 16 12 14
publishing 16:15:05 : measure resistivity 38 with array 10 16 12 14
(0, 40)
message received 21:55:51 : measure resistivity 38 with array 10 16 12 14 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:05 : measure resistivity 38 with array 10 16 12 14 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:52 : measure resistivity 39 with array 11 17 13 15
publishing 16:15:06 : measure resistivity 39 with array 11 17 13 15
(0, 41)
message received 21:55:52 : measure resistivity 39 with array 11 17 13 15 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:06 : measure resistivity 39 with array 11 17 13 15 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:53 : measure resistivity 40 with array 12 18 14 16
publishing 16:15:07 : measure resistivity 40 with array 12 18 14 16
(0, 42)
message received 21:55:53 : measure resistivity 40 with array 12 18 14 16 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:07 : measure resistivity 40 with array 12 18 14 16 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:54 : measure resistivity 41 with array 13 19 15 17
publishing 16:15:08 : measure resistivity 41 with array 13 19 15 17
(0, 43)
message received 21:55:54 : measure resistivity 41 with array 13 19 15 17 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:08 : measure resistivity 41 with array 13 19 15 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:55 : measure resistivity 42 with array 14 20 16 18
publishing 16:15:09 : measure resistivity 42 with array 14 20 16 18
(0, 44)
message received 21:55:55 : measure resistivity 42 with array 14 20 16 18 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:09 : measure resistivity 42 with array 14 20 16 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:56 : measure resistivity 43 with array 15 21 17 19
publishing 16:15:10 : measure resistivity 43 with array 15 21 17 19
(0, 45)
message received 21:55:56 : measure resistivity 43 with array 15 21 17 19 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:10 : measure resistivity 43 with array 15 21 17 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:57 : measure resistivity 44 with array 16 22 18 20
publishing 16:15:11 : measure resistivity 44 with array 16 22 18 20
(0, 46)
message received 21:55:57 : measure resistivity 44 with array 16 22 18 20 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:11 : measure resistivity 44 with array 16 22 18 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:58 : measure resistivity 45 with array 17 23 19 21
publishing 16:15:12 : measure resistivity 45 with array 17 23 19 21
(0, 47)
message received 21:55:58 : measure resistivity 45 with array 17 23 19 21 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:12 : measure resistivity 45 with array 17 23 19 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:55:59 : measure resistivity 46 with array 18 24 20 22
publishing 16:15:13 : measure resistivity 46 with array 18 24 20 22
(0, 48)
message received 21:55:59 : measure resistivity 46 with array 18 24 20 22 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:13 : measure resistivity 46 with array 18 24 20 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:00 : measure resistivity 47 with array 19 25 21 23
publishing 16:15:14 : measure resistivity 47 with array 19 25 21 23
(0, 49)
message received 21:56:00 : measure resistivity 47 with array 19 25 21 23 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:14 : measure resistivity 47 with array 19 25 21 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:01 : measure resistivity 48 with array 20 26 22 24
publishing 16:15:15 : measure resistivity 48 with array 20 26 22 24
(0, 50)
message received 21:56:01 : measure resistivity 48 with array 20 26 22 24 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:15 : measure resistivity 48 with array 20 26 22 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:02 : measure resistivity 49 with array 21 27 23 25
publishing 16:15:16 : measure resistivity 49 with array 21 27 23 25
(0, 51)
message received 21:56:02 : measure resistivity 49 with array 21 27 23 25 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:16 : measure resistivity 49 with array 21 27 23 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:03 : measure resistivity 50 with array 22 28 24 26
publishing 16:15:17 : measure resistivity 50 with array 22 28 24 26
(0, 52)
message received 21:56:03 : measure resistivity 50 with array 22 28 24 26 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:17 : measure resistivity 50 with array 22 28 24 26 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:04 : measure resistivity 51 with array 23 29 25 27
publishing 16:15:18 : measure resistivity 51 with array 23 29 25 27
(0, 53)
message received 21:56:04 : measure resistivity 51 with array 23 29 25 27 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:18 : measure resistivity 51 with array 23 29 25 27 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:05 : measure resistivity 52 with array 24 30 26 28
publishing 16:15:19 : measure resistivity 52 with array 24 30 26 28
(0, 54)
message received 21:56:05 : measure resistivity 52 with array 24 30 26 28 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:19 : measure resistivity 52 with array 24 30 26 28 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:06 : measure resistivity 53 with array 25 31 27 29
publishing 16:15:20 : measure resistivity 53 with array 25 31 27 29
(0, 55)
message received 21:56:06 : measure resistivity 53 with array 25 31 27 29 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:20 : measure resistivity 53 with array 25 31 27 29 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:07 : measure resistivity 54 with array 26 32 28 30
publishing 16:15:21 : measure resistivity 54 with array 26 32 28 30
(0, 56)
message received 21:56:07 : measure resistivity 54 with array 26 32 28 30 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:21 : measure resistivity 54 with array 26 32 28 30 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:08 : measure resistivity 55 with array 1 10 4 7
publishing 16:15:22 : measure resistivity 55 with array 1 10 4 7
(0, 57)
message received 21:56:08 : measure resistivity 55 with array 1 10 4 7 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:22 : measure resistivity 55 with array 1 10 4 7 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:09 : measure resistivity 56 with array 2 11 5 8
publishing 16:15:23 : measure resistivity 56 with array 2 11 5 8
(0, 58)
message received 21:56:09 : measure resistivity 56 with array 2 11 5 8 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:23 : measure resistivity 56 with array 2 11 5 8 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:10 : measure resistivity 57 with array 3 12 6 9
publishing 16:15:24 : measure resistivity 57 with array 3 12 6 9
(0, 59)
message received 21:56:10 : measure resistivity 57 with array 3 12 6 9 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:24 : measure resistivity 57 with array 3 12 6 9 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:11 : measure resistivity 58 with array 4 13 7 10
publishing 16:15:25 : measure resistivity 58 with array 4 13 7 10
(0, 60)
message received 21:56:11 : measure resistivity 58 with array 4 13 7 10 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:25 : measure resistivity 58 with array 4 13 7 10 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:12 : measure resistivity 59 with array 5 14 8 11
publishing 16:15:26 : measure resistivity 59 with array 5 14 8 11
(0, 61)
message received 21:56:12 : measure resistivity 59 with array 5 14 8 11 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:26 : measure resistivity 59 with array 5 14 8 11 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:13 : measure resistivity 60 with array 6 15 9 12
publishing 16:15:27 : measure resistivity 60 with array 6 15 9 12
(0, 62)
message received 21:56:13 : measure resistivity 60 with array 6 15 9 12 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:27 : measure resistivity 60 with array 6 15 9 12 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:14 : measure resistivity 61 with array 7 16 10 13
publishing 16:15:28 : measure resistivity 61 with array 7 16 10 13
(0, 63)
message received 21:56:14 : measure resistivity 61 with array 7 16 10 13 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:28 : measure resistivity 61 with array 7 16 10 13 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:15 : measure resistivity 62 with array 8 17 11 14
publishing 16:15:29 : measure resistivity 62 with array 8 17 11 14
(0, 64)
message received 21:56:15 : measure resistivity 62 with array 8 17 11 14 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:29 : measure resistivity 62 with array 8 17 11 14 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:16 : measure resistivity 63 with array 9 18 12 15
publishing 16:15:30 : measure resistivity 63 with array 9 18 12 15
(0, 65)
message received 21:56:16 : measure resistivity 63 with array 9 18 12 15 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:30 : measure resistivity 63 with array 9 18 12 15 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:17 : measure resistivity 64 with array 10 19 13 16
publishing 16:15:31 : measure resistivity 64 with array 10 19 13 16
(0, 66)
message received 21:56:17 : measure resistivity 64 with array 10 19 13 16 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:31 : measure resistivity 64 with array 10 19 13 16 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:18 : measure resistivity 65 with array 11 20 14 17
publishing 16:15:32 : measure resistivity 65 with array 11 20 14 17
(0, 67)
message received 21:56:18 : measure resistivity 65 with array 11 20 14 17 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:32 : measure resistivity 65 with array 11 20 14 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:19 : measure resistivity 66 with array 12 21 15 18
publishing 16:15:33 : measure resistivity 66 with array 12 21 15 18
(0, 68)
message received 21:56:19 : measure resistivity 66 with array 12 21 15 18 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:33 : measure resistivity 66 with array 12 21 15 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:20 : measure resistivity 67 with array 13 22 16 19
publishing 16:15:34 : measure resistivity 67 with array 13 22 16 19
(0, 69)
message received 21:56:20 : measure resistivity 67 with array 13 22 16 19 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:34 : measure resistivity 67 with array 13 22 16 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:22 : measure resistivity 68 with array 14 23 17 20
publishing 16:15:35 : measure resistivity 68 with array 14 23 17 20
(0, 70)
message received 21:56:22 : measure resistivity 68 with array 14 23 17 20 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:35 : measure resistivity 68 with array 14 23 17 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:23 : measure resistivity 69 with array 15 24 18 21
publishing 16:15:36 : measure resistivity 69 with array 15 24 18 21
(0, 71)
message received 21:56:23 : measure resistivity 69 with array 15 24 18 21 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:36 : measure resistivity 69 with array 15 24 18 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:24 : measure resistivity 70 with array 16 25 19 22
publishing 16:15:37 : measure resistivity 70 with array 16 25 19 22
(0, 72)
message received 21:56:24 : measure resistivity 70 with array 16 25 19 22 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:37 : measure resistivity 70 with array 16 25 19 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:25 : measure resistivity 71 with array 17 26 20 23
publishing 16:15:38 : measure resistivity 71 with array 17 26 20 23
(0, 73)
message received 21:56:25 : measure resistivity 71 with array 17 26 20 23 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:38 : measure resistivity 71 with array 17 26 20 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:26 : measure resistivity 72 with array 18 27 21 24
publishing 16:15:39 : measure resistivity 72 with array 18 27 21 24
(0, 74)
message received 21:56:26 : measure resistivity 72 with array 18 27 21 24 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:39 : measure resistivity 72 with array 18 27 21 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:27 : measure resistivity 73 with array 19 28 22 25
publishing 16:15:40 : measure resistivity 73 with array 19 28 22 25
(0, 75)
message received 21:56:27 : measure resistivity 73 with array 19 28 22 25 45 ohm.m
topic: measurements_ohmpi_sn_0001
message received 16:15:40 : measure resistivity 73 with array 19 28 22 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 21:56:28 : measure resistivity 74 with array 20 29 23 26
publishing 16:15:41 : measure resistivity 74 with array 20 29 23 26
(0, 76)
publishing 21:56:29 : measure resistivity 75 with array 21 30 24 27
message received 16:15:41 : measure resistivity 74 with array 20 29 23 26 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:42 : measure resistivity 75 with array 21 30 24 27
(0, 77)
publishing 21:56:30 : measure resistivity 76 with array 22 31 25 28
message received 16:15:42 : measure resistivity 75 with array 21 30 24 27 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:43 : measure resistivity 76 with array 22 31 25 28
(0, 78)
publishing 21:56:31 : measure resistivity 77 with array 23 32 26 29
message received 16:15:43 : measure resistivity 76 with array 22 31 25 28 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:44 : measure resistivity 77 with array 23 32 26 29
(0, 79)
publishing 21:56:32 : measure resistivity 78 with array 1 13 5 9
message received 16:15:44 : measure resistivity 77 with array 23 32 26 29 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:45 : measure resistivity 78 with array 1 13 5 9
(0, 80)
publishing 21:56:33 : measure resistivity 79 with array 2 14 6 10
message received 16:15:45 : measure resistivity 78 with array 1 13 5 9 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:46 : measure resistivity 79 with array 2 14 6 10
(0, 81)
publishing 21:56:34 : measure resistivity 80 with array 3 15 7 11
message received 16:15:46 : measure resistivity 79 with array 2 14 6 10 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:47 : measure resistivity 80 with array 3 15 7 11
(0, 82)
publishing 21:56:35 : measure resistivity 81 with array 4 16 8 12
message received 16:15:47 : measure resistivity 80 with array 3 15 7 11 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:48 : measure resistivity 81 with array 4 16 8 12
(0, 83)
publishing 21:56:36 : measure resistivity 82 with array 5 17 9 13
message received 16:15:48 : measure resistivity 81 with array 4 16 8 12 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:49 : measure resistivity 82 with array 5 17 9 13
(0, 84)
publishing 21:56:37 : measure resistivity 83 with array 6 18 10 14
message received 16:15:49 : measure resistivity 82 with array 5 17 9 13 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:50 : measure resistivity 83 with array 6 18 10 14
(0, 85)
publishing 21:56:38 : measure resistivity 84 with array 7 19 11 15
message received 16:15:50 : measure resistivity 83 with array 6 18 10 14 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:51 : measure resistivity 84 with array 7 19 11 15
(0, 86)
publishing 21:56:39 : measure resistivity 85 with array 8 20 12 16
message received 16:15:51 : measure resistivity 84 with array 7 19 11 15 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:52 : measure resistivity 85 with array 8 20 12 16
(0, 87)
publishing 21:56:40 : measure resistivity 86 with array 9 21 13 17
message received 16:15:52 : measure resistivity 85 with array 8 20 12 16 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:53 : measure resistivity 86 with array 9 21 13 17
(0, 88)
publishing 21:56:41 : measure resistivity 87 with array 10 22 14 18
message received 16:15:53 : measure resistivity 86 with array 9 21 13 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:54 : measure resistivity 87 with array 10 22 14 18
(0, 89)
publishing 21:56:42 : measure resistivity 88 with array 11 23 15 19
message received 16:15:54 : measure resistivity 87 with array 10 22 14 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:55 : measure resistivity 88 with array 11 23 15 19
(0, 90)
publishing 21:56:43 : measure resistivity 89 with array 12 24 16 20
message received 16:15:55 : measure resistivity 88 with array 11 23 15 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:56 : measure resistivity 89 with array 12 24 16 20
(0, 91)
publishing 21:56:44 : measure resistivity 90 with array 13 25 17 21
message received 16:15:56 : measure resistivity 89 with array 12 24 16 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:57 : measure resistivity 90 with array 13 25 17 21
(0, 92)
publishing 21:56:45 : measure resistivity 91 with array 14 26 18 22
message received 16:15:57 : measure resistivity 90 with array 13 25 17 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:58 : measure resistivity 91 with array 14 26 18 22
(0, 93)
publishing 21:56:46 : measure resistivity 92 with array 15 27 19 23
message received 16:15:58 : measure resistivity 91 with array 14 26 18 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:15:59 : measure resistivity 92 with array 15 27 19 23
(0, 94)
publishing 21:56:47 : measure resistivity 93 with array 16 28 20 24
message received 16:15:59 : measure resistivity 92 with array 15 27 19 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:00 : measure resistivity 93 with array 16 28 20 24
(0, 95)
publishing 21:56:48 : measure resistivity 94 with array 17 29 21 25
message received 16:16:00 : measure resistivity 93 with array 16 28 20 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:01 : measure resistivity 94 with array 17 29 21 25
(0, 96)
publishing 21:56:49 : measure resistivity 95 with array 18 30 22 26
message received 16:16:01 : measure resistivity 94 with array 17 29 21 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:02 : measure resistivity 95 with array 18 30 22 26
(0, 97)
publishing 21:56:50 : measure resistivity 96 with array 19 31 23 27
message received 16:16:02 : measure resistivity 95 with array 18 30 22 26 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:03 : measure resistivity 96 with array 19 31 23 27
(0, 98)
publishing 21:56:51 : measure resistivity 97 with array 20 32 24 28
message received 16:16:03 : measure resistivity 96 with array 19 31 23 27 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:04 : measure resistivity 97 with array 20 32 24 28
(0, 99)
publishing 21:56:52 : measure resistivity 98 with array 1 16 6 11
message received 16:16:04 : measure resistivity 97 with array 20 32 24 28 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:05 : measure resistivity 98 with array 1 16 6 11
(0, 100)
publishing 21:56:53 : measure resistivity 99 with array 2 17 7 12
message received 16:16:05 : measure resistivity 98 with array 1 16 6 11 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:06 : measure resistivity 99 with array 2 17 7 12
(0, 101)
publishing 21:56:54 : measure resistivity 100 with array 3 18 8 13
message received 16:16:06 : measure resistivity 99 with array 2 17 7 12 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:07 : measure resistivity 100 with array 3 18 8 13
(0, 102)
publishing 21:56:55 : measure resistivity 101 with array 4 19 9 14
message received 16:16:07 : measure resistivity 100 with array 3 18 8 13 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:08 : measure resistivity 101 with array 4 19 9 14
(0, 103)
publishing 21:56:56 : measure resistivity 102 with array 5 20 10 15
message received 16:16:08 : measure resistivity 101 with array 4 19 9 14 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:09 : measure resistivity 102 with array 5 20 10 15
(0, 104)
publishing 21:56:57 : measure resistivity 103 with array 6 21 11 16
message received 16:16:09 : measure resistivity 102 with array 5 20 10 15 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:10 : measure resistivity 103 with array 6 21 11 16
(0, 105)
publishing 21:56:58 : measure resistivity 104 with array 7 22 12 17
message received 16:16:10 : measure resistivity 103 with array 6 21 11 16 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:11 : measure resistivity 104 with array 7 22 12 17
(0, 106)
publishing 21:56:59 : measure resistivity 105 with array 8 23 13 18
message received 16:16:11 : measure resistivity 104 with array 7 22 12 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:12 : measure resistivity 105 with array 8 23 13 18
(0, 107)
publishing 21:57:00 : measure resistivity 106 with array 9 24 14 19
message received 16:16:12 : measure resistivity 105 with array 8 23 13 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:13 : measure resistivity 106 with array 9 24 14 19
(0, 108)
publishing 21:57:01 : measure resistivity 107 with array 10 25 15 20
message received 16:16:13 : measure resistivity 106 with array 9 24 14 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:14 : measure resistivity 107 with array 10 25 15 20
(0, 109)
publishing 21:57:02 : measure resistivity 108 with array 11 26 16 21
message received 16:16:14 : measure resistivity 107 with array 10 25 15 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:15 : measure resistivity 108 with array 11 26 16 21
(0, 110)
publishing 21:57:03 : measure resistivity 109 with array 12 27 17 22
message received 16:16:15 : measure resistivity 108 with array 11 26 16 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:16 : measure resistivity 109 with array 12 27 17 22
(0, 111)
publishing 21:57:04 : measure resistivity 110 with array 13 28 18 23
message received 16:16:16 : measure resistivity 109 with array 12 27 17 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:17 : measure resistivity 110 with array 13 28 18 23
(0, 112)
publishing 21:57:05 : measure resistivity 111 with array 14 29 19 24
message received 16:16:17 : measure resistivity 110 with array 13 28 18 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:18 : measure resistivity 111 with array 14 29 19 24
(0, 113)
publishing 21:57:06 : measure resistivity 112 with array 15 30 20 25
message received 16:16:18 : measure resistivity 111 with array 14 29 19 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:19 : measure resistivity 112 with array 15 30 20 25
(0, 114)
publishing 21:57:07 : measure resistivity 113 with array 16 31 21 26
message received 16:16:19 : measure resistivity 112 with array 15 30 20 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:20 : measure resistivity 113 with array 16 31 21 26
(0, 115)
publishing 21:57:08 : measure resistivity 114 with array 17 32 22 27
message received 16:16:20 : measure resistivity 113 with array 16 31 21 26 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:21 : measure resistivity 114 with array 17 32 22 27
(0, 116)
publishing 21:57:09 : measure resistivity 115 with array 1 19 7 13
message received 16:16:21 : measure resistivity 114 with array 17 32 22 27 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:22 : measure resistivity 115 with array 1 19 7 13
(0, 117)
publishing 21:57:10 : measure resistivity 116 with array 2 20 8 14
message received 16:16:22 : measure resistivity 115 with array 1 19 7 13 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:23 : measure resistivity 116 with array 2 20 8 14
(0, 118)
publishing 21:57:11 : measure resistivity 117 with array 3 21 9 15
message received 16:16:23 : measure resistivity 116 with array 2 20 8 14 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:24 : measure resistivity 117 with array 3 21 9 15
(0, 119)
publishing 21:57:12 : measure resistivity 118 with array 4 22 10 16
message received 16:16:24 : measure resistivity 117 with array 3 21 9 15 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:25 : measure resistivity 118 with array 4 22 10 16
(0, 120)
publishing 21:57:13 : measure resistivity 119 with array 5 23 11 17
message received 16:16:25 : measure resistivity 118 with array 4 22 10 16 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:26 : measure resistivity 119 with array 5 23 11 17
(0, 121)
publishing 21:57:14 : measure resistivity 120 with array 6 24 12 18
message received 16:16:26 : measure resistivity 119 with array 5 23 11 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:27 : measure resistivity 120 with array 6 24 12 18
(0, 122)
publishing 21:57:15 : measure resistivity 121 with array 7 25 13 19
message received 16:16:27 : measure resistivity 120 with array 6 24 12 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:28 : measure resistivity 121 with array 7 25 13 19
(0, 123)
publishing 21:57:16 : measure resistivity 122 with array 8 26 14 20
message received 16:16:28 : measure resistivity 121 with array 7 25 13 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:29 : measure resistivity 122 with array 8 26 14 20
(0, 124)
publishing 21:57:17 : measure resistivity 123 with array 9 27 15 21
message received 16:16:29 : measure resistivity 122 with array 8 26 14 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:30 : measure resistivity 123 with array 9 27 15 21
(0, 125)
publishing 21:57:18 : measure resistivity 124 with array 10 28 16 22
message received 16:16:30 : measure resistivity 123 with array 9 27 15 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:31 : measure resistivity 124 with array 10 28 16 22
(0, 126)
publishing 21:57:19 : measure resistivity 125 with array 11 29 17 23
message received 16:16:31 : measure resistivity 124 with array 10 28 16 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:32 : measure resistivity 125 with array 11 29 17 23
(0, 127)
---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
/tmp/ipykernel_156611/4011469085.py in <module>
5 pub = client.publish(control_topic, command)
6 print(pub)
----> 7 time.sleep(1)
KeyboardInterrupt:
message received 16:16:32 : measure resistivity 125 with array 11 29 17 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:33 : measure resistivity 126 with array 12 30 18 24
(0, 128)
message received 16:16:33 : measure resistivity 126 with array 12 30 18 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:34 : measure resistivity 127 with array 13 31 19 25
(0, 129)
message received 16:16:34 : measure resistivity 127 with array 13 31 19 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:35 : measure resistivity 128 with array 14 32 20 26
(0, 130)
message received 16:16:35 : measure resistivity 128 with array 14 32 20 26 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:36 : measure resistivity 129 with array 1 22 8 15
(0, 131)
message received 16:16:36 : measure resistivity 129 with array 1 22 8 15 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:37 : measure resistivity 130 with array 2 23 9 16
(0, 132)
message received 16:16:37 : measure resistivity 130 with array 2 23 9 16 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:38 : measure resistivity 131 with array 3 24 10 17
(0, 133)
message received 16:16:38 : measure resistivity 131 with array 3 24 10 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:39 : measure resistivity 132 with array 4 25 11 18
(0, 134)
message received 16:16:39 : measure resistivity 132 with array 4 25 11 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:40 : measure resistivity 133 with array 5 26 12 19
(0, 135)
message received 16:16:40 : measure resistivity 133 with array 5 26 12 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:41 : measure resistivity 134 with array 6 27 13 20
(0, 136)
message received 16:16:41 : measure resistivity 134 with array 6 27 13 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:42 : measure resistivity 135 with array 7 28 14 21
(0, 137)
message received 16:16:42 : measure resistivity 135 with array 7 28 14 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:43 : measure resistivity 136 with array 8 29 15 22
(0, 138)
message received 16:16:43 : measure resistivity 136 with array 8 29 15 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:44 : measure resistivity 137 with array 9 30 16 23
(0, 139)
message received 16:16:44 : measure resistivity 137 with array 9 30 16 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:45 : measure resistivity 138 with array 10 31 17 24
(0, 140)
message received 16:16:45 : measure resistivity 138 with array 10 31 17 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:46 : measure resistivity 139 with array 11 32 18 25
(0, 141)
message received 16:16:46 : measure resistivity 139 with array 11 32 18 25 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:47 : measure resistivity 140 with array 1 25 9 17
(0, 142)
message received 16:16:47 : measure resistivity 140 with array 1 25 9 17 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:48 : measure resistivity 141 with array 2 26 10 18
(0, 143)
message received 16:16:48 : measure resistivity 141 with array 2 26 10 18 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:49 : measure resistivity 142 with array 3 27 11 19
(0, 144)
message received 16:16:49 : measure resistivity 142 with array 3 27 11 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:50 : measure resistivity 143 with array 4 28 12 20
(0, 145)
message received 16:16:50 : measure resistivity 143 with array 4 28 12 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:51 : measure resistivity 144 with array 5 29 13 21
(0, 146)
message received 16:16:51 : measure resistivity 144 with array 5 29 13 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:52 : measure resistivity 145 with array 6 30 14 22
(0, 147)
message received 16:16:52 : measure resistivity 145 with array 6 30 14 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:53 : measure resistivity 146 with array 7 31 15 23
(0, 148)
message received 16:16:53 : measure resistivity 146 with array 7 31 15 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:54 : measure resistivity 147 with array 8 32 16 24
(0, 149)
message received 16:16:54 : measure resistivity 147 with array 8 32 16 24 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:55 : measure resistivity 148 with array 1 28 10 19
(0, 150)
message received 16:16:55 : measure resistivity 148 with array 1 28 10 19 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:56 : measure resistivity 149 with array 2 29 11 20
(0, 151)
message received 16:16:56 : measure resistivity 149 with array 2 29 11 20 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:57 : measure resistivity 150 with array 3 30 12 21
(0, 152)
message received 16:16:57 : measure resistivity 150 with array 3 30 12 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:58 : measure resistivity 151 with array 4 31 13 22
(0, 153)
message received 16:16:58 : measure resistivity 151 with array 4 31 13 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:16:59 : measure resistivity 152 with array 5 32 14 23
(0, 154)
message received 16:16:59 : measure resistivity 152 with array 5 32 14 23 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:17:00 : measure resistivity 153 with array 1 31 11 21
(0, 155)
message received 16:17:00 : measure resistivity 153 with array 1 31 11 21 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
publishing 16:17:01 : measure resistivity 154 with array 2 32 12 22
(0, 156)
message received 16:17:01 : measure resistivity 154 with array 2 32 12 22 45 ohm.m
topic: measurements_ohmpi_sn_001
qos: 0
retain flag: 0
%% Cell type:code id:b6ae4967 tags:
``` python
client.loop_stop()
```
%% Cell type:code id:1517fe4d-b9b3-43b5-a72c-ed691f8f71e2 tags:
``` python
client.reinitialise()
```
%% Output
message received Resitivity: 215.17 ohm
topic: measurements_ohmpi_sn_0001
qos: 0
retain flag: 0
message received Resitivity: 214.98 ohm
topic: measurements_ohmpi_sn_0001
qos: 0
retain flag: 0
message received Resitivity: 215.12 ohm
topic: measurements_ohmpi_sn_0001
qos: 0
retain flag: 0
%% Cell type:code id:cf1f18b7-c712-43f6-957e-aae872881915 tags:
``` python
```
......
{
"nb_electrodes": 64,
"injection_duration": 4,
"injection_duration": 1,
"nbr_meas": 100,
"sequence_delay": 1,
"stack": 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment