You can convert .NET controls to custom controls and add them to a palette.
 |
Note Creating and communicating with .NET objects requires the .NET Framework 1.1 Service Pack 1 or later. National Instruments also strongly recommends that you use .NET objects only in LabVIEW projects. |
Complete the following steps to add a .NET control to a palette.
- Select Tools»Import».NET Controls to Palette to display the Add .NET Controls to Palette dialog box.
- Select an assembly from the Assembly pull-down menu. You also can click the Browse button to access private assemblies. .NET assemblies are .dll file types. After you select a private assembly, the assembly appears in the Assembly pull-down menu the next time you launch this dialog box.
 |
Note If you move a VI that uses a private assembly to a different folder or machine, you either must move the associated private .NET assembly files to a subdirectory that LabVIEW can search, or you must save the files in the Global Assembly Cache (GAC). If you build a VI that uses a private assembly into a shared library or stand-alone application, LabVIEW copies the associated private .NET assembly files to the data subdirectory in the same directory as the library or application. |
- Select the .NET control you want to convert from the Controls list.
- In the Destination text box, enter the directory or .llb file in which you want to store the control. The default destination is the labview\menus\Controls\DotNet & ActiveX directory, which places controls that you add on the .NET & ActiveX palette. You also can click the Browse button and navigate to the directory in which you want to store the control.
- Click the OK button to add the control to a palette.