Programmatically accessing an instrument in OpenTAP

From any TestStep, you can get a reference to the entire collection of instruments:
Example:
var inst0 = InstrumentSettings.Current.First(inst => inst.Name == "INST0");

3 Likes