Override
This is a function of the samplestream class.
Description
This function overrides the default metadata sent from the ARDI server about the query points.
The most common use for this function is to override the min and max values for analogue channels to fit the real working range rather than the display range.
Parameters
Parameter | Type | Meaning |
---|---|---|
channel | string | The name of the channel to update |
options | dict | A dictionary of options to override |
Returns
Nothing
Example
For example, let's assume we have a property called 'Temperature' on an asset called 'Main Motor'.
This property has a default range of between 0 and 250 degrees. But the motor itself always runs between 20 and 40 degrees.
To boost this significance of this channel when training an AI, we can….
strm.Override('Main Motor Temperature',{'min': 20,'max': 40})