03-30-2006 02:43 AM
03-31-2006 01:48 PM
Hello Yakgg,
You should be able to use the "ni5660 fetch IQ data.vi" to acquire for 60 seconds as well since this is doing a continuous acquisition of the data. All you need to do is change the "time duration" input to match the 60 seconds you want to acquire for.
If there is another reason why you are not using this example please let me know and we'll look at other ways for acquiring the data.
Regards,
Tica T
Applications Engineer
03-31-2006 01:53 PM
04-03-2006 01:29 PM
Hello Guang Chen,
I'm sorry for the misunderstanding but after looking at the details of the PXI-5660 I realized that this is not going to be possible. For a bandwidth of 2 MHz, the Digital Downconverter (DDC) on the 5660 will not be enabled. This means that the digitizer will be sampling at a rate of 64 MS/zec, and since it is a 14 bit digitizer, the data rate is two time the same rate -128 MB/sec. This transfer rate is too hight to sustain continuous streaming across the PCI bus.
The PXI-5660 comes with two memory options - 32 MB and 64 MB but since there are two bytes for every sample, the memory options can be looked at as 16 MS or 32 MS. If you are sampling at 64 MS/sec, then you can ither capture a data record that is 250 ms or 500 ms long depending on your memory option; so capturing 60 s of data into onboard memory is clearly not an option.
Another thing is that the niScope Sream to Disk example is optimized for streaming while the ni5660 example is not. The niScope example fetches binary samples while the other fetches scaled voltage values.
Finally, capturing 60 s of continuous, gap-free data is not possible. If you can use a bandwidth of <= 1.25 MHz, then this may become possible since this is when the DDC turns on and effectively reduces the sample rate of the acquisition. If this is an option and you need further assistance please let me know.
Regards,
Tica T
Applications Engineer