![]() The TestStand API functions are named to help clarify what they do on a quick glance. } How to use the TestStand API in a code module ![]() Void _declspec(dllexport) renameStep(CAObjHandle ThisContext, const char *CurrentName) The generated code will have the TestStand API function panel and header files included so you can immediately begin programming with the TestStand API. Click Create Code to have TestStand generate a DLL with the function you specified.Note: You can also select a preconfigured prototype using the Code Template menu. For TestStand objects, select Object for catagory and CVI Active X Automation Handle for type. Add the parameters to pass into the function using the + button and configure the name and data type of each.Specify a DLL (dynamic link library) name and function name.Create a new step which uses the CVI Adapter. ![]() In this tutorial, you create a new code module from a template to get started. The process for using the API in a LabWindows/CVI code module is fairly similar to LabVIEW. Creating a Code Module with Access to the API in LabWindows/CVI
0 Comments
Leave a Reply. |