Skip to main content
Skip table of contents

DoubleToStringAddress() [UD Library]

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

Declaration:

LJ_ERROR _stdcall DoubleToStringAddress ( double Number,

char *pString,

long HexDot)

Parameter Description:

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

  • Number – Double precision number to be converted.
  • pString – Must pass a buffer for the string of at least 24 bytes.
  • HexDot – If not equal to zero, the string will be in hex-dot notation rather than decimal-dot.

Outputs:

  • pString – A pointer to the string representation.
JavaScript errors detected

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

If this problem persists, please contact our support.