LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generation of 8 sinusoides of different frequency by card DAQ 6713

I don't know generate 8 sinusoides at 8 frequency different with PCI-6713 card.
Is it possible ?
0 Kudos
Message 1 of 2
(2,587 Views)
The 6713 has 1 clock that will power all 8 channels, meaning you will have the same update rate on all channels.
The buffer size will be the same (# of points per buffer). So you do that:
for one channel use 1 cycle per buffer
for a second channel, use 2 cycles per buffer
etc
in a case like that, the frequency of channel 2 will be twice that of channel 1

The only thing you need to worry about is that as the number of cycles per buffer increase for higher frequencies, you will have less # of points per cycle, and the wave may become stair case (worst case scenario), but you can always icrease the buffer size to maximum.

Here what I did to generate two waves:

update rate=freq(that has 1cycle per buffer ) * # points per buffer


same update (same cloc
k), same buffer length =>
n1*Freq=f1 where updaterate=Freq*bufferlength
n2*Freq=f2 and n=#of cyles per buffer

=>f1/f2=n1/n2
do not make n1 and n2 too large. n1 and n2 are the number of cycles per buffer for each channel and they should be integers

update rate = (Freq*L)=(f1/n1)*L=(f2/n2)*L
L= buffer length=num of points

got the idea ?
As the number of channels increases, you have less chance of finding n's that will work across all range of frequencies. When I tried to get frequncies that are not intgers (ex: freq=1.5Hz, etc) my formula did not work
0 Kudos
Message 2 of 2
(2,588 Views)