niHSDIO_ConfigureEventVoltageCustomLevels

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureEventVoltageCustomLevels

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureEventVoltageCustomLevels (ViSession vi, ViReal64 lowLevel, ViReal64 highLevel);

Purpose

This function configures the voltage levels of the event channels using user-defined 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.
lowLevel ViReal64 Specifies what voltage identifies low level.
highLevel ViReal64 Specifies what voltage identifies high level.

Return Value