Browse Source

Add mlabs 2nd RP

master
Harry Ho 1 month ago
parent
commit
a5ba828b47
  1. 2
      get_and_plot_sayma_data
  2. 3
      plot_sayma_data.py
  3. 3
      rp_get_sayma_data.py

2
get_and_plot_sayma_data

@ -16,7 +16,7 @@ then
echo "Arguments: <dir name> <RP#1 name> <RP#1 channel> <RP#2 name> <RP#1 channel> <RP#1 name>:<IN1 gain>,<IN2 gain> [<RP#2 name>:<IN1 gain>,<IN2 gain>]"
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

3
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",
}

3
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",
}

Loading…
Cancel
Save