niSync_GetAttributeViReal64

C Function Prototype

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

Purpose

Queries 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 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 ViReal64 Returns the current value of the attribute. Pass the address of a ViReal64 variable.

Return Values