niHSDIO_SetAttributeViBoolean

NI Digital Waveform Generator/Analyzer

niHSDIO_SetAttributeViBoolean

Specific Function

C Function Prototype

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

Purpose

This function sets the value of a ViBoolean attribute. This is a low-level function that you can use to set 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.

You can pass in multiple channels to this function.
attributeID ViAttr The ID of an attribute.
value ViBoolean The value to which you want to set the attribute; some of the values might not be valid depending on the current settings of the instrument session.

Return Value