This
Example Program for Lookout demonstrates how to use the Table object in Lookout to import data from a database into Lookout and then export it to Excel. It's a bit unclear to me as to exactly what you need to do, but I do think the Table object will help you.
If you have more questions, please post a reply.
Regards,
Kristi H
National Instruments