Using the intermediate and/or advanced file IO VIs you should be able to read and write to a file that is open. You can also just communicate with the database directly using your LabVIEW application. The VISA VIs make serial communication, or communication over many other ports, very easy. I don't see any reason why you need a separate applicaiton to communicate with the database unless you want it that way.
Regards,
Brent R.
Applications Engineer