FlexRIO API Reference

niFlexRIO_SetAttributeInt64

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

niFlexRIO_SetAttributeUInt64

FlexRIO_Status niFlexRIO_SetAttributeUInt64(NiFpga_Session session, const char* repeatedCapability, NiFlexRIO_AttributeInt64 attrID, uint64_t value);

Purpose

Sets the value of a 64-bit integer 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_AttributeUInt64 Specifies an attribute.
value uint64_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