FlexRIO API Reference

niFlexRIO_SetAttributeBoolean

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

niFlexRIO_SetAttributeBoolean

FlexRIO_Status niFlexRIO_SetAttributeBoolean(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.
value uint32_t Specifies the value to which to set 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