NI Bluetooth Analysis Toolkit

niBTSA_SetScalarAttributeF64

  • Updated2023-02-21
  • 1 minute(s) read

int32 __stdcall niBTSA_SetScalarAttributeF64 (niBTSASession session, char channelString[], niBTSA_Attr attributeID, float64 value);

Purpose

Sets the value of an niBT SA 64-bit floating point number (float64) scalar attribute.

Parameters

Input
Name Type Description
session niBTSASession Specifies the niBT SA session. Use this parameter to configure the behavior and operation of the appropriate NI Bluetooth Analysis Toolkit function that accepts the niBTSASession as an input.
channelString char[] Set this parameter to "" (empty string) or NULL.
attributeID niBTSA_Attr Specifies the ID of a float64 niBT SA scalar attribute.
value float64 Specifies the value to which you want to set the attribute.

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 SA 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 niBTSA_GetErrorString function.

The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors

Log in to get a better experience