This dialog provides various mechanisms for exporting the current trigger (or file saving) state. The selected options will apply for all activated channels. If you need to distinguish between various channels, then you should activate the append channel number option. These options may be used for controlling external devices (e.g. video cameras or feeding devices in feedback experiments) or reporting trigger events (e.g. via e-mail).
trigger state (TRG) : The control signal is derived from the internal trigger state.
file saving state : The control signal is connected with the sound file generation (a control signal will be issued on the begin and on the end of each sound file)
action : This list box provides the available commands that will be executed on the begin and / or the end of a trigger or file:
none : no command is executed
run .exe : a command line application (.exe file) is executed
DDE XTYP_POKE : a DDE poke command is issued
DDE XTYP_EXECUTE : a DDE execute command is issued
Play soundfile : a .wav file is played back (select desired audio output device from the command Play/Device…)
start : specifies the command line application, sound file or the DDE command that is executed (played) on the start of an event
end : specifies the command line application, sound file or the DDE command that is executed (played) on the end of an event
The DDE command must be defined by specifying the application, the topic and item that should receive the command and finally the data that should be sent to the application. These strings should be separated by “;” characters.
append current filename : The current sound file name will be added.
append channel number : The number of the channel that has caused the command is added.
For the DDE options, the above append options will be added to the data section (separated by a space character). For the run .exe option, the appended data will be passed over as command line parameters.
NI-DAQmx DO: If this option is activated, the states of the activated channels will be passed to the specified digital out port (DO) of the installed DAQ device (only available with National Instruments DAQ devices with Avisoft RECORDER NI-DAQ or NI-DAQmx)). Up to 8 channels are mapped to the 8 bits of the digital out port. Channel 1 corresponds to P0.0 (… channel 8 to P0.7). Note that the specified digital port (bit 0...7) will be entirely configured as an out port once this option has been checked. It is therefore not possible to use the selected DO port here also as a trigger input DI on the Configuration dialog box.
TRG out : If the TRG out mode option on the Advanced USGH Device Settings dialog box has been activated and if you have a multichannel UltraSoundGate unit (416H, 816H or 1216H with the firmware version 1.1 or higher), this list box allows to select the desired channel whose trigger or file saving state should be routed to the TRG socket. The any trigger option will allow to output any of the internal trigger signals on the TRG socket.
Active low : If activated, the digital output signal at the (NI-DAQ) DIO out and (USG) TRG out will be active low (0V for the active state).