Motion Simulation plot

Hello everyone,

How can I plot XY-Graphing to spreadsheet using VB.net.

or

How can I get access to function data. For example: I created function and I want to save to file it's value in specific time.
I know how to save to file, I only need to know how do access data.

Journaling shows me nothing.

Thanks,
rootek