How to Output Analog Signal in DIAdem

Updated Sep 20, 2023

Environment

Software

  • DIAdem

DIAdem is application software that mainly helps engineers accelerate the post-processing of measurement data. However, you can create a block diagram that you can use for measurement and for open and closed-loop control in DIAdem DAC. This article will explain the steps on how to output voltage analog signals from a DAQ channel in DIAdem.

  1. Open NI-MAX.
  2. Right-click Data Neighborhood >> Create New...
  3. Select NI-DAQmx Global Virtual Channel and click Next.
Capture.JPG
  1. Select Generate Signals >> Analog Output >> Voltage.
  2. Select the AO channel you want to use and click Next.
  3. Enter the name of the virtual channel.
  4. Open DIAdem and navigate to the DAC panel.
  5. Insert a simulated function generator by clicking Insert >> Simulation Input >> Function Generator.
  6. Insert driver output by clicking Insert >> Driver Outputs >> NI-DAQmx Driver. Select and add the virtual channel that you created in NI-MAX.
Capture.JPG
  1. (Optional) Insert a display to view the simulated signal in the DIAdem VISUAL panel when executing by clicking Insert >> Display Instruments >> Curve.
  2. Connect the blocks as shown below:
Capture.JPG
  1. Execute the block diagram. There should be a sine wave output from the selected channel on the DAQ card.
Capture.JPG
 

Additional Information

Please ensure the NI-DAQmx driver block is mapped with the signal source from the function generator. If your NI-DAQmx driver block shows 0 even if it is wired with the function generator as shown below:
Capture.JPG
Move the cursor to the connect point of the NI-DAQmx driver block and double-click it to ensure there is a signal source selected under the Signal Name as shown below:
Capture.JPG