A outward bound TTL signal must be followed by another stimulus—it can be any but the last stimulus on a trial. Try adding a blank stimulus (~ in the stim cell displayed for 0 seconds in the corresponding time cell) on the trials in your current .csv file where you are sending a ttl signal. Then try running it again to see if the error messages persist.