niHSDIO_ConfigureDataVoltageLogicFamily

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureDataVoltageLogicFamily

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureDataVoltageLogicFamily (ViSession vi, ViConstString channelList, ViInt32 logicFamily);

Purpose

This function configures the voltage levels for the data channels using a logic family.

Notes  Refer to Logic Families for links to the applicable logic families for your device and possible voltage restrictions.
NI 656x devices do not support configuring voltage levels. NI-HSDIO returns an error if you use this function when programming those devices.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from the function used to initialize the session.
channelList ViConstString Identifies channels to apply settings. Use "" or VI_NULL to specify all channels.
logicFamily ViInt32 Specifies the logic family for the data voltage levels.

Defined Values

NIHSDIO_VAL_1_8V_LOGIC (8)—Uses 1.8 V logic family.
NIHSDIO_VAL_2_5V_LOGIC (7)—Uses 2.5 V logic family.
NIHSDIO_VAL_3_3V_LOGIC (6)—Uses 3.3 V logic family.
NIHSDIO_VAL_5_0V_LOGIC (5)—Uses 5.0 V logic family.

Return Value