Signal Description Datatypes
OcaDB
-
using OcaDB = OcaFloat32
A ratio expressed in dB. Typically used for gain settings.
OcaDBr
OcaDBV
OcaDBu
OcaDBFS
OcaDBz
OcaVoltage
-
using OcaVoltage = OcaFloat32
Voltage in volts.
OcaCurrent
-
using OcaCurrent = OcaFloat32
Current in amperes
OcaFrequency
-
using OcaFrequency = OcaFloat32
Frequency in Hertz.
OcaPresentationUnit
-
enum OcaPresentationUnit : uint8_t
Enumeration of presentation units that can be used in OCA classes. Property values of OCA objects are always in SI units (unless explicitly documented otherwise), but the presentation unit can also be stored to indicate in which unit the value was presented in a user interface. This way another controller can also present it in that unit (i.e. doing a conversion on the controller before presenting it) to keep the user presentation uniform. Note that the presentation unit may be equal to the unit of the property (in which case of course no conversion is needed).
-
enumerator dBu = 0
dB(0.775 VRMS) - voltage relative to 0.775 volts.
-
enumerator dBV = 1
dB(1 VRMS) - voltage relative to 1 volt.
-
enumerator V = 2
Voltage in plain volts.
-
enumerator dBu = 0