How can I set up two channels using BusTools/1553-API?

This is a basic 2 CHANNEL example program that sets up one channel as RT and another channel as BC.

The first channel is setup as RT1 with two subaddresses, SA1 RECEIVE and SA2 TRANSMIT.

The second channel is setup as BC with a list of two messages, 1-R-1-32 and 1-T-2-32, in a 20ms minor frame. This BC list runs until stopped by user input. User can either display the data for the 1-T-2-32 message or quit.

Download this example by clicking the attachments link on the right.