ADRESA=TektronixMSO58a 4000 PRIKAZw=nc -w 1 PRIKAZq=nc -q 3 CHANNELS=1 2 3 4 5 6 SCREENSHOT_FNAME=screenshot.png DATA_FNAME=data_all.txt # in s TARGET_DT=1e-6 output=TektronixMSO58a arming: echo "FPANEL:PRESS SINGLESEQ"|$(PRIKAZq) $(ADRESA) trigger: echo "FPANEL:PRESS FORCETRIG "|$(PRIKAZq) $(ADRESA) getdata: echo "data:encdg ascii"|$(PRIKAZq) $(ADRESA) echo "data:source ch$(CHANNEL)"|$(PRIKAZq) $(ADRESA) #echo "curve?"|$(PRIKAZw) $(ADRESA)|tee data >/dev/null echo "curve?"|$(PRIKAZw) $(ADRESA)|tail -n +10|sed 's/>//g'|sed 's/,/\n/g'> data$(CHANNEL) #tail -n +10 data$(CHANNEL)|sed 's/>//g'|sed 's/,/\n/g' > data_$(CHANNEL) #cat data$(CHANNEL) acquisitionOLD: echo "Performing $(ADRESA) DAS acquisition"|tee -a /home/svoboda/GOLEM/web/roperation/RemoteTokamak/actions.log for channel in $(CHANNELS);\ do make getdata CHANNEL=$$channel ;\ done;\ acquisition: python main.py save_channels $(DATA_FNAME) $(TARGET_DT) $(CHANNELS) python main.py save_screenshot $(SCREENSHOT_FNAME) convert -resize 150x120\! $(SCREENSHOT_FNAME) icon.png plots: echo '

Tektronix oscilloscope

Screenshot

Data


Generated by makefile.' >> $(output).html cp $(output).html index.html