« Back to Product

Documentation

CSV_Export

Require: IP-Symcon >= 5.5

 string CSV_Export (int $InstanceID, int $ArchiveVariable, int $AggregationStage, int $AggregationStart, int $AggregationEnd) 

Parameters

InstanceID

ID of the Instance

ArchiveVariable

VariableID, which should be exported

AggregationStage

Aggregation level analogous to AC_GetAggregatedValues

AggregationStart

Date/time as Unix timestamp (0 = from beginning)

AggregationEnd

Datum/Zeit as Unix timestamp (0 = until now)

Returns

The relative path of the zip archive.

Description

Creates a zip archive based on the given parameters and returns the relative path of the archive.

Example

CSV_Export(12345, 54321, 4, 2293574400, 3127161600);
Any questions?