Hello;
There aren't examples showing how to do that for TIO boards, however, you can use one of the examples for STC, and replace the function calls that are not supported by TIO devices by the ones that are supported.
You can find a list of all functions that are supported by each device in the NI-DAQ on line help. To find that list, open the NI-DAQ on line help,maximize the option "NI-DAQ functions" on the left hand side, and choose the link "Listed by Hardware Product".
Hope this helps.
Filipe A.
Applications Engineer
National Instruments