ViStatus niSync_SetAttributeViInt32 (ViSession vi, ViConstString terminalName, ViAttr attributeID, ViInt32 attributeValue);
This function sets the value of a ViInt32 attribute.
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.
Default Value: none |