Hi Dave,
Have you tried using NI-Sync? NI-Sync is the driver for the NI timing and synchronization boards including the PCI-1588. Included with the NI-Sync driver is documentation detailing the process of building a C++ application as well as an API function reference. You can download NI-Sync
here .
The specific functionality you are looking for is provided by the niSync_ReadTriggerTimeStamp function. With this function you will be able to device (PCI-1588), select the input terminal for trigger, type of edge, and any timeout. For more information regarding this function, and creating you C application with NI-Sync, check out the NI-Sync User Manual and the NI-Sync API Reference help (both are included when you install NI-Sync). I hope this helps.
Ted
Ted H
Applications Engineering
National Instruments