(* CODE SECTION *)
(* Initiate the instace parameters: path_to_file, max_records (cyclic buffer) *)
trendsFBtrend1Instance.init('$$eDesignDB$$/trends/trend1.db', max_records);
(* write one record into the DB *)
strend1Values := PlcVisu.ELA_UTIL.CONCAT_4096('--', REAL_TO_STRING(GVL_Trend.value_sinus));
strend1Values := PlcVisu.ELA_UTIL.CONCAT_4096(strend1Values, '--');
trendsFBtrend1Instance.write('',strend1Columns, strend1Values);
(* write delimiter line - optional - i.e. end of the batch -> this will cut the line in front-end view *)
(* trendsFBtrend1Instance.writeFinish(''); *)
(* CODE SECTION *)
(* Initiate the instace parameters: path_to_file, max_records (cyclic buffer) *)
trendsFBtrend1Instance.init('$$eDesignDB$$/trends/trend1.db', max_records);
(* write one record into the DB *)
strend1Values := PlcVisu.ELA_UTIL.CONCAT_4096('--', REAL_TO_STRING(GVL_Trend.value_sinus));
strend1Values := PlcVisu.ELA_UTIL.CONCAT_4096(strend1Values, '--');
trendsFBtrend1Instance.write('',strend1Columns, strend1Values);
(* write delimiter line - optional - i.e. end of the batch -> this will cut the line in front-end view *)
(* trendsFBtrend1Instance.writeFinish(''); *)