Trend Export to xls or csv in SCADA Basic

4 Posts
2 Users
0 Likes
26 Views
(@m.nau@ypsys.com)
Posts: 0
New Member Guest
 

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

 
Posted : 24/03/2015 2:31 pm
s.lucca
(@s-luccaarcinfo-com)
Posts: 18
Eminent Member
 

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

 
Posted : 24/03/2015 3:22 pm
s.lucca
(@s-luccaarcinfo-com)
Posts: 18
Eminent Member
 

Sorry, I think that the mode is not DATA_EXPORT but EXPORT.
To check !

 
Posted : 24/03/2015 3:23 pm
(@m.nau@ypsys.com)
Posts: 0
New Member Guest
 

Thanks Sylvie,

I try this in the HMIDemo projet :
TREND("EXPORT","Trends_generator","","Trend1")

and it works!!

Thank you. :woohoo:

 
Posted : 24/03/2015 3:31 pm