03-05-2008 04:45 PM
03-05-2008 04:56 PM
03-06-2008 09:42 AM
03-06-2008 10:14 AM
03-06-2008 11:35 AM
03-07-2008 01:51 PM
In terms of a good producer/consumer model, you can refer to the following VI for a nice model of how to do it efficiently.
Check out the following page (which you can get to from ni.com/streaming):
http://zone.ni.com/devzone/cda/epd/p/id/5273
There is a VI there called niScope Stream to Disk Queues Win32 File IO.vi
It shows how to take data from a digitizer (producer), put the data in a queue and pass it to another (consumer) loop that writes the data to disk. You would be doing the opposite, reading the data from disk in one loop and sending it to the downconversion loop for processing.
Neil F.
Modular Instruments Software Engineer
National Instruments
03-11-2008 10:00 AM
01-23-2009 04:45 AM
Hi NeilF,
I happen to see this post. Currently we also have a similar project that involves IF Streaming. However we encounter memorymanager.cpp errors when we acquire spectrum on 1 RFSA (With Averaging) and perform IF Recording.
Whenever we acquire spectrum with averaging configured to the RFSA and perform IF Recording, this memorymanager.cpp error will occur and labview crash. We suspect the virtual memory is insufficient, we are still trying to resolve this issue. any suggestion on the possibilities?
Thanks!
01-27-2009 03:53 AM
Hi HWJ,
It would be usefull if I could have a little more information about your set up so that I can look into your problem.
What version of LabVIEW are you using?
What version of your instrument drivers are you using?
Would you also be able to provide some more information about the computer you are running this on?
Thanks,
Thomas Clark
01-28-2009 07:12 PM
Hi,
We deployed our Application as LabVIEW 8.5.1
For the drivers, RFSA 2.0.6
Scope 3.4.1
We deployed this application on two different types of PXI. They are PXIe-8130(Controller) in PXIe-1065 Chassis and PXI-8105 Controller in PXI-1045. They both are upgraded to 2GB RAM. There are 2 sets of RFSAs used in the Chassis. One is used for Spectrum Acquisition, the other is for IF Recording.
We observe that this error line 406 or line 437 occurs when we first acquire spectrum (with averaging configurations) and start IF recording with the other RFSA. The application will close after this error occurs, it seems LabVIEW crash due to insufficient memory.
However, these 2 functions can occur smoothly when no averaging is done. We have tried increasing the virtual memory, but this error will still occur inconsistently.