How do you write a Python script to automate the collection of voltage measurements from an oscilloscope?