Module.EditCode

Syntax

Module.EditCode

Return Value

Boolean

Indicates if the module was modified.

Purpose

Launches an external application in which you can edit the code associated with the module.

Remarks

Launches the application associated with the adapter. For example, modules created with the LabVIEW Adapter launch LabVIEW.

For adapters that use Microsoft Visual Studio, calling this method can result in prompts to the user if any of the following conditions exist:

  • Multiple versions of Visual Studio exist on the computer and you select the Always Prompt for Version option from the Version of Visual Studio to Use for Create and Edit Code ring control in the Adapter Configuration dialog box.
  • Multiple versions of Visual Studio exist on the computer and you select the Use the Version that Matches the Project File option from the Version of Visual Studio to Use for Create and Edit Code ring control in the Adapter Configuration dialog box, and TestStand cannot match the version of the file.
  • The specified solution does not contain the specified project.
  • The specified project does not contain the specified source file.

See Also

Adapter Configuration dialog box

Module.CanEditCode

Module.CreateCode

Step.EditCode