top of page

EMB-DAQ2 Software Installation 

Software Installation Guide for EMB-DAQ2
(updated on 3/19/2026)

 Requirements â€‹

​

- Desktop computer with an available PCIe slot (compatible with the National Instruments PCIe-6321 card)

- Windows® operating system supported by MATLAB/Simulink Desktop Real-Time

- MATLAB® R2013b or later 

- Simulink® 

- MATLAB Coder™

- Simulink Coder™

- Simulink Desktop Real-Time™â€‹â€‹

 Step 1: Install NI-DAQmx (driver package) 

​​​

- Step 1a

Download the latest NI-DAQmx driver from National Instruments.

​

- Step 1b

Run the installer and follow the on-screen instructions.

​

- Step 1c

Reboot the computer if prompted.

 Step 2: Install the NI PCIe-6321 Card 

​​​​

- Step 2a

Turn off the desktop computer and disconnect power.

​

- Step 2b

Remove the computer case side panel.

​

- Step 2c

Locate an available PCIe slot and remove the corresponding rear slot cover (if needed).

​

- Step 2d

Carefully insert the NI PCIe-6321 card into the PCIe slot, pressing firmly until fully seated.

​

- Step 2e

Secure the card to the chassis using the retaining screw.

​

​- Step 2f

Reinstall the case panel.

​

- Step 2g

Reconnect power and boot the computer.

​

Do not plug the PCIe cable to the EMB-DAQ2 yet!

​

 Step 3: NI MAX - Check Board 

​​​

- Step 3a

Open NI MAX (Measurement & Automation Explorer).

​

- Step 3b

Under “Devices and Interfaces,” confirm that the PCIe-6321 appears.

​

- Step 3c

Our EMB-DAQ2 has a CB-68LPR connector block from NI internally.​

​

- Step 3d

Run a self-test to verify proper installation.

​

- Step 3e

Turn off the desktop computer and connect the PCIe cable to the EMB-DAQ2. Handle the computer and EMB-DAQ2 connectors carefully, as they are delicate and the NI cable is stiff.

​​

​​​​

 Step 4: MATLAB/Simulink Desktop Real-Time Kernel Install  

​​​

- Step 4a

In the MATLAB® command window, type: sldrtkernel -install

​

- Step 4b

Test by running the "Real-Time Van der Pol Simulation" example from Simulink Desktop Real-Time.

Link: https://www.mathworks.com/help/sldrt/ug/real-time-van-der-pol-simulation.html

​

- Step 4c

This example should run properly before attempting to interface with the EMB-DAQ2 and running our EMB examples.

​​

​

Your EMB-DAQ2 system is now ready for high-performance real-time control using MATLAB and Simulink with Simulink Desktop Real-Time™.

​​​

bottom of page