Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202521

Re: Game of Life

$
0
0

I examined your Life or Death.vi and it's not wired correctly.  The game works better after reconfiguring that block diagram.  Also, instead of using a new Index Array primitive for each element you should just expand the primitive so you only have one.


MyronHuzan wrote:

I have set up the program just as you adviced, but I have not come across DigNum RefNum and I am unsure where to find them and what they are:/


I explained how to create the property nodes but maybe I wasn't clear.  Right-click on the control you want to create a property node for.  This brings up a menu.  Select Create|Property Node|Disabled.  Here's a picture:

Create Property Node.png

 

After that you can right-click on the property node and select Change All to Write.

 

Chage to Write.png

 

Then right-click on the property (Disabled) and select Create|Constant.

 

Create Constant.png

 

You can now left-click on the constant and change it to Enabled, Disabled, or Disabled and Grayed.

 

Property nodes are used to change the properties of controls, etc. during run-time.  You can change the label text, size, position visibility, etc. programatically.  Most things you can do to the control during editing you can change during run-time with a property node.

 

 


Viewing all articles
Browse latest Browse all 202521

Trending Articles