Tosca produces a set of three digital sync pulses, corresponding to the onsets of each trial, state, and stimulus repetition. It is necessary to record these sync pulses on the TDT hardware in order to align physiological data recorded by Synapse with Tosca-generated stimuli and Tosca-acquired behavioral responses.
The trial, state, and rep sync pulses typically arise from Port 0, Lines 7, 6, and 5, respectively, on the first 16-bit board (PXI-6221) on the PXI.

These signals are connected to the corresponding bit-addressable inputs on the TDT device (e.g. RZ2 or RZ5):
Signal
|
PXI
|
TDT
|
Trial
|
Port0Line7
|
C7
|
DB25-Pin17
|
State
|
Port0Line6
|
C6
|
DB25-Pin4
|
Rep
|
Port0Line5
|
C5
|
DB25-Pin16
|
Impale Trial
|
PFI12
|
C0
|
DB25-Pin3
|
Ground
|
DGND
|
GND
|
DB25-Pin5
|
The physical connection to the TDT device is through its front panel DB25 Digital I/O input. One option is to custom build a DB25 connector. An alternative is to get a DB25 breakout board (like this one) as shown in the photo below.

|