1. Install NI-DAQmx 2022 Q3 (22.8) or above version.
2. Generate pure tone like below code.
To generate sine waves using the Pure Tone generator, the DAQmx Function Generation channel type is used (“AO FuncGen”). This not only enables the Pure Tone generator, but it also provides a streamlined interface to generate sine waveforms when compared to generating each sample individually and streaming to the device. Only sine wave generation is supported.
The LabVIEW 2020 example (code snippet) below shows the configuration of a Pure Tone generation using the “AO FuncGen” DAQmx channel type.

Note: The Pure Tone generator requires a specific amount of time to stabilize after the task is started to achieve the specified performance. Refer to your device specifications for the duration of this settling time.