advertisement
from the Forum department...
Exporting Citect trend data to excel
Human-Machine Interface and SCADA. topic
Posted by kerro74 on 21 July, 2012 - 9:23 am
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).

regards
kerro74


Posted by kerro74 on 21 July, 2012 - 2:48 pm
Just as an addition, this is the cicode which carries out the function.
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


Posted by cmothebean on 5 August, 2012 - 8:46 am
I believe the function will extrapolate the data when you define a range that does not line up with your trend tag's sample rate. Your trend tag might be updating every 30s, but if you set the time range to one minute and 100 samples the data has to be interpreted.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2013 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.


Fortune
The idea is to die young as late as possible.
-- Ashley Montague
Advertise here
Advertisement
our advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive