I've got the same setup and doing roughly the same thing as you with a MXI-4 PXI-PC controller.
Go to this link:
and check out Professional Tools #2 - Data Compaction for High-Speed Streaming to Disk.
you'll want to sue the Cont Acq Voltage from two tasks to file example.
as with reddog's example you need to add a DAQmx Trigger.vi to the master task and select Start Analog Edge. add the required inputs and it should be working.
if you're looking at saving your 15 channels to disk at the full 2.5MS/s rate you will have to consider modifying the example to
1. queue the data before saving to disk and then save the data to disk after the capture has taken place (speeds the read loop to avoid your board buffer being overwritten - look at some examples on queues) when you do this you might want to make sure you have enough ram too.
2. change DAQmx Channel Property AI.DataXferMech to DMA.
3. Change Daqmx Read - WaitMode property to Poll
4. Minimise anything else running at the same time as data capture.
this is what I've done, and have found that each has helped in improving the amount of data I can capture.
-jeff