def create_value(self, label, vtype, lang=None, description=None, unit=None):
        """Create a value on this Point.  Values are descriptions in semantic metadata of the individual data items
        you are sharing (or expecting to receive, if this Point is a control).  This will help others to search for
        your feed or control. If a value with the given label (and language) already exists, its fields are updated
        with the provided ones (or unset, if None).

        Raises [IOTException](./Exceptions.m.html#IoticAgent.IOT.Exceptions.IOTException)
        containing the error if the infrastructure detects a problem

        Raises [LinkException](../Core/AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException)
        if there is a communications problem between you and the infrastructure

        `label` (mandatory) (string) the label for this value e.g. "Temperature".  The label must be unique for this
        Point.  E.g. You can't have two data values called "Volts" but you can have "volts1" and "volts2".

        `lang` (optional) (string) The two-character ISO 639-1 language code to use for the description. None means use
        the default language for your agent.
        See [Config](./Config.m.html#IoticAgent.IOT.Config.Config.__init__)

        `vtype` (mandatory) (xsd:datatype) the datatype of the data you are describing, e.g. dateTime
        We recommend you use a Iotic Labs-defined constant from
        [Datatypes](../Datatypes.m.html#IoticAgent.Datatypes.Datatypes) such as:
        [DECIMAL](../Datatypes.m.html#IoticAgent.Datatypes.DECIMAL)

        `description` (optional) (string) The longer descriptive text for this value.

        `unit` (optional) (ontology url) The url of the ontological description of the unit of your value
        We recommend you use a constant from  [Units](../Units.m.html#IoticAgent.Units.Units), such as:
        [CELSIUS](../Units.m.html#IoticAgent.Units.Units.CELSIUS)

            #!python
            # example with no units as time is unit-less
            my_feed.create_value("timestamp",
                                 Datatypes.DATETIME,
                                 "en",
                                 "time of reading")

            # example with a unit from the Units class
            my_feed.create_value("temperature",
                                 Datatypes.DECIMAL,
                                 "en",
                                 "Fish-tank temperature in celsius",
                                 Units.CELSIUS)
        """
        evt = self._client._request_point_value_create(self.__lid, self.__pid, self._type, label, vtype, lang,
                                                       description, unit)
        self._client._wait_and_except_if_failed(evt)
def create_value ( self , label , vtype , lang = None , description = None , unit = None ) : evt = self . _client . _request_point_value_create ( self . __lid , self . __pid , self . _type , label , vtype , lang , description , unit ) self . _client . _wait_and_except_if_failed ( evt )
Create a value on this Point.  Values are descriptions in semantic metadata of the individual data items
        you are sharing (or expecting to receive, if this Point is a control).  This will help others to search for
        your feed or control. If a value with the given label (and language) already exists, its fields are updated
        with the provided ones (or unset, if None).

        Raises [IOTException](./Exceptions.m.html#IoticAgent.IOT.Exceptions.IOTException)
        containing the error if the infrastructure detects a problem

        Raises [LinkException](../Core/AmqpLink.m.html#IoticAgent.Core.AmqpLink.LinkException)
        if there is a communications problem between you and the infrastructure

        `label` (mandatory) (string) the label for this value e.g. "Temperature".  The label must be unique for this
        Point.  E.g. You can't have two data values called "Volts" but you can have "volts1" and "volts2".

        `lang` (optional) (string) The two-character ISO 639-1 language code to use for the description. None means use
        the default language for your agent.
        See [Config](./Config.m.html#IoticAgent.IOT.Config.Config.__init__)

        `vtype` (mandatory) (xsd:datatype) the datatype of the data you are describing, e.g. dateTime
        We recommend you use a Iotic Labs-defined constant from
        [Datatypes](../Datatypes.m.html#IoticAgent.Datatypes.Datatypes) such as:
        [DECIMAL](../Datatypes.m.html#IoticAgent.Datatypes.DECIMAL)

        `description` (optional) (string) The longer descriptive text for this value.

        `unit` (optional) (ontology url) The url of the ontological description of the unit of your value
        We recommend you use a constant from  [Units](../Units.m.html#IoticAgent.Units.Units), such as:
        [CELSIUS](../Units.m.html#IoticAgent.Units.Units.CELSIUS)

            #!python
            # example with no units as time is unit-less
            my_feed.create_value("timestamp",
                                 Datatypes.DATETIME,
                                 "en",
                                 "time of reading")

            # example with a unit from the Units class
            my_feed.create_value("temperature",
                                 Datatypes.DECIMAL,
                                 "en",
                                 "Fish-tank temperature in celsius",
                                 Units.CELSIUS)