ViStatus niSync_GetAttributeViInt32 (ViSession vi, ViConstString terminalName, ViAttr attributeID, ViInt32* attributeValue);
Queries 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 | Ignored for most attributes. For those attributes that are specific to a given terminal, you must specify the terminal name, for example, NISYNC_VAL_PFI0. |
attributeID | ViAttr | Specifies the ID of the attribute you want to get. |
attributeValue | ViInt32 | Returns the current value of the attribute. Pass the address of a ViInt32 variable.
|