Options»Data Types
Use the Data Types command to specify the names of user-defined data types. Data types you specify with the Data Types command appear in the Data Type ring control on the Edit Control dialog boxes for input, slide, binary, ring, output, and global variable controls.
![]() |
Note The .h file for the instrument driver must define the types that you specify with the Data Types command. |
When you select Options»Data Types, the Edit Data Type List dialog box appears.
The items in the Edit Data Type List dialog box are as follows:
- Type—Specifies the name of a user-defined data type.
- Intrinsic Data Type—Allows you to associate each user-defined data type with one of the intrinsic C data types that you can use in a numeric control. If you select an item other than None, you can use the user-defined data type as the data type for a numeric control.
- Add—Places the name in the Type control in the data type list.
- Move Up—Moves the selected entry up one line in the data type list.
- Move Down—Moves the selected entry down one line in the data type list.
- Change—Displays a dialog box that prompts you to change the selected entry in the data type list.
- Delete—Removes an entry in the data type list.
- Add VISA Types—Adds the special set of data types defined by the NI-VISA Library.
- Done—Accepts edits to the Data Type list and returns to the Function Panel Editor.