Indexes Corresponding to the TestStand Module AdaptersPrimary Software: TestStandPrimary Software Version: 3.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: In order to get an Adapter object, I need to call the Engine.GetAdapter method and pass a zero-based index to specify the Adapter object for which I want to obtain a reference. However, the TestStand Help does not have a list of the indexes corresponding to the TestStand module adapters. How can I get this list? Solution: The index corresponding to a particular adapter depends on the available module adapters. The list of available module adapters may differ from one version of TestStand to another. The following is a list of indexes corresponding to the available module adapters in TestStand 3.0 and TestStand 2.x:
Engine.NumAdapters Engine.GetAdapter Adapter.KeyName The attached sequence files show how to use the above properties/methods and display a message popup dialog box showing a list of the available adapters with their corresponding index. Download the sequence file corresponding to the version of TestStand that you have and run the MainSequence. Related Links: Attachments:
Report Date: 03/08/2004 Last Updated: 09/14/2004 Document ID: 377EOHMT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
