LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to freeze a B-control if a B-Indicator is true??

Hey guys... I'm trying to make a simple tic tac toe game interfaced by speedy-33. This is not the deal however. I stopped when i tried to stipulate a condition: x AND o = F . However, I learned I cannot manipulate indicators (x & o are indicators). The thing is that when a player picks an x in lets say box 1,1 , the player with an o cannot place an o in the same box. (so I'm thinking of somehow stopping the place o in 1,1 control when x in 1,1 is true) 

Ideas are appreciated, I rather more practical alternatives. I'm offering kudos to everyone. 🙂

Thank you

T. A.
0 Kudos
Message 1 of 14
(4,206 Views)

Can't you just disable the box 1.1 (or any other) from the moment any player put's anything in it?

 

Disable property of a control : 0= Enabled  //  1= Disabled  //  2= Disabled&Grayed 

0 Kudos
Message 2 of 14
(4,203 Views)
how can i do that whilew am in the game (game is running). please check my sample vi out, note that I have put the indicators in case structures to maintain that the light is on and the button is latched.
T. A.
0 Kudos
Message 3 of 14
(4,197 Views)

rebghb wrote:

However, I learned I cannot manipulate indicators (x & o are indicators).


Yes you can.

 q1.png

 

Allthough, you should consider making them controls, not indicators

 

 

 

Message 4 of 14
(4,189 Views)
Disable property...
0 Kudos
Message 5 of 14
(4,185 Views)
I am familiar with the event structure, however I am am not familiar how to change to "Boolean: Mouse down" or any. what I am also not familiar with is "bool stic " vi.... How did u get that??? (Sorry but im still a newbie.)
T. A.
0 Kudos
Message 6 of 14
(4,183 Views)

do u happen to have an 8.2 version?? Smiley Sad

 

T. A.
0 Kudos
Message 7 of 14
(4,180 Views)

I think you must read basic courses in LabVIEW.

See here

0 Kudos
Message 8 of 14
(4,160 Views)

rebghb wrote:

do u happen to have an 8.2 version?? Smiley Sad

 


 

Yes I have ... ...

 

 

Message 9 of 14
(4,137 Views)

Thanks Alan S... Youre right I know I must, I am already on it. It's just we have been recently intorduced to LabVIEW, we've never even heard of it... and we must deliver a project by january :-s

But thanks for help appreciate it

T. A.
0 Kudos
Message 10 of 14
(4,106 Views)