I have downloaded 70 examples and have used rtiddsgen and they all seem to have a somewhat unhelpful paradigm. Produce a publisher (exe) that generates some internal data (reads the keyboard or other method for generating the data local to the publisher). It then takes the data "message" and writes it. The subscriber (separate exe) catches the message and prints the data received.