Introduction
Examples ship with the NI-CAN driver to show how to synchronize CAN and DAQ applications. CAN synchronization with CompactDAQ requires a modification of these examples to export the CompactDAQ chassis' timebase and the AI Start trigger to PFI lines on a DIO module. You can not use the BNC terminals on the NI-9178 because they only support up to 1 MHz signals; the timebase that needs to be exported is 10 MHz (generated on the freqout pin of the CompactDAQ module) . This VI is designed to be a drop-in replacement for a sub-VI in the existing CAN/DAQ synchronization examples. This VI contains Frame API functions, so it should be used in the Frame API examples:
Hardware Input and Output»CAN»Frame API»Synchronization»Basic»DAQmx
Steps to Complete
The sub-VI is similar to the CAN Sync Start VIs that ship with the NI-CAN driver, except they are stripped down for use with PCMCIA-CAN and CompactDAQ. It also contains sub-VIs to export the CompactDAQ module's freqout pin to PFI7 and the AI Start Trigger to PFI0. Replace the CAN Sync Start with DAQmx vi with the attached VI (making sure to include a constant to the freqout input to specify the freqout pin), rewiring the connections properly.

Additional Notes
VI is saved in LabVIEW 8.2 format and was created with version 2.7 of the NI-CAN driver.
The Channel API version of this VI can be found here: http://decibel.ni.com/content/docs/DOC-12143
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.