Keep the "-c 1" term in your ping.
Using the result code as zhjim suggests is the right thing to do. Ping will return a zero result code when it works, and non-zero result codes if the address is bad or not active.
Further you may want to consider using the "-w <seconds>" term as well to give it a different timeout besides the default. However the default is usually small like 3-5 seconds.
If you want to echo that into a log file, then you can do something like:
ping -c 1 -w 2 $SRC;
echo "Result for address $SRC was $?" >> Data.log;
And you could also convert the result code numbers to strings matching:
0 - Host detected
1 - Destination host unreachable
2 - Unknown host