02-12-2008 01:02 PM
The step indicator is basically something that will tell the operator what steps to take while testing the thermostat. I amg oing to take a look at the .ctl you sent and try to understand what you are saying. If I don't understand it, I will get back to you.
As for the hard start-stop button. It is going to be only 1 button and not two. We were intitally planning a momentary start-stop button, but I thought it was difficult to program and read such quick transitions. So we thought we could use a toggle switch. We are open to using any switch (momentary or toggle).
I will test for the tasks and let you know of what errors I get this time around.
What I am doing is in 1 task reading froma ll ports port 0, 1, 2 and then I split the lines as to which I want to read. That is I unbundle them.
02-12-2008 01:31 PM
But how do you exactly bundle these values in the subvi and pass the wire?
Ravens Fan wrote:I would highly recommend (and I think this was suggested before) to make each of those indicators for each test into a type def'd cluster. (I attached one as a .ctl file in LV8.5). You can bundle the values into the cluster inside the subVI. Then just pass a single wire out of the subVI into the indicator of the cluster. This will simplify wiring on your main diagram and also visually group things on your front panel. (If you want that step string, you can add that to the cluster as well.)
02-12-2008 01:47 PM
02-12-2008 01:51 PM
02-12-2008 03:45 PM
02-13-2008 07:36 AM
I tried to do the cluster thing for the subVI. I think I kind of did something. Do you think you could check if what I had done is correct, in terms of wiring. I wired a use default for the tunnels when I didn't have anything else to connect in any state.
Also in the cool mode, I could not connect the cool_read local variables to the cluster. Could you tell me what the problem is.
I was then trying to get rid of all the old LEDs for the items in the cluster, but it gave me all errors since all those blocks went missing. Could you please take a look at the front panel and the block diagram and tell me what to do.
02-13-2008 09:22 AM
02-13-2008 10:14 AM
Ravens Fan wrote:
In Cool mode, you have some calculations duplicated and writing to the same local variable a few times even though nothing changes.
So how do I edit the strings then. Do you recommend I put 6 different strings?
Ravens Fan wrote:
Also, in some of your dialog cases, you do some things that won't work the way you think they will. You write a value to the string. Pause a while, then write another value or empty string to the string. You will never the first value on your front panel because the data is not sent out of the subVI until the subVI is finished running. So you will have an 18 second plus pause with a message you will never see because the message gets cleared before the subVI finishes
02-13-2008 10:26 AM
02-13-2008 11:05 AM
I would recommend 6 different strings because you have 6 different tests. But since you want the front panel to update in the middle of the subVI still running, you will need to do a little more complicated structure. You will need to pass a reference of that string into the subVI. Then in the subVI pass the reference of the string into a property node for value instead of the string indicator or local variable that is located in the subVI. This allows the subVI to directly update the indicator on the front panel even before the subVI finishes.
smm wrote:
So how do I edit the strings then. Do you recommend I put 6 different strings?