What this example VI does: 1. ctr0 is set up to generate a pulse every second (1 Hz default). Each pulse of this counter will trigger current output on the NI-9265 (internal ctr0 output) which will also trigger a pulse on ctr1 so the current output and counter output are synchronized. 2. The ctr1 output will have a hardware-programmable delay (10 ms default) and we will use this counter to trigger the analog input, therefore obtaining a hardware-timed deterministic amount of time between the current output and voltage input. Note: line3 (pin 14) on the NI-9485 must be wired to PFI0 on the NI-9205 for this triggering to work. 3. Prior to the current output, we switch the relay on the NI-9485, thus multiplexing the signal. A common application for this sort of VI would be if the user would like to read the reflection off of multiple LEDs after a very specific amount of time.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.