added __str__ to Analog event
Updated example scripts