niHSDIO_GetAttributeViBoolean

NI Digital Waveform Generator/Analyzer

niHSDIO_GetAttributeViBoolean

Specific Function

C Function Prototype

ViStatus niHSDIO_GetAttributeViBoolean (ViSession vi, ViConstString channelList, ViAttr attributeID, ViBoolean* value);

Purpose

This function queries the value of a ViBoolean attribute. You can use this function to get the values of device-specific attributes and inherent IVI attributes.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function.
channelList ViConstString If the attribute is channel or instance based, this parameter specifies the name of the channel or instance on which to set the value of the attribute; if the attribute is not channel or instance Based, pass VI_NULL or an empty string.
attributeID ViAttr The ID of an attribute.
value ViBoolean Returns the current value of the attribute; pass the address of a ViBoolean variable.

Return Value