Triggers are very simple devices that do nothing more than assign a device name to a particular PFI input channel on the DAQ. This allows tasks to be executed that require a particular input line to be activated before starting.
Note that other devices (cameras in particular) define their own triggering capabilities; it is not necessary to define a separate trigger device in such cases.
Example configuration for a foot switch connected to a DAQ PFI. The switch can then be used to trigger the start of a task.
FootSwitch: # the name "FootSwitch" will appear in the list of # trigger sources in the NiDAQ TaskRunner interface driver: 'Trigger' DAQ: '/Dev1/PFI5'