The job is to create a test program using a laptop, Picoscope 5242B, reed relay switch, power source with a fixed voltage of about 12 volts and a resistor to drive a 50mA signal through the switch and record the waveform once every about 10,000 actuations. I think I can do it using a timer set by the laptop to allow just 10000 square wave cycles on the Picoscope, and then a trigger function into the Picoscope to take the data (voltage waveform across the resistor)and store it with each trigger. I am not sure how to set up the Picoscope to do this though so that the data becomes serialized for retrieval.
For instance if the Picoscope had a counter function built into the waveform generator I could set up a trigger to cycle 10000 times then take the data, if not then I can use a QBasic program to do the counting assuming it knows the frequency set on the generator internally. Yes would like to set this up unattended for some time. Over time the reed switch starts going bad and the waveform will change, my customer would like to know how long it takes for this to occur and when to perform maintenance by replacing the switch.