niSync_SetAttributeViReal64

C Function Prototype

ViStatus niSync_SetAttributeViReal64 (ViSession vi, ViConstString terminalName, ViAttr attributeID, ViReal64 attributeValue);

Purpose

This function sets the value of a ViReal64 attribute.

Parameters

Name Type Description
vi ViSession The session handle that you obtain from niSync_init. The handle identifies a particular instrument session.

activeItem ViConstString This parameter is ignored for most attributes. For those attributes that are specific to a given item or terminal, the item or terminal's name, for example, NISYNC_VAL_PFI0, must be specified.

Default Value: ""

attributeID ViAttr This parameter specifies the ID of the attribute you want to set.

attributeValue ViReal64 Pass the value to which you want to set the attribute.

Note  Some of the values might not be valid depending on the current settings of the instrument session.


Default Value: none

Return Values