Skip to main content
Skip table of contents

StringToDoubleAddress() [UD Library]

Some special-channels of the config IOType pass IP address (and others) in a double. This function is used to convert a string in normal decimal-dot or hex-dot notation into a double.

Declaration:

LJ_ERROR _stdcall StringToDoubleAddress ( const char *pString,

double *pNumber,

long HexDot)

Parameter Description:

Returns: LabJack errorcodes or 0 for no error.
Inputs:

  • pString – A pointer to the string representation.
  • HexDot – If not equal to zero, the passed string should be in hex-dot notation rather than decimal-dot.

Outputs:

  • pNumber – A pointer to the double precision representation.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.