This example demonstrates how to setup a DAQmx task on a cRIO (sync) host which shares a same start time between cDAQ DAQmx AI task and cRIO FPGA AI acquisition. Example includes an optional phase calculation code which measures phase offset between acquired signals from cRIO and cDAQs.
This example is setup to be run on a cRIO-9035/9 (sync), cRIO-904x, cRIO-905x, or IC-317x industrial controllers.
General Instruction Installing a VI Package (.vip) Example:
Download the attached .vip package to your PC. Double click on the .vip package which should open up a VI Package Manager (VIPM). In the VIPM window click on the "Install" button on the top left corner and wait for the installation to finish. Once the installation is finished, the example can be accessed from the LabVIEW example finder. In any LabVIEW windows click on Help>>Find Examples...>> Select 'Directory Structure' radio button>> scroll down and find TSN Community Examples directory. Alternatively, example source code will be placed in C:\<Program Files>\National Instruments\LabVIEW 2017\examples\TSN Community Examples directory.