Monokot Server 1.x
  • What is Monokot Server?
  • Quickstart
  • 🐸Basics
    • Supported OS and Hardware
    • Installation
    • Licensing
    • OPC UA
      • UA TCP Endpoint
      • UA Settings
      • Client Certificates
      • Aliases
      • Access to Object Settings
      • Troubleshooting
    • Security Certififcate
    • Users & Roles
    • Administrator GUI
      • Event Log
      • Users in Monokot Server Administrator
      • Roles in Monokot Server Administrator
    • Startup Parameters
  • 🦊Tags & Devices
    • Devices
      • Diagnostics
      • Devices in the Monokot Server Administrator
    • Tags
      • Parameters
      • Change Trigger
      • Tags in Monokot Server Administrator
        • Go Online
        • Group Action
        • Import & Export
    • Modbus Connectivity
      • Parameters
      • Addressing
      • Diagnostics
    • Siemens Connectivity
      • Parameters
      • Addressing
      • Access to DBs area in S7-1200/S7-1500
    • IEC 60870-5-104 Connectivity
      • Parameters
      • Addressing
      • Time Conversion
      • Diagnostics and Commands
    • OPC UA Connectivity
      • Parameters
      • Addressing
      • Diagnostics
      • How to: Importing OPC UA items
      • How to: Pulling Security Certificate
    • InfluxDB Connectivity (Connector)
      • Parameters
      • Addressing
      • Query Result and Data Mapping
      • Diagnostics
      • How to: Configure for InfluxDB 2.x
    • SNMP Connectivity
      • Parameters
      • Addressing
      • UDP Considerations
  • 🐺Time Series & Stores
    • Stores
      • Backlog
      • Diagnostics
      • Stores in Monokot Server Administrator
    • Time Series
      • Parameters
      • Deadband
      • Sampling
      • Last Sample Repeat
      • Time Series in Monokot Server Administrator
        • Group Action
        • Import & Export
    • InfluxDB Connectivity (Store)
      • Parameters
      • Addressing
      • Data Structure
      • About Metadata
      • Diagnostics
      • How to: Configure for InfluxDB 2.x
    • PostgreSQL Connectivity
      • Parameters
      • Addressing
      • Database Design
      • Data Compression
    • REST Connectivity
      • Parameters
      • Addressing
      • Message Script
      • RestRequestMessage
      • DataContext
      • TimeSeries
  • 🐻Scripts
    • Overview
    • Expression
      • Parameters
      • Import & Export
      • Go Online
    • Programming Examples
      • How to: Calculate Arithmetic Mean
      • How to: DoNothing
      • How to: Writing to Tag
      • How to: Inverting Bits
      • How to: Execute SQL
      • How to: Run Ping
      • How to: Do Simulation
      • How to: String Formatting
      • How to: OPC UA Method
      • How to: Initialize Device Settings from File
    • API
      • Bundle
      • BundlePair
      • Context
      • DataMap
      • DataMapPair
      • DataTriggerInfo
      • Expression
      • MosCrypto
      • MosDirectories
      • MosFiles
      • MosOdbc
      • MosOdbcReader
      • MosProcess
      • MosProcessExecuteResult
      • MosText
      • MosUtils
      • ValueState
Powered by GitBook
On this page
  1. Time Series & Stores
  2. InfluxDB Connectivity (Store)

Data Structure

Structure of fields and tags written for the time series can be as follows:

time

v

s

tsid

2019-08-28 03:18:29

1234.12

0

Group1.Temperature

or

time

v

s

tsid

tsc

2019-08-28 03:18:29

88.7

0

Group1.Temperature

Room 27

v and s are the required time series fields. v field is a real number and it contains sample value in the moment of time (time field). s field is a integer, it contains status of sample or data source in the moment of time (time field) and can take the following values:

Status

Code (DEC)

Code (HEX)

Good

0

0x00

Uncertain

1073741824

0x40000000

UncertainInitialValue

1083310080

0x40920000

Bad

-2147483648

0x80000000

BadNoCommunication

-2144272384

0x80310000

BadTypeMismatch

-2139881472

0x80740000

BadOutOfRange

-2143551488

0x803C0000

BadLicenseExpired

-2129788928

0x810E0000

BadNotFound

-2143420416

0x803E0000

BadUserAccessDenied

-2145452032

0x801F0000

BadObjectDeleted

-2143354880

0x803F0000

BadNodeIdUnknown

-2144075776

0x80340000

BadOutOfService

-2138243072

0x808D0000

Note that BadLicenseExpired status means that demo period of time series associated data source has expired. If demo period is expired for InfluxDB store data will no longer be written to the database

tsid is the required time series tag. tsid tag contains time series address (identifier), for example, string path Group1.Temperature. Please find more information about possible address types below. Optional are the following tags: su, stu, tsu, tsp, tsc.

PreviousAddressingNextAbout Metadata

Last updated 2 years ago

🐺