How do I control two separate 1553 channels from one application?

The first parameter for most of the API functions is the card_num. This is actually a channel id rather than a card number. Each channel must be initialized separately using a unique channel id. The channel id normally starts at zero and increments for each additional channel. The example program, "Example_2ch.c", demonstrates how to do this.