kerro74 Posted July 24, 2012 Report Posted July 24, 2012 Hi, I am working on Citect system (v5.4) which has trend data being sent to an excel spreadsheet for a QA department to look at. It has been done using cicode TrnExportDBF onto local machine, then copied into xls format on remote pc. All works well apart from the fact the values are showing in both formats as having 5 decimal points. The integer values are coming from a plc and are solid as in 72 or 83 or 86 (temperatures). Any idea why they come in with the decimal points (such as 72.18873) I think it may have to do with the iDisplayMode being in default but not sure. TrnExportDBF("c:\citect_reports\trend_data\trend_data_b_curren t.dbf",TimeCurrent(),60,1440,1,"CurrentRecipe",PAST_Flow_L H","PASTBAL_PV","HEAT1_PV","DE_VAC_PV" ,"DE_RE_PV","HEAT2_PV"); thanks in advance Kerro74
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now