Dear Devchander,
thanks for your suggestions. well in your proposed suggestions there are still some questions.
1) if i set an offset of +2 . after i send rise ramp, i see the
rising ramp on the oscilloscope,immediately the sine i dont see
appended it from the from point where the ramp ended, but it fell down
to zero and oscillation i see there. finally when sine ended i dont see
a sorresponding rise/fall ramp that is appended to sine, but
again immidiately it go back to zero an then a ramp i see on the
oscilloscope. why these rising/asceding falling/descending ramps
are not appended to sine?
2) i tried to implement this in my given example below. but here i see
error 10401 at AO group config. here what i did is? in the first
iteration i send the ascending ramp to oscilloscope and make sine
generation false in this time. in the second iteration of a loop i
start sending sine that was appended to rising ramp. i am using to
times the AO wave VI. firstly initializing it and sending the rising
ramp to oscilloscope and then the same task id i am transfering to sine
wave AO wave VI. here when i checked it in debug mode, i saw in first
iteration Ao wave vi sends ramp to oscilloscope and also in the second
iteration of while loop it appends one sine cycle to the rising ramp
but in the second sine cycle it generates error 10401 at AO group
config. why it is genearting this error and how to rectify this
error?(attached vi in previous version)
3) Now let us talk about frequency bufferlenghth issues. you said if i
can control the update rate i can control the frequency(this is true in
fact).but what will you do in the following case when you have to
adjust not only one sine cycle, its frequency and time to generate but
also if there are multiple sine genartors you do have. and you have to
control the frequency, amplitude and cycles,time to generate like in
the following example(see attached VI). here you see we have only on
Analog output VI but three sine signals with different input parameters
like frequency, amplitude, cycles, and time to run. and this was also
my question why this sine generator does not take input parameters
frequency, cycles, time to run these cycles.here we see only one input
parameter frequency. if i adjust frequency value to one, i see only one
cycle on the oscilloscope, if adjust 10 then i see 10 cycles on the
oscilloscope. but the question rise where can i give an input
frequency, cycles, time to run these cycles.and the function take these
valuse as input and generate a sine of frequency in N HZ , if we
adjusted N cycles,it generate N cycles, if we adjusted that this
sine generator should run the cycles upto 2 days,then it runs the
cycles with already defined frequency for 2 days. and what if we have
multiple sine sources. this basci sine generator Vi is atleast doing
one thing. when we give the function/VI inpuit amplitude it
generates the amplitude that we gave as input control value. but what
about other parametrs i talked about and in presence of multiple sine
sources and with this rising fall ramps.?
i hope i explain my problem in detail. i would be very thankful for your help.
Regards
Hood