Hello!
You can connect the TTL signal to another ai channel (f.example ai1) and measure both together ("Dev1/ai0:1").
So you will measure the TTL Signal from the moment when signal already set the trigger (you will probably not see the rising or falling edge but only afterwards).
If you want to measure the trigger edge you have to start both measurement before the edge comes or use pre-trigger samples and a reference trigger.
See the LabVIEW example: Acq&Graph Voltage Int Clk-Dig ref.vi
It is not possible to have 2 task measuring analog channels. All analog input channels of a card must be in the same task.
Best regards
Ken