LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi channel temperature controller crashes labview

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.

0 Kudos
Message 1 of 2
(1,888 Views)

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.

0 Kudos
Message 2 of 2
(1,857 Views)