Have you gotten them to "overlap" by manually setting the instruments up? If you can't, then you've got one or both of the instruments set up wrong. Instrument B should be triggering on the leading edge of instrument A and the pulse width of instrument A has to be greater than the trigger delay of instrument B. And, like I said, your program needs to been completely rewritten to accomplish this.