Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

pxie-6341 generate sawtooth signal

Highlighted

i am using visual studio c++ with NIDAQmx.h library. I can use PXIe-6341 DAQmxCreateAOVoltageChan create constants voltage output. But when I change it to DAQmxCreateAOFuncGenChan, it return -200432 error code. Is it possible to use pxie-6341 to create sawtooth signal?

daqmxState = DAQmxCreateAOFuncGenChan(TaskHandle_AnalogOutput, "PXI1Slot4/ao1", "", DAQmx_Val_Square, 100, 3, 2);

 

0 Kudos
Message 1 of 1
(825 Views)