Hey Indhu,
You can use the data logging tool of VBAI to log data to a file. You can access this by going to Tools -> Configure Inputs/Outputs. You can read more about this in the VBAI User Manual.
One other option that you have is to upgrade to VBAI 2.6.1, which has an ActiveX component for the Vision Builder for Automated Inspection engine. With this component, you can pass that data back to your VB program while it is running, which is a powerful feature and would be worth the upgrade. You can download the current version of VBAI from the following link:
Vision Drivers and Updates, and install it to test it out for a 30-day trial, then when you want to purchase it, all you would have to do is activate it.
I hope this helps. Please let us know if you have further questions or concerns.
Regards,
DJ L.