From a5ba828b47765228bef4c3aaf904c92687bfb8c0 Mon Sep 17 00:00:00 2001 From: Harry Ho Date: Thu, 13 May 2021 10:27:16 +0800 Subject: [PATCH] Add mlabs 2nd RP --- get_and_plot_sayma_data | 2 +- plot_sayma_data.py | 3 ++- rp_get_sayma_data.py | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/get_and_plot_sayma_data b/get_and_plot_sayma_data index a36e88a..c6a68ce 100644 --- a/get_and_plot_sayma_data +++ b/get_and_plot_sayma_data @@ -16,7 +16,7 @@ then echo "Arguments: :, [:,]" echo "(If RP#1 and RP#2 are the same, skip the bracketed arguments)" echo "Examples: " - echo "(1) mlabs-raw mlabs 1 mlabs 2 mlabs:LV,HV" + echo "(1) mlabs-raw mlabs-1 1 mlabs-1 2 mlabs-1:LV,HV" echo "(2) creotech-raw creotech-1 1 creotech-2 1 creotech-1:LV,LV creotech-2:HV,HV" exit fi diff --git a/plot_sayma_data.py b/plot_sayma_data.py index fcd2c61..966605e 100644 --- a/plot_sayma_data.py +++ b/plot_sayma_data.py @@ -14,7 +14,8 @@ def rp_raw_to_numpy(rp_raw): RP_IP_ADDRS = { "creotech-1": "192.168.1.104", "creotech-2": "192.168.1.105", - "mlabs": "rp-f05cc9", + "mlabs-1": "rp-f05cc9", + "mlabs-2": "rp-f0612e", } diff --git a/rp_get_sayma_data.py b/rp_get_sayma_data.py index a246555..edca24f 100644 --- a/rp_get_sayma_data.py +++ b/rp_get_sayma_data.py @@ -48,7 +48,8 @@ class RPSCPI: RP_IP_ADDRS = { "creotech-1": "192.168.1.104", "creotech-2": "192.168.1.105", - "mlabs": "rp-f05cc9", + "mlabs-1": "rp-f05cc9", + "mlabs-2": "rp-f0612e", }