To download NI software, including the products shown below, visit ni.com/downloads.
This example demonstrates how to define an enumeration in a CVI DLL that can be detected in the parameters pane in a calling Step in TestStand.
To Create an enumeration in a CVI DLL, it is necessary to define a function panel (fp) for the enum variable. Instructions for completing this can be found here:
KnowledgeBase: TestStand and LabWindows/CVI Enumeration Data Types
After implementing these steps, the parameter pane will show a dropdown for the enum parameter
CVI Enumerated Values - TS2014.zip
TestStand 2014 or compatible
LabWindows/CVI 2012 or compatible
TestStand Help: Generating Type Library Information to Include in a DLL
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.