01-03-2008 07:48 AM
I am looking for information on how to optimize windows for a streaming application
I am working in a DAQ application where I need to acquire 4 channels with 12 bits resolution at 10 MS/s during at least 40 seconds. I'm using a PXI system with a PXI-1044 chassis,
As expected, I am having some problems to maintain the acquisition going for 40 seconds consistently (sometimes I get to 40 seconds, sometimes it crashes before). Among other things I suspect Windows has something to do with this (I am also conscious that with a 80MB/s throughput I am pushing PXI bandwidth to the limit, but I cannot change this). Therefore I have stopped the antivirus and all programs that I can see in the task bar, but I would like to know if I can do anything else with Windows
Thanks and... happy new year ! 😉
PS. I haven't got into detail with the acquisition technique used in the LabVIEW program in order to focus the thread in a single theme, but if anyone's interested I'd be glad to discuss it. I am using DAQmx and queues, and planning to play with software pipelining to see if I can get any advantage of the 8105's double core
01-03-2008 07:58 AM

Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.01-03-2008 08:03 AM
Ditto Ed's request to see the code.
This post and thread has some notes that may help.
Ben
01-09-2008 11:02 AM
01-09-2008 11:07 AM
01-11-2008 08:30 AM
I have just realized that what I'm trying to do it's actually impossible ![]()
I've been testing my PXI-8105 hard drive and the maximum transfer rate for a write operation is around 30MS/s even using Win32 functions and optimizing Windows. The acquisition routine generates 80MB/s so the queue I am using to pass the data between the "Acquisition" and the "Store to File" modules is filling at 50MB/s. Of course it's not possible to mantain this situation more than a few seconds before LabVIEW crashes... because there is "not enough memory to complete the operation"
I will try to use some external RAID HDD connected via a ExpressCard/34 to my PXI-8105 to try to get a higher throughput when writing to file. I'll keep this thread updated in case someone's interested
Sorry if I made you loose your time ![]()