LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not enough memory to complete this operation

In your Main Tab it looks like you are constantly opening and reading files.

  1. Don't use local variables, connect directly to the terminals. (Your terminals are not connected to anything at the moment.)
  2. How big are these files?
  3. Are they constantly changing?
  4. Is there a reason to read the contents every 100 ms?

Do you have some sample data for your files? I am sure your readers could easily be cleaned up.

0 Kudos
Message 21 of 33
(2,181 Views)
  1. Don't use local variables, connect directly to the terminals. (Your terminals are not connected to anything at the moment.)
    • Okay, I will!
  2. How big are these files?
    • I'm not sure what the files you mean here if you mean the temperature writing on the chart, it is saved and accumulated in the txt file. 
  3. Are they constantly changing?
    •  If you mean the measured temperature on the panel, they try to stay around the setpoint with noise. 
  4. Is there a reason to read the contents every 100 ms?
    • I guess it's to monitor the temperature in high resolution because the temperature is ramped in the system.

Do you have some sample data for your files? I am sure your readers could easily be cleaned up.

    - I'm still confusing the 'files' here, but I attached examples of some input and output files.

 

 

Download All
0 Kudos
Message 22 of 33
(2,172 Views)

Your output file is large, if you are repeatedly opening that file, then you may have problems.

 


@Jeon17 wrote:
  1. Don't use local variables, connect directly to the terminals. (Your terminals are not connected to anything at the moment.)
    • Okay, I will!
  2. How big are these files?
    • I'm not sure what the files you mean here if you mean the temperature writing on the chart, it is saved and accumulated in the txt file. 
  3. Are they constantly changing?
    •  If you mean the measured temperature on the panel, they try to stay around the setpoint with noise. 
  4. Is there a reason to read the contents every 100 ms?
    • I guess it's to monitor the temperature in high resolution because the temperature is ramped in the system.

Do you have some sample data for your files? I am sure your readers could easily be cleaned up.

    - I'm still confusing the 'files' here, but I attached examples of some input and output files.

 

 


A couple of questions:

  1. Which subVIs open the files you attached?
  2. If you are reading the temperature in your program, why not just use it as you read it? Right now it appears, you read the temperature, write it to a file, open that file to get the temperature you just read. Please correct me if I am wrong.
0 Kudos
Message 23 of 33
(2,168 Views)

I tried your output file (output 211216.txt ‏) with your TAG Read Temperature Ramp VI. It quickly took up most of my memory.

 

Here is a START to simplify that VI. You have a lot of local variables in there that need to be removed. Below is a simpler approach to read your file. Look at the comments.

 

However, this can be even simpler. For example assume you want to plot the Gas Trap Temperature, it would be simpler to just take that column and convert to number.

 

SNIP.png

 

EDIT: Ignore delete this indicator comment, I already deleted it.

Message 24 of 33
(2,155 Views)

Awesome, it would be really helpful for me to edit the code!! I'm still learning the program on my end.

 

If you don't mind, could you happen to save the file for the previous version..? My LV version is 2012, and I couldn't open the file. Actually, I asked the Version Conversion Board to convert the PID read VI that you modified first. But, it took some more time to get a reply than I expected, so if you would save the file for the previous version, I really appreciate it. If not, that's also fine, I will use the board again.

 

Thank you so much!

0 Kudos
Message 25 of 33
(2,148 Views)

@Jeon17 wrote:

Awesome, it would be really helpful for me to edit the code!! I'm still learning the program on my end.

 

If you don't mind, could you happen to save the file for the previous version..? My LV version is 2012, and I couldn't open the file. Actually, I asked the Version Conversion Board to convert the PID read VI that you modified first. But, it took some more time to get a reply than I expected, so if you would save the file for the previous version, I really appreciate it. If not, that's also fine, I will use the board again.

 

Thank you so much!


Will do, but you will have to wait until tomorrow. Left work and left my computer at work.

0 Kudos
Message 26 of 33
(2,144 Views)

Of course, that's not a problem at all. Thank you in advance!

0 Kudos
Message 27 of 33
(2,140 Views)

Here is the file in LV 2012 format.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 28 of 33
(2,133 Views)

Oh, thank you so much!!

0 Kudos
Message 29 of 33
(2,126 Views)

I gave you a bug in my haste. For the hours measurement you need to add a Quotient and Remainder Function before the case structure, otherwise 12 AM and 12 pm will be incorrect. See below.

 

Snap72.png

0 Kudos
Message 30 of 33
(2,074 Views)