# avC278 V100mV
# avC334 V900mV
# avC88  V800mV
# avC58  V600mV
# avC397 V300mV

#*******************************************************
#BP_sw1
#*******************************************************
# grep BP_sw1 extview.tmp |grep V*mV |awk '{print $2 " " $3 "  " $4 '}

 
cd /scratch/ra115c/ra115c_LVS/cde-zfr11-cs32/topblocks/default/LVS_1P0_Jan_9_2008_17:01/topblocks
\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
grep BP_sw1 extview.tmp |grep V*mV |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '}|sed -e 's/E-/e-/' >> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC278  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC278/V100mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC334  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC334/V900mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
grep BP_sw1 extview.tmp |grep "avC88	" |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC88/V800mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
grep BP_sw1 extview.tmp |grep "avC58	"   |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC58/V600mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
grep BP_sw1 extview.tmp |grep avC397  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC397/V300mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt | sort -grk 9
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt | sort -grk 9 >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt
#nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt&



#*******************************************************
#BP_sw2
#*******************************************************
# grep BP_sw2 extview.tmp |grep V*mV |awk '{print $2 " " $3 "  " $4 '}

 
cd /scratch/ra115c/ra115c_LVS/cde-zfr11-cs32/topblocks/default/LVS_1P0_Jan_9_2008_17:01/topblocks
\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
grep BP_sw2 extview.tmp |grep V*mV |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '}|sed -e 's/E-/e-/' >> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC278  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC278/V100mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC334  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC334/V900mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
grep BP_sw2 extview.tmp |grep "avC88	" |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC88/V800mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
grep BP_sw2 extview.tmp |grep "avC58	"   |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC58/V600mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
grep BP_sw2 extview.tmp |grep avC397  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC397/V300mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt | sort -grk 9
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt | sort -grk 9 >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt
#nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt&

#*******************************************************
#BP_monitor
#*******************************************************
# grep BP_monitor extview.tmp |grep V*mV |awk '{print $2 " " $3 "  " $4 '}

 
cd /scratch/ra115c/ra115c_LVS/cde-zfr11-cs32/topblocks/default/LVS_1P0_Jan_9_2008_17:01/topblocks
\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
grep BP_monitor extview.tmp |grep V*mV |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '}|sed -e 's/E-/e-/' >> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC278  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC278/V100mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC334  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC334/V900mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
grep BP_monitor extview.tmp |grep "avC88	" |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC88/V800mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
grep BP_monitor extview.tmp |grep "avC58	"   |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC58/V600mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
grep BP_monitor extview.tmp |grep avC397  |awk '{print "capacitor between " $3 " and "$2 " is equal to " $4 " F" '} | sed -e 's/avC397/V300mV/'|sed -e 's/E-/e-/'>> /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt | sort -grk 9
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt | sort -grk 9 >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt
#nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt&



#\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result.txt
#\rm /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result2.txt

cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_2lines.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw1.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_sw2.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result2.txt
cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result2.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_BP_monitor.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result.txt



#cat /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data/RCX_topblocks_1p0_result2.txt /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data/RCX_2lines.txt >/user/ra115c/Atlas_VLT/Assura_RCX/1p0_data/RCX_topblocks_1p0_result.txt
nedit /user/ra115c/Atlas_VLT/Assura_RCX/1p0_data_BP/RCX_topblocks_1p0_result.txt&





