FlexRIO API Reference

niFlexRIO_GetAttributeBoolean

  • Updated2025-11-22
  • 1 minute(s) read

niFlexRIO_GetAttributeBoolean

FlexRIO_Status niFlexRIO_GetAttributeBoolean(NiFpga_Session session, const char* repeatedCapability, NiFlexRIO_AttributeIntBool attrID, uint32_t* value);

Purpose

Sets the value of a Boolean attribute.

Parameters

Input
Name Type Description
session NiFpga_Session Specifies the reference to the currently open NiFpga session.
repeatedCapability const char* Specifies a repeated capability. If attrID is based on a repeated capability, pass a repeated capability identifier. If attrID is not based on a repeated capability, pass NULL or an empty string.
attrID NiFlexRIO_AttributeBool Specifies an attribute.
Output
Name Type Description
value uint32_t* Indicates the value of the attribute.

Return Value

Name Type Description
returnValue FlexRIO_Status Reports the status of this operation. To obtain a text description of the status code, call niFlexRIO_GetError. The general meaning of the status code is as follows:

Value Meaning
0 Success
Positive Values Warnings
Negative Values Errors