Elipse Plant Manager — EPM Web API
Version 6.50.41
epmwebapi.basicvariable
Enumeration with all types of Tags.
Inherited Members
- enum.Enum
- name
- value
Enumeration with all types of IDS for data types.
Inherited Members
- enum.Enum
- name
- value
Class representing an EPM Basic Variable.
Gets or sets the name of this Basic Variable.
Parameters
- value: A new name for this Basic Variable.
Returns
A
strrepresenting the name of this Basic Variable.
Gets or sets whether real-time is enabled in this Basic Variable.
Parameters
- value: True if real-time must be enabled or False if real-time must be disabled.
Returns
True if real-time is enabled or False if real-time is not enabled.
Gets or sets a dead band filter for this Basic Variable.
Parameters
- value: If
valueis equal to 0 (zero), then dead band filter is disabled.
Returns
Dead band filter from this Basic Variable as a
floatnumber.
Gets or sets the dead band unit for this Basic Variable.
Parameters
- value: A dead band unit for this Basic Variable. Possible values are Absolute, PercentOfEURange, PercentOfValue, or None.
Returns
Dead band unit from this Basic Variable. Possible values are Absolute, PercentOfEURange, PercentOfValue, or None.
Enables or disables a scale for this Basic Variable. Deprecated, please use processingEnabled instead.
Parameters
- value: True to enable a scale or False to disable a scale.
Returns
True if a scale is enabled or False if a scale is disabled.
Gets or sets a low limit to a scale.
Parameters
- value: A
floatnumber to set a low limit to a scale.
Returns
A
floatnumber representing a scale's low limit.
Gets or sets a high limit to a scale.
Parameters
- value: A
floatnumber to set a high limit to a scale.
Returns
A
floatnumber representing a scale's high limit.
Gets or sets the name of this Basic Variable's interface, in the format interfaceServerName/interfaceName.
Parameters
- value: A
strwith the name of an interface.
Returns
The name of this Basic Variable's interface.
Gets or sets the interface's source address for this Basic Variable.
Parameters
- value: A
strwith the name of an interface's source address.
Returns
A
strrepresenting the interface's source address for this Basic Variable.
Enables or disables a scale for this Basic Variable.
Parameters
- value: True to enable a scale or False to disable a scale.
Returns
True if a scale is enabled or False if a scale is disabled.
Enables or disables recording in this Basic Variable.
Parameters
- value: True to enable recording or False to disable recording.
Returns
True if recording is enabled or False if recording is disabled.
Enables or disables compressing in this Basic Variable.
Parameters
- value: True to enable compressing or False to disable compressing.
Returns
True if compressing is enabled or False if compressing is disabled.
Enables or disables storing milliseconds in this Basic Variable.
Parameters
- value: True to enable storing milliseconds or False to disable storing milliseconds.
Returns
True if storing milliseconds is enabled or False if storing milliseconds is disabled.
Gets or sets the name of a Storage Set for this Basic Variable.
Parameters
- value: A
strwith the name of a Storage Set for this Basic Variable.
Returns
A
strrepresenting the Storage Set for this Basic Variable.
Returns raw values of this Basic Variable from the configured epmwebapi.queryperiod.QueryPeriod.
Parameters
- queryPeriod: A period of time for querying raw values.
- bounds: True if the bound value must be returned or False if the bound value must not be returned. Default value is False.
Returns
A numpy
ndarraywith raw values from the configured period, including Value, Timestamp, and Quality.
Writes a Value, a Timestamp, and a Quality to this Basic Variable's real-time.
Parameters
- value: A value as a
float, anint, astr, or adatetime. - timestamp: An optional timestamp for the value. Default is
dt.datetime.now. - quality: An optional quality for the value. Default is 0 (zero).
Writes an array of values to this Basic Variable, including Value, Timestamp, and Quality.
Example
array = np.empty([valuesCount], dtype=np.dtype([('Value', '>f4'), ('Timestamp', 'object'), ('Quality', 'object')]))
Parameters
- values: A numpy
ndarraywith values to write.
Creates a new Basic Variable on an EPM Server by merging the current values of properties and parameters specified.
Parameters
- newName: A name for the new Basic Variable.
- description: An optional description for the new Basic Variable.
- tagType: An optional
TagTypefor the new Basic Variable. Possible values are SourceType, Bit, Int, UInt, Float, Double, String, DateTime. Default value is None. - realTimeEnabled: An optional
boolvalue indicating whether real-time is enabled or not. Default value is None. - deadbandFilter: An optional
floatvalue indicating a dead band filter. Default value is None. - deadbandUnit: An optional
strindicating a dead band unit. Possible values are Absolute, PercentOfEURange, or PercentOfValue. Default value is None. - eu: An optional
strindicating an engineering unit. Default value is None. - lowLimit: An optional
floatvalue indicating a low limit. Default value is None. - highLimit: An optional
floatvalue indicating a high limit. Default value is None. - scaleEnable: An optional
boolvalue indicating whether the scale is enabled. Default value is None. - inputLowLimit: An optional
floatvalue indicating an input low limit. Default value is None. - inputHighLimit: An optional
floatvalue indicating an input high limit. Default value is None. - clamping: An optional
strvalue indicating a type of clamping. Possible values are ClampToRange or Discard. Default value is None. - domain: An optional
strindicating a type of domain for this Basic Variable. Possible values are Continuous or Discrete. Default value is None. - interface: An optional
strindicating a name of an interface, in the format interfaceServerName/interfaceName. Default value is None. - ioTagAddress: An optional
strindicating the interface's source path. Default value is None. - processingEnabled: An optional
boolvalue indicating whether the scale is enabled. Default value is None. - isRecording: An optional
boolvalue indicating whether this Basic Variable is recording. Default value is None. - isCompressing: An optional
boolvalue indicating whether this Basic Variable is compressing values. Default value is None. - storeMillisecondsEnabled: An optional
boolvalue indicating whether this Basic Variable is storing milliseconds. Default value is None. - storageSet: An optional
boolvalue indicating whether this Basic Variable contains a name of a Storage Set. Default value is None.
Returns
A new
BasicVariableobject.
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args
Common base class for all non-exit exceptions.
Inherited Members
- builtins.Exception
- Exception
- builtins.BaseException
- with_traceback
- add_note
- args