set_minmax_value

Description

This API performs the function of retrieving only the minimum and maximum values for each Tag Name from the selected Tag Table.

API module path

from api.v2.util.set_minmax import set_minmax_value	

Parameters

URL

  • Specifies the URL address where the Mahabase Neo DB is installed.
  • Example

Table

  • Specifies the name of the table that contains the data. Only a single table can be specified.
  • Example
    • table=home (O)
    • table=home.rotor (X)

name

  • Specify the Tag Name to load.
  • Set the required Tag Names after the EDA process.

start_time

  • Specify the start time of the data to be loaded.
  • Example
    • start_time = '2024-11-24 20:00:00'

end_time

  • Specify the end time of the data to be loaded.
  • Example
    • end_time = '2024-12-31 00:00:00'

Example Sample Code (Python)

Results

Check the entire module code.

datahub/api/v2/util/set_minmax.py at main · machbase/datahub
All Industrial IoT DataHub with data visualization and AI source - machbase/datahub

Back to Top