How can I use BusTools/1553-API to add message filtering to a Bus Monitor?

This is a basic example program that sets up a simple Bus Monitor. You are be prompted for a filename (BMD file) and the the number of messages to capture. The program then captures those messages and writes them to the BMD file. Use BusTools/1553 (demo version or full version) to view the BMD file.

This is a variant of sample program 'example_bm1.c' that demonstrates message filtering. This program captures only messages for RT1 SA2 TX.

Since this is a monitor only example, you need something else generating bus traffic to produce messages to capture.

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