Skip to content

NI DIGITAL PATTERN DRIVER PPMU Configuration Functions

ShantanuShinde edited this page May 24, 2021 · 2 revisions

PPMU Configuration Functions

niDigital_PPMU_ConfigureOutputFunction

Configures to source DC voltage or DC current from the PPMU.

You must call the niDigital_PPMU_Source function for changes to the PPMU configuration to take effect, even if the PPMU is already sourcing.

C Function Prototype: ViStatus niDigital_PPMU_ConfigureOutputFunction (ViSession vi, ViConstString channelList, ViInt32 outputFunction)

Parameter Description
vi The specified instrument session the niDigital_init or niDigital_InitWithOptions function returns.
channelList

List of channel names or list of pins. Do not pass a mix of channel names and pin names. An empty string denotes all digital pattern instrument channels.

Pin names and pin groups apply to all enabled sites, unless the pin name explicitly specifies the site. You can specify a pin in a specific site using the form siteN/pinName, where N is the site number. This function ignores pins that are not mapped to the digital pattern instrument.

Specify channel names using the form PXI1Slot3/0,2-3 or PXI1Slot3/0,PXI1Slot3/2-3, where PXI1Slot3 is the instrument resource name and 0, 2, 3 are channel names. To specify channels from multiple instruments, use the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3. The instruments must be in the same chassis.

outputFunction

Parameter that configures the operation to use for the channels or pins you specify.

- NIDIGITAL_VAL_DC_VOLTAGE (1300): Specifies the output function to DC Voltage.

- NIDIGITAL_VAL_DC_CURRENT (1301): Specifies the output function to DC Current.

Return value: Reports the status of the operation.

niDigital_PPMU_ConfigureApertureTime

Configures the aperture time for a PPMU measurement on the specified channel(s).

C Function Prototype: ViStatus niDigital_PPMU_ConfigureApertureTime (ViSession vi, ViConstString channelList, ViReal64 apertureTime, ViInt32 units)

Parameter Description
vi The specified instrument session the niDigital_init or niDigital_InitWithOptions function returns.
channelList

List of channel names or list of pins. Do not pass a mix of channel names and pin names. An empty string denotes all digital pattern instrument channels.

Pin names and pin groups apply to all enabled sites, unless the pin name explicitly specifies the site. You can specify a pin in a specific site using the form siteN/pinName, where N is the site number. This function ignores pins that are not mapped to the digital pattern instrument.

Specify channel names using the form PXI1Slot3/0,2-3 or PXI1Slot3/0,PXI1Slot3/2-3, where PXI1Slot3 is the instrument resource name and 0, 2, 3 are channel names. To specify channels from multiple instruments, use the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3. The instruments must be in the same chassis.

apertureTime The measurement aperture time for the PPMU.
units

Units of the measurement aperture time.

- NIDIGITAL_VAL_SECONDS (2100): Specifies the aperture time in seconds.

Return value: Reports the status of the operation.

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally