Deploying Custom Interfaces and Protocols
- Updated2025-09-22
- 3 minute(s) read
Deploying Custom Interfaces and Protocols
The Semiconductor Device Control Add-On Professional edition for InstrumentStudio provides default files and folders in the custom interface and protocol projects for creating an NI package that you deploy to the Semiconductor Device Control Add-On.
NI Project Manager installs project files in a specific folder structure. Refer to the NI Package Manager documentation for more information about package components and creating packages.
PackageGenerator.bat File
The PackageGenerator.bat file is a batch file that has the logic to place the custom interface or protocol .dll and .ini files in the packaging folder and create the package (.nipkg) file with the specifications. When the package is successfully created, the .nipkg file is in the same folder as the PackageGenerator.bat file.
Custom.ini File
The custom.ini file binds and loads the interfaces and protocols you create into the Semiconductor Device Control Add-On. The custom.ini file contains the key-value pair needed for the Semiconductor Device Control Add-On. NI recommends that you do not modify the contents of the custom.ini file.
The custom.ini file of a custom interface contains the following information:
[SampleInterface] Interface Type = SampleInterface Interface DLL Path = C:\Program Files\National Instruments\Semi Device Control\Components\Hardware Types\SampleInterface.dll Compatible Comms Adaptor = C:\Program Files\National Instruments\Semi Device Control\AdapterSupport\CommsAdaptorCSharp.dll
The custom.ini file of a custom protocol contains the following information:
[SampleProtocol] Interface Type = InterfaceName Interface DLL Path = C:\Program Files\National Instruments\Semi Device Control\Components\Hardware Types\[InterfaceName].dll Protocol Type 1 = SampleProtocol Protocol DLL Path 1 = C:\Program Files\National Instruments\Semi Device Control\Components\Hardware Types\SampleProtocol.dll Compatible Comms Adaptor = C:\Program Files\National Instruments\Semi Device Control\AdaptorSupport\CommsAdaptorCSharp.dll
Building a Standard Package
- Update the custom.ini file with required interface and protocol information.
- Run the PackageGenerator.bat file.
Building a Custom Package
Complete the following steps to build a custom package.
- Open the control file located at Packing/ni-sdc-custom/control.
- Modify the control file attributes. Refer to the NI Package Manager Manual for information about the control file and its attributes.
- Save the control file.
- Add any required dependencies such as the required instrument drivers or other dependencies to the folder located at Packaging/ni-sdc-custom/data/ProgramFiles_64/National Instruments/Semi Device Control.
- Run the PackageGenerator.bat file.