Source All Digital Pins, Source-Wait-Measure Each Digital Pin (TSM)
- 更新日2025-07-31
- 2分で読める
The following figure shows how to source zero volts on all digital pins and then for each digital pin, source a voltage, wait, and measure.
This example includes the following main tasks:
- Query for the sessions for all test pins.
- Use a parallel For Loop to iterate on every instrument you need to call to source zero volts on all pins.
- Use a For Loop to iterate on every digital I/O pin.
- For each pin, query for the session for the pin under test.
- Use a parallel For Loop to iterate on every instrument you need to call to source a voltage, wait, and take a measurement on the pin under test.
- Use the Pin Query Context for the pin under test with a pin-based instance of the Publish Data VI to publish the data for each pin.
The Semiconductor Multi Test step that calls the code module shown above contains the following tests, where each test evaluates one measurement for each pin, as shown in the following figure: