QLIB-function: QAPIConvertDWToVoltage


With the function QAPIConvertDWToVoltage a digital value will be calculated into an analog value.

float QAPIConvertDWToVoltage ( ULONG cardid ULONG value );


Parameter 1
cardid
Defines the ID of the card, from which the digital values should be converted

Parameter 2:
value
Defines the digital value, which should be calculated

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