01-20-2006 12:18 PM
01-23-2006 12:28 AM
Hi,
Either Post a pic of your block diagrams or 'save for previous' version and paste your VI's
01-23-2006 12:13 PM
01-27-2006 01:02 AM
01-27-2006 01:07 AM
01-27-2006 03:55 AM
01-28-2006 12:08 AM
Hi Hood,
Here is a simple VI to get the waveform pattern you want to generate.
Just generate the final resultant pattern on your analog output channel
Modify it as per your requirement
Regards
Dev
01-28-2006 10:36 AM
01-28-2006 10:42 AM
01-29-2006 10:31 PM
Hi Hood,
Let me answer your last question first.
Here is a brief explanation for how the output signal's frequency is determined.
To control the frequency, all you have to do is toy around with the update rate, cycles per buffer and the buffer length
For ex, if cycles per buffer = 10 and buffer length = 1000, effectively, each sinusoidal oscillation in the generated waveform will be represented by 100 points.
Now if update rate = 1000, then you will get a sine wave of frequency 10 hz on the selected AO channel.
in the same case, if you bring the update rate to 100, frequency of sine wave generated on Analog output becomes 1 Hz.
for going to higher sampling rates, take a larger buffer size, suitable update rate and increase number of cycles
Just keep in mind, lesser number of samples per cycle, poorer will the quality of your generated sine wave be.
so represent each sinusoidal cycle by suitable number of points.(practically i have observed that each sine wave represented by more that 20 points looks decent. but the fact is that more number of points, the better sine wave you get )
hope you get the idea.
so a buffer size of 10000, cycles per buffer 100 and update rate 10000 give a sine signal of frequency 100 hz.
check out the maximum update rate and permitted buffer size that the AO of your DAQ card supports to calculate the max frequency you can generate using this VI.
I will get back with an answer for your first query on generation
Regards
Dev