How can I trigger output when the RT receives a sync mode code using BusTools/1553-API?

This is a basic example program that sets up a simple RT simulation. It simulates RT1 with two subaddresses, SA1 RECEIVE and SA2 TRANSMIT.

This example generates TRIGGER OUT on receipt of a SYNC MODE CODE without data (mode code 1).

This example is a variant of "Example_rt1.c". Click the link on the right to download this file.