02-20-2008 08:03 AM
I had to mention one more thing about the heat pass led in every mode. What this is used for is that if at anytime, the operator hits the start/stop hardware button, the process should stop. hence it is a true in the stop mode but false in the remaning modes.
I cannot understand why you let the heat pass be a control and go from one end of the case structure to the other
02-20-2008 08:44 AM
I noticed one thing with the string.
If you see the message for every tstat is the same at all times. Then why does it flas every time. I had usedthe global variable of the string initally but ravens fan said I should do it as it is now. But I really do not want the message to flash. It should stay till the specified time (as in the code).
Also after every mode I saw the heat_read, cool_read etc arrays are going off. I would like them to stay on after the completion of the mode as I mentioned previously.
I am sorry I am bothering you with so many doubt/queries and questions but I really need the help.
Thank You.
02-20-2008 09:05 AM
02-20-2008 09:16 AM
02-20-2008 09:26 AM
02-20-2008 03:22 PM
02-21-2008 07:02 AM
johnsold wrote:
- Parallel execution: If they are really all going to be in the same state at the same time, a single state machine with data "channels" for each unit might be better than six separate state machines.
I didn't quite follow this. I believe that because every unit undergoes the same process, they should notrmally be in the same state only unless given that there is a faulty tsat and it does nto generate some signal, nin which case it fails and the process for that unit stops.
johnsold wrote:
-Cool_read array, write, check: The data for cool_read is read outside the subVI. The same array is passed to the display after the write. It is not read again. Additionally, the display does not update until the subVI completes the execution of the state (Cool mode).
So what does that imply? The execution will still take place and we'll still be able to see the updated result right? If not what should be done?
johnsold wrote:
-Units do not execute in the same order: Welcome to the world of dataflow programming! LV nodes execute only when all their inputs have data available and the scheduler passes control to them. Search the LV Help for "dataflow" if you are not familiar with this concept. Several of your other problems are likely also related to not fully understanding dataflow.
I understand what you are saying, but like I said before the process remains the same for every unit, then why does the data not become available together or atleast in the correct order?
I am sorry that I have been bothering you but am so glad you are helping me. A lot of things have become clearer. Thanks. I'll be waiting for that demo. Thanks again!
02-21-2008 08:24 AM
johnsold wrote:
-Arrays should stay on: You need to put the Unit displays on shift registers. The Tsat_subVIs have a Unit in connection which is not connected in the mux_try VIs. This means that each time the subVI is called, the displays are reset to default values except for the parts changed in that particular state.
02-21-2008 09:24 AM
02-21-2008 09:58 AM
It is 4 bits per unit. here are Y, W, Gh and Gl signals for every thermostat unit. So the heat read , fan read etc arrays show these signals.. Like in the pdf i had attached, in heat mode i check for W, in fan for Glh, in cool for Y and Gl, in fan auto hig for Y and GH.
They are the same 4 signals monitored at all times. So in an a wrokign tsta, inn the heat mode you'll only see W, in fan only GH so on and so forth.