Basic PCA level automated test example using Phidgets to power cycle a circuit board, take voltage data, plot, and store data in a CSV.
For the purposes of this example the PCA under test is just a power supply in order to accentuate the output waveform. For a practical application this would be tied to whatever output or test signal that you wish to measure.
- VINT Phidget HUB0001_0
- Votage Input Phidget VCP1000_0
- Relay Phidget REL2001_0
- Generic Power Supply
Basic form accepts:
- Serial Number: Tagged serial number for DUT that's tagged in output file names
- Start Up: Time in seconds data is collected prior to test (before power-up)
- Duration: Time in seconds data is collected during the test
- Shutdown: Time in seconds data is collected after test (after power-down)
- Trials: Number of iterations of test
The output data files are named in the syntax "YYYY-MM-DD HH-MM-SS [Serial Number]". For example "2023-09-03 13-05-21 SN12345"
The output data plot would appear as follows if the the voltage input Phidget was connected to a 3.3V supply. Each trial is overlayed.
The output CSV file is in the format below.
| Sample | Trial | Elapsed | Data |
|---|---|---|---|
| 0 | 0 | 0 | -0.0027 |
| 1 | 0 | 0.012917 | -0.0027 |
| ... | ... | ... | ... |


