Complete the following steps to embed string buffer size information in a type library in LabWindows/CVI so that TestStand automatically specifies the correct string buffer size for a string parameter.

  1. In LabWindows/CVI, open a function panel (.fp) file.
  2. In the Function Tree Editor, select the function panel window that corresponds to the function you want to edit and select Edit»Edit Function Panel Window to launch the Function Panel Editor.
  3. Complete the following steps to create a data type for the parameter. You must complete these steps only once for each .fp file.
    1. Select Options»Data Types to launch the Edit Data Type List dialog box.
    2. Enter char [1024] in the Type control and click Add.
    3. Click Done to close the Edit Data Type List dialog box.
  4. On the function panel, select the control for the string parameter and select Edit»Edit Control to launch the Edit Input Control dialog box.
  5. Select char [1024] from the Data type control and click OK to close the Edit Input Control dialog box.
  6. Save the changes to the function panel file.
  7. Select Build»Create Debuggable Dynamic Link Library to rebuild the DLL. Click OK when LabWindows/CVI prompts you that the files are created.