ViStatus niRFSA_SetAttributeViReal64(ViSession vi, ViConstString channelName, ViAttr attributeId, ViReal64 value);
Sets the value of a ViReal64 attribute.
Use this low-level function to set the values of inherent IVI attributes, and instrument-specific attributes.
NI-RFSA contains high-level functions that set most of the instrument attributes. NI recommends you use the high-level functions as much as possible. High-level functions handle order dependencies and multithread-locking for you.
Supported Devices: NI 5600/5601/5603/5605 (external digitizer mode), NI 5661/5663/5663E/5665
|vi||ViSession||Identifies your instrument session. vi is obtained from the niRFSA_init or niRFSA_InitWithOptions function and identifies a particular instrument session.|
|channelName||ViConstString||Specifies the name of the channel on which to check the attribute value if the attribute is channel based. If the attribute is not channel based, set this parameter to "" (empty string) or VI_NULL.|
|attributeId||ViAttr||Pass the ID of an attribute.|
|value||ViReal64||Pass the value to which you want to set the attribute.
|status||ViStatus||Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an NI-RFSA 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 niRFSA_GetError function. To clear the error information from NI-RFSA, call the niRFSA_ClearError function.
The general meaning of the status code is as follows: