Hi Guys,
Since PcVue 11.1, we can export trends directly from the ActiveX.
Is it a way to call this button to export the trends in SCADA Basic?
(I haven't find it in the help file, and I have 2 customers who asked today for that)
Thanks.
Manu
Hi,
Yes that exists :
Trend Data Export without HMI :
Without HMI, add a new mode “DATA_EXPORT/43” to the existing verb TREND, something like
TREND("DATA_EXPORT", Window, Branch, Identity[, SelectedTrendNumbers, BeginTime, EndTime, DataMode, Period, Unit,…]);
Where: SelectedTrendNumbers can be “1,2,8”. If no parameters, use the defaults.
Use the verb to request data and write to buffer or file in the project TP folder.
BR,
Sylvie
Sorry, I think that the mode is not DATA_EXPORT but EXPORT.
To check !
Thanks Sylvie,
I try this in the HMIDemo projet :
TREND("EXPORT","Trends_generator","","Trend1")
and it works!!
Thank you. :woohoo:


