01-02-2006 01:28 AM
01-02-2006 01:55 AM
Depending on your system's hardware specs, assign the maximum possible size for the Virtual memory.
u can set this form: My computer-> properties -> advanced-> performance options -> Virtual memory. and set it to an optimal value.
Bu, this again depends on your system's memory specs.
Also, see if you can do some data decimation or some effecient data reduction to reduce the number of points wihtout compromising on the characterstic of the graph you want to plot.
Hope this hepls
Regards
Dev
01-02-2006 04:10 AM
01-02-2006 04:24 AM
@Bharani wrote:
PC gets loaded when i try to display large data in the graph, the shift register holding the data eats up all my virtual memory ,so my pc gets hangs,any ways to refresh the virtual memory using labview. The chart also cannot be replaced.
01-03-2006 12:26 AM
01-03-2006 01:11 AM
@Bharani wrote:
The data size is appox 200 MB or more. The data is acquired in I32 format and store in file. During the playback , the file is read according to the sampling rate, converted to ascii ,send to Daqmx write and Graph simultaneously. In graph portion, the array holds(using shift register) all the data in the graph.This holding the data loads the PC.Is there any way to refresh the virtual memory using labview.
Is there really a good reason to send 200MB worth of I32 data to a graph? NO! Your graph most likely does not have more than about 1000 pixels across! 😉
Most likely, you have multiple copies if the data in memory. Do you convert the entire 200MB data to ASCII or each data point as needed? Have you done some profiling? What is the memory usage in "VI properties..Memor Usage"? Do you use local variables?
Your best bet would be to analyse you code to optimize memory usage, avoid data copies, etc. Please attach you code so we can give some advice.
01-03-2006 01:47 AM