# Setting Up I/O Modules

Navigation: Working with Nx Witness > Device Management (Cameras, Encoders and I/O Modules) > Setting Up Cameras and Devices > # Setting Up I/O Modules |

Nx Witness handles I/O devices as it does cameras, with some specific functionality adaptations. Like all other devices, I/O modules are discovered automatically or with the user's help and then displayed in the Resource Tree.

However, to start working with an I/O Module it is necessary to obtain and configure an I/O Module License (otherwise the "Module is disabled" message will be displayed). After the license is activated, the module will be displayed with the available inputs and outputs.

Only Owners, Administrators, and custom users with "Edit camera settings" permission can configure I/O Modules. Owners, Administrators, Advanced Viewers, and custom users with "User Input" permission can view IO Module input and outputs in layout.

I/O modules require the following setup steps

1.Right-click on the device in the Resource Tree and go to I/O Module Settings.

2.Go to the I/O ports tab and enter the following parameters:

•Type – Input or Output

•Default State – Open circuit or Grounded (depending on I/O Module)

•Name of the port

•On click – select the desired action

•Pulse time (output only) – the length of time the signal will be generated (in milliseconds)

After the I/O module is configured, it will be displayed as shown below:

If you check the "Enable tile interface" checkbox, you will be able to operate the device's ports from the Nx Witness interface. The left panel shows the ports currently in use, the right one is clickable.

The following actions can be performed with an I/O Module:

•Record Audio from I/O Module (if a microphone is connected). See "Setting up Recording Schedule" for details.

•Playback Audio Archive Recorded from I/O Module (if a microphone is connected). This is similar to viewing archive from cameras (see "Navigating through Archive and Live")

•View Inputs State. When the circuit is grounded, the appropriate sensor turns green.

•Trigger Output. For this purpose click the corresponding button (A3 and A4 in the image above). The output signal is sent for the amount of time specified in the Pulse Time setting.

•Create Rules using the device's input and output ports as described in Input Signal on Device and Device Output.