RANGE=100
STEP=100


all:
	python script.py

findvalue:
	LookingValue=`echo $(VALUE)|awk '{print $$1*1000}'`; echo $$LookingValue; \
	while [ 1 ] ;\
	do \
		ActualValue=`make -iBs getvalue|awk '{print $$1*1000}'`; echo $$ActualValue; \
		echo  $$(($$LookingValue-$$ActualValue));\
	done


getvalue:
	ssh root@192.168.2.199 "/home/tokamak/HTS/SlowMeasurement/multimeter /dev/ttyUSB0"|awk '{print $$2}'

setvalue:
	wget -q -O - http://192.168.2.240/set.xml\?type=s\&out=1\&val=$(VALUE) >/dev/null
	
	