
#!/bin/bash


#make sure the modbus test port is defined
if [ "$MOD_SER_PORT" = "" ]; then
	echo Error: MOD_SER_PORT variable is not set
	echo Error: example: export MOD_SER_PORT=com1
	exit
fi

while [ 1 ]; do 

	./ser_stream $MOD_SER_PORT 1 57600
done

