If your running ProTool Pro on PC (PC as your HMI) I have code samples I can send your for the following:
Export tag values to csv file
Export tag value to excel
Send email when an alarm comes in
Send me an email with exactly what you are wanting to accomplish and perhaps I can provide some assistance.