TTL Response Commands

Note: TTL Response utilizes Digital IO devices to perform responses as well as for monitoring TTL input bits.  Settings made to Digital IO devices will affect the way TTL Response performs.  See the Digital IO section of this guide for more information.

Some hardware systems have TTL response mechanisms included that further decrease the latency of spike and TTL input response.  See the documentation for your hardware for more information.

 -SetSpikeTTLResponse <Acq Ent Name> <Cell> <Output Device> <Output Port> <Output Bit>
Specifies a cell (cluster) number for a particular spike acquisition entity that will trigger a TTL pulse on the specified output bit.  All pulses will be high pulses with a duration defined by the Digital IO output port used for TTL response.

Example :   -SetSpikeTTLResponse TT1 3 AcqSystem1_0 1
Default: All TTL output bits are initialized with no response.
Usage:  This command can be used only when __prod_name is idle or in acquisition mode.
Arguments
Acq Ent Name
The name of the acquisition entity whose spikes will be used to trigger the TTL pulse.
Cell
The cell number to be used for the specified acquisition entity in order to trigger a TTL pulse.  The cell number must be between 0 and 31.  When a new spike is detected for the specified acquisition entity with the desired cell number, a high TTL pulse will be delivered on the specified output bit.  The cell number may be set to a value of all .  When set to all , cell number is disregarded and any spike coming in from the acquisition entity will cause a TTL pulse to be delivered.
Output Device
The name of the Digital IO device that will be used to deliver the TTL pulses. For a list device names, use the -GetDigitalIOBoardList command or see the Digital IO setup dialog.
Output Port
The port number on the device that contains the bit that is to be pulsed.  The port must be set to output or this command will fail.  The port direction can be changed via the -SetDigitalIOPortDirection command or via the Digital IO setup dialog.
Output Bit
The bit number for the port on the device in which the TTL pulse will be delivered.  The bit number can be between 0 and the number of bits available for the specified port.  For information on port sizes, see the Hardware Systems section of this guide.

 -SetTTLInputResponse <Input Device> <Input Port> <Input Bit> <Output Device> <Output Port> <Output Bit>
Specifies a TTL input bit that will trigger a TTL pulse on the specified output bit.  All pulses will be high pulses with a duration defined by the Digital IO output port used for TTL response.

Example :   -SetTTLInputResponse AcqSystem1_0 0 3 PCI-DIO24_0 1 1
Default: All TTL output bits are initialized with no response.
Usage:  This command can be used only when __prod_name is idle or in acquisition mode.
Arguments
Input Device
The name of the TTL input device that contains the bit that will trigger a response.  For a list device names, use the -GetDigitalIOBoardList command or see the Digital IO setup dialog.
Input Port
The port number on the input device that contains the bit that will trigger a response.  The port must be set to input or this command will fail.  The port direction can be changed via the -SetDigitalIOPortDirection command or via the Digital IO setup dialog.
Input Bit
The bit number on the input port that will be monitored.  When this bit goes high, the TTL response will be triggered.  No response will be triggered when the bit changes from high to low.  The manner in which the TTL input bit is monitored is defined by the settings of the Digital IO device that contains this bit. 
Output device
The name of the TTL output device that contains the bit that will be pulsed.  For a list device names, use the -GetDigitalIOBoardList command or see the Digital IO setup dialog.
Output Port
The port number on the device that contains the bit that is to be pulsed.  The port must be set to output or this command will fail.  The port direction can be changed via the -SetDigitalIOPortDirection command or via the Digital IO setup dialog.
Output Bit
The bit number for the port on the device in which the TTL pulse will be delivered.  The bit number can be between 0 and the number of bits available for the specified port.  For information on port sizes, see the Hardware Systems section of this guide.