GPIBGetFloatResult
Valid for: CANoe DEFunction Syntax
Description
Helper functions for extracting numeric values from GPIB response strings.Parameters
- buffer: The string in buffer, which may have been obtained by the GPIBResponse function, is searched for a floating-point number, using the function
strtodof C/C++. If a space character is present in the string, the search for the number starts at the first such character.
Return Values
- Extracted float value
- 0: No representation of a value has been found.
- -1: buffer is an empty string.