09-25-2007 10:42 PM
09-26-2007 08:58 PM
09-27-2007 12:07 PM
So in order for me to obtain 25MHz, I set my sampling rate to 100M S/s.
Therefore, # of points = 100M/25M = 4
I read from the help file that by having more blocks, it will be more effective. Am I right? So I use N = 100 for now.
This will give me a Onboard Streaming Waveform Size = 4*100 = 400.
The error I get is "
Driver Status: (Hex 0xBFFA408A) The size of the streaming waveform is too small.
Waveform Name: www10000
Allocated Waveform Length: 800
Status Code: -219104"
If I change it to Onboard Streaming Waveform Size = 800,
The error I get is"
Driver Status: (Hex 0xBFFA49B7) DAQmx Error -200584 occurred:
Write failed, because the number of samples to write per channel is invalid.
The number of samples to write per channel must be an integer multiple of the samples to write per channel increment.
Number of Samples to Write: 8
Samples Per Channel Increment: 64
Status Code: -200584"
I would like to know, what determines my value of N and the number of samples. I am using the 512MB version of 5441. According to the spec sheet, the Arbitrary Waveform Mode, Maximum Waveform Memory is 268,435,328 Samples.
Lastly, am i heading the wrong direction in all my calculation above?
09-27-2007 02:01 PM
09-27-2007 05:33 PM
09-28-2007 10:55 PM
10-01-2007 09:33 AM
Hi Jieyi,
niFGen Write Function in the above function requires the input waveform to be a 1D Array. The Output of the Build Array function is defaulted to build a 2D Array. To force the Build Array function to create 1D Array instead of 2D Array, Right Click on Build Array function and select "Concatenate Inputs".
Attached picture shows snapshot of the above description.
10-03-2007 09:16 PM
10-04-2007 07:48 PM