Not sure where to start here...

I have a biab song that I have loaded into Sonar x3.
All the tracks are realtracks.
From there I want to send midi data to my Vocalist Live Pro that controls the chord changes while I generate my harmonies with Vocalist. The Digitech can receive midi data to control the chords. I can make everything work except for this........

How do I generate a midi file from BIAB to play say the rhythm guitar or something with only the chord pattern as midi data to send to the Digitech vocalist.

Not sure I've made myself clear here or not..... lol
But any help would be much appreciated.
Thanks in advance......