Hi all,
I’m quite a newbie with Ni meas. I wanted to make a signal generation/meas application and the NI 6211 USB came in hand. No need to say that the chance to use it would facilitate the task incredibly by integrating signal generation, meas. and data processing
My application is quite easy: I wanna generate a PWM pulse, this pulse consists of two parts, the first 10ms with a 80% duty cycle and the second part that is 20 ms with a 50% duty cycle.
Initially I thought about using a microcontroller, that is, to program a timer with the first pulse length and a second to generate a PWM, the end of the first part would trigger an interrupt and in there I would program the second pulse length and the second duty cycle. This reprogramming would take microseconds, there would be no delay and both pulses would be connected seamlessly.
Since the NI 6211 USB has two timers, I thought that maybe this behavior would be also possible (through interrupts or combinatory logic). If not, the variables should be changed via software and USB, increasing the time between pulses and making it less predictable.
My question is: Would be the microcontroller-like (real time) behavior possible? How?
Thank You Very Much
Joox