Admin Production ni-theme
Current Publication

Configuring an ActiveX Server

LabWindows/CVI

ActiveX Controller Wizard — Configure Panel

The Configure panel of the ActiveX Controller Wizard contains the following options:

  • ActiveX Server—The name of the ActiveX Server you specified on the Choose Server panel.
  • Encoding—The encoding of the API functions generated from the ActiveX controller source code. Select ANSI, UTF-8, or Dual. Select Dual to generate both ANSI and UTF-8 API functions.
  • Instrument Prefix—The instrument prefix for the ActiveX Controller instrument driver. You must either leave this control empty or enter a valid C identifier. The wizard prefixes various source code identifiers with this string when it generates the instrument driver. For example, the prefix for the Microsoft Excel 8.0 Object Library can be excel8.
  • Target .fp File—The pathname of the .fp file into which LabWindows/CVI generates the instrument function panels. The wizard creates source (.c) and header (.h) files in the same directory and with the same base filename as the .fp file. You can select either a new file or an existing file. If you select an existing file, the wizard overwrites the contents of the .fp, source (.c), and header (.h) files.
  • Browse—Browses for a target .fp file.
  • Add .fp File To Project—Enable this option if you want to add the .fp file to the current project.
  • Compatibility Options—Displays a dialog box containing backward compatibility options. You might need to change these options to maintain backward compatibility with an existing ActiveX controller instrument driver for the selected ActiveX server.
  • How will you be using ActiveX controls and document objects from this server?—Selects how you will use ActiveX controls and document objects from this server in your application. Some ActiveX controls and document objects can be used with or without a user interface. This option determines whether the object creation functions support the placement of controls and document objects on panels. LabWindows/CVI disables this control if the selected ActiveX server does not contain ActiveX controls or document objects.