# Cognex.Designer.ExampleDevices

The ExampleDevices sample plugin provides a template for creating a custom adapter Cognex Designer uses to communicate with custom server devices.

Once the custom device plugin is implemented, Cognex Designer will be able to connect and interact with the custom server. It should appear in Project Explorer → Devices → Communications.

Use it as follows:

1. Copy the Cognex.Designer.ExampleDevices folder into a directory you are developing in.
2. Open the Cognex.Designer.ExampleDevices solution in Visual Studio.
3. Develop and build your plugin.

Tip: SampleDevice.cs is responsible for connection and interaction. SampleDeviceScanner.cs is used to scan for devices so that they show up in the Devices list.

Cognex Designer makes the built plugin available at the following location:

%ProgramData%\Cognex\Designer\Plugins\Samples\Cognex.Designer.ExampleDevices

The plugin should consist of the following files: