The default test step design is to configure a member to receive instrument instances at runtime, which requires the test plan editor to assign that instrument at edit-time.
I would like to research what is possible for more generically associating a set of signal names with a list of instrument names, and have a test step lookup and access the opened instrument that is associated with the signal name (and any switching information too).
For example, if I am managing a signal to instrument mapping in an external file and my test wants to access one of those pins, I would like the test step to lookup which GPIO instrument, its channel, and potentially MUX routes to assess that signal to perform the operation.
Technically I could create custom instruments that register themselves on Open, but that seems duplicate of what OpenTap is already managing internally for test runs.
How can I access the opened instruments when running a test plan from within a test step, or design some plugin that a test step uses?
[Edit] Just found a similar unaswered post: “Programmatically accessing an instrument in OpenTAP”…