NI-DCPower includes several example applications that demonstrate the functionality of your device and can serve as interactive tools, programming models, and building blocks for your own applications.

NI Example Finder

The NI Example Finder is a utility that organizes examples into categories and allows you to browse and search installed examples. For example, search for "DCPower" to locate all NI-DCPower examples. You can see descriptions and compatible hardware models for each example or see all the examples compatible with one particular hardware model.

To locate examples using the NI Example Finder within LabVIEW or LabWindows/CVI, select Help » Find Examples and navigate to Hardware Input and Output » Modular Instruments » NI-DCPower.

Installed Example Locations

The installation location for NI-DCPower example programs differs by programming language and development environment. Refer to the following table for information about example program installation locations.

Table 11. Installed NI-DCPower Example Locations
Option Installed Example Location
LabVIEW <LabVIEW>\examples\instr\niDCPower, where <LabVIEW> is the directory for the specific LabVIEW version that is installed.
LabWindows/CVI Users\Public\Documents\National Instruments\CVI\samples\niDCPower
.NET 4.0 Users\Public\Documents\National Instruments\NI-DCPower\Examples\DotNET 4.0
4.5 Users\Public\Documents\National Instruments\NI-DCPower\Examples\DotNET 4.5

Common Example Programs

The following NI-DCPower example programs demonstrate common SMU functions and operations.

  • NI-DCPower Source DC Voltage—Demonstrates how to force an output voltage on an SMU or an input voltage on an Electronic Load.
  • NI-DCPower Source DC Current—Demonstrates how to force an output current on an SMU or an input current on an Electronic Load.
  • NI-DCPower Hardware Timed Voltage Sweep—Demonstrates how to sweep the voltage on a single channel and display the results in a graph.
  • NI-DCPower Measure Record—Demonstrates how to take multiple measurements in succession.
  • NI-DCPower Measure Step Response—Demonstrates how to measure the SMU output or the Electronic Load input while it is changing.
  • Note The PXIe-4051 does not support a programmable voltage limit. While using a voltage limit as an input to the NI-DCPower examples, you must set the limit to Inf .