What exactly do you mean by
"For my project I would like to build a block diagram and try to make automatic program , are there any tools for that?"
If you are new to LV then I would suggest going thru most of the examples shipped with LV in the example finder. I would look into using the state machine.
There is a toolkit that NI sells called the state diagram toolkit. I have never used it so I do not know what it is like. I would also suggest a book called labview for everyone second edition or you could look on this site and references to many more books that will help you get started.
What kind of program are you trying to write.
Joe.
"NOTHING IS EVER EASY"