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

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:
