DataStoreInfoDB('DatastoreIndex*','InfoType*')

DataStoreInfoInflux('DatastoreIndex*','InfoType*')

DataStoreInfoKafka('DatastoreIndex*','InfoType*')

DataStoreInfoMindSphere('DatastoreIndex*','InfoType*')

DataStoreInfoMQTT('DatastoreIndex*','InfoType*')

Parameters ending with * are only evaluated once at the start of the acquisition.

Description

This function provides information about the selected database or cloud data stores. This information may be used for controlling other functions or for display and diagnostic purposes.

Identify the desired DB/Cloud data storage with the 'DatastoreIndex*' > = 0.

The index can easily be obtained by looking at the tree structure in the configuration dialog of the Data Storage. Index increases top-down.

Specify the information type ('InfoType') you want to receive.

The following information types are supported:

Table Information types and possible results of the DataStoreInfoDB function

Information types

Possible results

0: Recording status

0 = stopped

1 = waiting for trigger

2 = recording

3 = posttrigger recording

1: Data throughput

Value in kB/s

2: Is server connected?

0/False = no

1/True = yes

3: Recorded time since last start trigger

Value in seconds; this will be constant 0 for continuous recording.

5: Current buffer usage

Value in %

6: Current file buffer usage

Value in %

7: Unprocessed bytes in file buffer

Value in %