11-02-2007 09:51 AM
11-02-2007 09:58 AM - edited 11-02-2007 09:58 AM
Message Edited by andre.buurman@carya on 11-02-2007 04:58 PM
11-02-2007 10:02 AM
This typically uses a case structure with two cases.
Simulate your Heat call and check for W (e.g. =0?) and wire the output to the selector terminal of a case structure. In one case, you would place the "terminalte heat call" and a boolean TRUE (for fail). In the other case you only place a boolean FALSE (for pass).
WIre the booleans to the same output tunnel for further processing after the case structure.
Is this supposed to occur repetitively?
11-02-2007 10:05 AM
11-02-2007 10:07 AM
11-02-2007 10:09 AM
Also it is not repetitive. once I'm done witht he heat mode, I have to check for cool mode, fan mode etc., whichc will be almost similar, but witha few changes.
Another thing... simulate heat is writing to P1.0 adn terminating heat is to stop writing to P1.0
11-02-2007 10:10 AM
11-02-2007 10:11 AM - edited 11-02-2007 10:11 AM
Message Edited by andre.buurman@carya on 11-02-2007 05:12 PM
11-02-2007 10:16 AM
@smm wrote:
Also it is not repetitive. once I'm done witht he heat mode, I have to check for cool mode, fan mode etc., whichc will be almost similar, but witha few changes.
Another thing... simulate heat is writing to P1.0 adn terminating heat is to stop writing to P1.0
Now you don't make any sense!
If writing something to P1.0 is not repetitve, there is no need to stop writing to it, because you only write once anyway. 😉
More logical scenario examples:
Can you define the problem in clearer terms please?
11-02-2007 10:17 AM
Andre, I'm justt trying to implement what I have shown in the flow diagram. This is one case called heat mode.
Once my heat mode is done, I go to fan mode and then cool mode. The thing is , where it says simulate heat mode. There I have to write to P1.0 of the NI USB 6501. This thing turns on a signal W, which is read at P0.1.
If what I read off P1.0 is low (false), the FALSE LED turns on, or else if the P1.0 is true (1) , then it terminates heat call i.e it stops writing to P1.0. Further it checks if the W signal is present again, if yes, then PASS LED turns on or else FAIL.
I hope I'm trying to explain what I'm saying correctly. Try looking at the flow diagram.