Skip to main content

IAnalogOutput

Interface for controlling analog output values.

Namespace: ControlBee.Interfaces

Extends: IAnalogIO

Methods​

Write​

Writes a raw value to the analog output.

void Write(long data);

Parameters:

  • data — The raw value to write.

Read​

Reads the current raw output value.

long Read();

Returns: The current raw output value as a long.

ReadDouble​

Reads the current output value as a double-precision floating-point number.

double ReadDouble();

Returns: The output value as a double.

WriteDouble​

Writes a double-precision floating-point value to the analog output.

void WriteDouble(double data);

Parameters:

  • data — The value to write.

See Also​