Hi,
i want to programm a pwm signal with the NIDAQmx(1.5) linux driver. I use the example "genDigPulseTrainCont.c" (in example dir from driver). Now i want to change the duty cycle while the application is running. I found an Example here http://forums.ni.com/ni/board/message?board.id=250&message.id=11463&query.id=67808#M11463 .
In this example(for LabView) is an DAQmxWrite.vi used. But i dont find such an function in the NIDAQmxBase.h (from driver) so i cant do it so. There is an other example(CVI_PWM.zip). In this example is an function DAQmxWriteCtrFreqScalar(..) to change the frequenz and duty cycle, but this function don't exist in the NIDAQmx driver (undefined reference to `DAQmxWriteCtrFreqScalar').
How can i change the duty cycle while the application is running (with DAQmx linux)?
thanks
Stefan