niSync_SetAttributeViInt32

C Function Prototype

ViStatus niSync_SetAttributeViInt32 (ViSession vi, ViConstString terminalName, ViAttr attributeID, ViInt32 attributeValue);

Purpose

This function sets the value of a ViInt32 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 ViInt32 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