DeviceParameterDescriptor.defaultValue Property

Module: DeviceParameterDescriptor

Type: int

Definition

Specifies the default value for the parameter when its type is an integer

This value can be used to reset the parameter or initialize it upon device startup.

default_value: int

Exceptions

An error has occurred during Devices Library execution.
int get defaultValue => getDefaultValue();
set defaultValue(int value) => setDefaultValue(value);

Exceptions

An error has occurred during Devices Library execution.
public int defaultValue
{
    get => GetdefaultValue();
    set => SetdefaultValue(ref value);
}

Exceptions

An error has occurred during Devices Library execution.
public int getDefaultValue() throws DevicesException
public void setDefaultValue(int defaultValue) throws DevicesException

Exceptions

An error has occurred during Devices Library execution.
int id3DevicesDeviceParameterDescriptor_GetDefaultValue (ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor, int * defaultValue)
int id3DevicesDeviceParameterDescriptor_SetDefaultValue (ID3_DEVICES_DEVICE_PARAMETER_DESCRIPTOR hDeviceParameterDescriptor, int defaultValue)

Returns

int
An error code.
See id3DevicesError file for the list of possible error codes.