Setting up National Instrument Multifunction Data Acquisition devices (NI-DAQ) to capture energy data
In addition to the Energy Probe, you can also use NI-DAQ devices to gather energy data from your target and view the results in Streamline.
To collect power statistics using a NI-DAQ device, you must have the following:
- NI-DAQ hardware.
- NI-DAQmx software installed on your host machine. This software package
includes drivers for the NI-DAQ device.
If you are running on Linux, you must use the NI-DAQmx Base software. Currently, Red Hat Linux is the only type of Linux that the NI-DAQ device is supported on. Also, caiman must be built from source with Linux. Edit CMakeLists.txt and set
0, and verify the NI-DAQ install paths within CMakeLists.txt. See README.md located in
DS-5_install_directory/sw/streamline/energy_meter/caiman/ for details.
All necessary software is available on the National Instruments website, http://www.ni.com.
To set up your NI-DAQ device, follow these steps:
- Connect the Ai1 connections on the NI-DAQ device to go across the shunt resistor on your target.
- Connect Ai0 negative to ground.
- Also connect Ai GND to ground.
Loop Ai0 positive to Ai1 negative.
The Ai0 connectors are measured across the load, which is used to derive the voltage.
Figure 10-6 Connections for NI USB-621x
- Repeat steps 1 through 3 using the other connectors on the NI-DAQ device to measure additional channels.
- In the Streamline Data view, click Capture & Analysis Options.
- Select the NI-DAQ option from the Energy Capture drop-down menu.
Enter a valid system name in the Device field.
To get the system name of your National Instruments device, you must run the NI-DAQmx Base List Devices application, installed as part of the NI-DAQmx software package.
- Click the Select the energy capture tool button in the Tool Path field.
- Locate caiman in your DS-5 installation directory and select it.
- Click Open.