|
QLIB-function: QAPIExtConvertDWToVoltage
With the function QAPIExtConvertDWToVoltage a digital value will be calculated into an analog value.
float QAPIExtConvertDWToVoltage (
ULONG cardhandle
ULONG value
ULONG mode
);
Parameter 1
| cardhandle |
Defines the handle from the opened card |
Parameter 2:
| value |
Defines the digital value, which should be calculated |
Parameter 3:
| mode |
Defines a card dependent parameter (look also card specific parameter) |
Return value
If the function was terminated successful, then is the return value the same as the calculated analog value. The A/D cards with voltage input are called in V, and the voltage cards value is called in mA.
If the function is not successful, so is the return value always 0.0F.
Commands
This function can in addition to the function name, also used for A/D cards with voltage input.
Back to the QLIB overview
|