Overview:
To achieve proper synchronization, a common clock source must be selected. While the Time Synchronization guide typically mentions only one shared clock, it is important to understand that both tasks must explicitly reference the same timing source to ensure they start together.
If your hardware module supports PFIO (Programmable Function Input/Output) ports, these can be particularly useful. PFIO ports allow for precise timing and triggering between tasks, making it easier to coordinate the start of Counter and Analog Input operations. By configuring one task to trigger the other via a PFIO signal, you can achieve tight synchronization even across different subsystem types.
Environment: LabVIEW 2021 or later, NI DAQmx 202 or later NI cDAQ chassis.