niSync_GetAttributeViBoolean

C Function Prototype

ViStatus niSync_GetAttributeViBoolean (ViSession vi, ViConstString terminalName, ViAttr attributeID, ViBoolean* attributeValue);

Purpose

Queries the value of a ViBoolean 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 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 ViBoolean Specifies 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