ST_ALYC_FileStreamConfig

TYPE ST_ALYC_FileStreamConfig :
STRUCT
     bAutoStartStream : BOOL := TRUE;
     nAdsBuffer : DINT := 32; // Samples in buffer
     nSamplingDivider : UDINT :=  1;
     eCompressionMethod :  ANALYTICS_COMPRESSION := ANALYTICS_COMPRESSION.ANALYTICS_COMPRESSION_RL;
     eCompressionWidth : ANALYTICS_COMPRESSION_WIDTH := ANALYTICS_COMPRESSION_WIDTH.ANALYTICS_COMP_WIDTH_8;
     eExternalTimeType :  ETcExternalTimeType := ETcExternalTimeType.SystemTime;
     stDeviceLocation : ST_ALYC_Address := (sAddress := '', sLongitude := '', sLatitude := '');
     sSystemIdAlias : STRING;
     nMaxFileSize : UDINT := 16;
     nFilesInRingBuffer : UDINT := 2; // Number of files in ring buffer
     sFileDir : STRING(255) := ''; // Optional, Default: %TC_BOOTPRJPATH%
     bEnableRingBuffer : BOOL := TRUE;
     nMaxUnconfWrites: UDINT := 1000; // Number of file writes without a confirmation from ADS router
END_STRUCT
END_TYPE