How can I write a BusTools/1553-API program in which the BC waits for a one-shot external trigger to start.
This example sets up a simple BC message list. It creates a list of two messages, 1-R-1-32 and 2-T-2-32, in a 20ms minor frame. This BC list runs until stopped by user input. You can either display the data for the 2-T-2-32 message or quit.
The BC waits for an external trigger to start. This program is just a modification of the example program, "example_bc1.c" that adds the external trigger. Once the BC is running, the trigger signal is ignored.
Download this example by clicking the attachment link on the right.