The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp sdi-data-types Command¶

Syntax:

mdsp sdi-data-types

Help:

mdsp sdi-data-types --help

Alternative form:

mc sdi-data-types

(The CLI was using mc as default command name in older versions)

Description¶

manage data types for SDI *

Usage¶

Parameter list:

Usage: mdsp sdi-data-types|sdy [options]

manage data types for SDI *

Options:
 -m, --mode [list|create|template|info|delete|addpatterns|suggest] command mode (default: "list")
 -f, --for [datatype|pattern|suggest] parameter for --mode template (default: "datatype")
 -d, --datatype data type file with definition for --mode create or update command
 -p, --pattern pattern file with definition for --mode addpatterns command
 -s, --samplevalues file with sample values
 -t, --testvalues file with sample values
 -i, --datatypename the datatype id
 -o, --overwrite overwrite template file if it already exists
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp sdi-data-types command:

 Examples:

 mdsp sdi-data-types --mode list list all sdi data types
 mdsp sdi-data-types --mode template --for datatype create template file for --mode create command
 mdsp sdi-data-types --mode template --for pattern create pattern file for --mode addpattern command
 mdsp sdi-data-types --mode template --for suggest create samples files for --mode suggest command
 mdsp sdi-data-types --mode create --datatype create sdi data type
 mdsp sdi-data-types --mode info --datatypename get sdi data type info
 mdsp sdi-data-types --mode delete --datatypename delete sdi data type
 mdsp sdi-data-types --mode suggest --samplevalues --testvalues suggest patterns from sample data

See Insights Hub API documentation for more information about Insights Hub APIs.