niBTSG_GetScalarAttributeF64
- Updated2023-02-21
- 1 minute(s) read
int32 __stdcall niBTSG_GetScalarAttributeF64 (niBTSGSession session, char channelString[], niBTSG_Attr attributeID, float64 *attributeValue);
Purpose
Queries the value of an niBT SG 64-bit floating point number (float64) scalar attribute.
Parameters
Input | ||
Name | Type | Description |
session | niBTSGSession | Specifies the niBT SG session. Use this parameter to configure the behavior and operation of the appropriate NI Bluetooth Generation Toolkit function that accepts the niBTSGSession as an input. |
channelString | char[] | Set this parameter to "" (empty string) or NULL. |
attributeID | niBTSG_Attr | Specifies the ID of a float64 niBT SG scalar attribute. |
Output | ||
Name | Type | Description |
attributeValue | float64* | Returns the value of the attribute that you specify using the attributeID parameter. |
Return Value
Name | Type | Description | ||||||||
status | int32 | Returns the status code of this operation. The status code either indicates success or describes an error or warning. Examine the status code from each call to an niBT SG function to determine if an error has occurred. To obtain a text description of the status code and additional information about the error condition, call the niBTSG_GetErrorString function. The general meaning of the status code is as follows:
|
||||||||