Hi,
did you try to use the TesStand Datalogging options? You can enable the database logging on Configure => Database Options and then design your own database tables. NI brings different standard schemes, one can create a copy and modify it to log UUT results and Step results only.
The database logging will be managed from the TestStand process model itself and one dosn't need to use the database steps for each single command.
The results one needs to log in the database can be user defined when one manages the property object "result list" in TestStand, for example by creating own steptypes.
In your case, it seems that you don't need to care about that because the data you're logging is part of the standard result collection of TestStand.
The following links might be helpful for further information to that:
http://digital.ni.com/public.nsf/allkb/F5ADBC61222343B586256CE00055E6D6?OpenDocument
http://digital.ni.com/public.nsf/allkb/D30EC9BBA0D740C286256C760049DABD?OpenDocument
regards,
Nikolai