08-03-2011 09:31 AM
Hi.
I am working on a PID temperature controller running in real time on a CompactRIO for 4 different reactors that is. I have the program set up and running for 1 channel. Now I have tried to add the other 3 channels into the program, in a method simlar to this example https://decibel.ni.com/content/docs/DOC-11046
As I am adding the other channels in however, Labview continuously crashes and says that it does not have enough memory to complete the task. My program is more complex than the example, so how could I avoid this memory problem?
Or is there a way to control all 4 reactors without doing it all in 1 VI? I thought maybe I could run 4 separate VIs for each reactor, but thought that that would be too much to run on the RIO.
Thanks.
08-04-2011 03:16 PM
Are you adding this extra functionality into the Host PC vi, or the Real-Time vi? It sounds like you're running out of memory on your development PC, but I'd like to know how much RAM you have available.