Have you tried the built-in "Square Wave.vi"? It is located in the Function pallete Analyze > Signal Processing > Signal Generation.
If you have the base package of LV, you'll have to build the square wave yourself. If you have to do this, try building two arrays, the first array will be zeros and second array filled with ones (or whatever you want you amplitude to be. You can concatante those arrays in a for loop n times until you have the signal you desire.
Post back if you need an example
Tim