User Documentation
Table Of Contents
- Table of contents
- 1 Introduction
- 2 Safety instructions
- 3 System overview
- 4 Operating behavior
- 5 Software installation
- 6 Configuration
- 7 Program development
- 8 Licensing
- 9 Device Administration (DevAdmin)
- 10 Software units
- 11 OPC UA Server
- 12 Node-RED
- 13 LongtermDiagnosticMonitor
- 14 Data recorder
- 15 Diagnostics
- 16 Maintenance
- 17 Technical data
- 18 Directives and standards
- 19 Appendix: Tutorial - creating an IEC project
- 20 Appendix: Addressing in the Ethernet (basics)
- 21 Appendix: Tutorial FoE
- 22 Appendix: Tutorial - call C function from IEC
- Index

Data recorder
System manual
2696790000/02/04.2020
85
Max. buffer capacity Max. number of variables
2,048 256
Example
Profiles with between 32,769 and 65,536 samples can register a max. of 8
variables for recording.
Profile with SingleShot buffer type
Max. buffer capacity Max. number of variables
1,048,576 254
1,042,453 256
Profiles with a maximum capacity of 1,048,576 can register a max. of 254
variables for recording. Conversely, the maximum of 256 variables can only
be registered to profiles with a maximum capacity of 1,042,453. The maxi-
mum refers to 4 GB – for Linux with, for example, 1 GB of user address
space, the information must be divided by four and, depending on the design
of the memory, divided once again.
14.7 Appendix: C interface
The following section contains examples for the use of the DataRecApi pro-
gramming interface for C applications.
All examples use the following configuration:
[Xcrt]
traceWord = -1
[Xcrt.Resource:0]
name = "resource7"
[Xcrt.Resource:0.Task:0]
name = "Task_1s"
interval = 1000000
priority = 5
[Xcrt.Module:0]
codeFile = "libTestDataRecApp"
moduleInitFunc="moduleInit"
moduleStartFunc="moduleStart"
moduleStopFunc="moduleStop"
moduleExitFunc="moduleExit"
[Xcrt.Module:0.TaskConnection:0]
context = "resource7.Task_1s"
prio = 1
hookClientFunc = "moduleCallback"
In addition, all examples share the same header:
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "TestDataRecApp.h"
#include "MemApi.h"
#include "LogApi.h"
#include "DataRecApi.h"
/