This VI synchronizies the 5422 Arb with an X-Seires Analog output. The 5422 is configured in Arbitrary Sequnce Mode. Set the DAQmx trigger to look at the 5422's start trigger.
Applications Engineer National Instruments
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.