FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

case structure

If anyone can help me and figure out why everytime both fans turn ON  even the setpoint is not reaching the process value (auto option), attached is the section of Program , please open block diagram and see case"2" of big case structure. I am a new developer and any help in this regard will be highly appreciated. Thanks
Faiyaz Syed

Message Edited by Fayasoft on 11-27-2006 10:03 AM

0 Kudos
Message 1 of 3
(3,603 Views)
Hi Faiyez,

I have looked over the code and it appears that you are creating local variables from boolean indicators to control the different cases in the case structure on the left of the block diagram of your vi. You should replace these with boolean controls and observe the transitions in highlight execution mode to see what cases are being executed for each on/off combination. Once you have done this you should have a better idea of the behavior of your vi as a whole. You may also want to try executing each case separately to ensure that each one is doing is expected. I hope this helps.

Best regards,

Steven C
0 Kudos
Message 2 of 3
(3,576 Views)

Hi Steven ,

Thanks to reply.i checked according to yr suggestions . but there is nothing wrong , every case executes properly except "auto" , even this loop executes but inside the loop turning on both fans , i thing something could be wrong with the comparison statement? , those local variable is used within the VI and only on variable is enabling case structure. right now i am stuck with shared variables.  in the same loop instead of using constant i used shared-var and there is another VI in "My computer" side changing the set point . what it is doing it is turning on the fan when set point reaches ,  but not turning it OFF , any idea? this is first time i am using shared-var , may be i am not configuring it well....

Thanks ,

Faiyaz S

0 Kudos
Message 3 of 3
(3,566 Views)