niHSDIO_ConfigureDataVoltageCustomLevels

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureDataVoltageCustomLevels

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureDataVoltageCustomLevels (ViSession vi, ViConstString channelList, ViReal64 lowLevel, ViReal64 highLevel);

Purpose

This function configures the voltage levels of the data channels using the specified high and low levels.

Notes  Refer to the device documentation for possible voltage restrictions.
   If you are using an NI 654x device for generation sessions, you must set highLevel to the appropriate logic family value, and you must set lowLevel to 0. For acquisition sessions with the NI 654x, select the same value for highLevel and lowLevel from the following list: 0.9 V, 1.25 V, or 1.65 V.
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.
lowLevel ViReal64 Specifies what voltage identifies low level.
highLevel ViReal64 Specifies what voltage identifies high level.

Return Value