Add mlabs 2nd RP

master
Harry Ho 2021-05-13 10:27:16 +08:00
parent 001e981a65
commit a5ba828b47
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

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

View File

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