« Back to Product

Documentation

FHT_SetMode

 boolean FHT_SetMode (int $InstanceID, float $Mode) 

Parameters

InstanceID

ID of the device to be switched

Mode

0 = Automatic, 1 = Manual

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sets the new desired mode for the FHT with ID InstanzID to value Mode.

Warning

Since the FS20 system is unidirectional, can not be determined whether the command was successful. Error messages are only sent when an internal system error occurred (for example, if the FHZ is not connected).

Warning

The FHT commands are buffered by the FHZ and sent every few minutes to the FHT. Please note that the transmit buffer is limited, and repeatedly sending of values ​​increases the transmission time, and possibly the FHT overloaded.

Example

FHT_SetMode(12345, 1); //Switch to manual mode
Any questions?