set_mode


Description:

public void set_mode (string mode) throws Error

Sets the mode.

Parameters:

mode

One of the modes returned by the modes property.

Exceptions:

Error

if setting the mode failed or the device was removed.