Help Finding VI

Can someone help me finding these two vi’s please. I have placed the node but cant figure out how to get that rhombus/square looking thing under it. I also can’t figure out how to put the True/False Thing next to the stop button, I can only place each one individually. I provided a picture of the example code and placed a red box around the node and true/false constant I can’t find. Thxs :slight_smile:





There are a couple of ways to do everything.

For the Stop sign False, you can just hover your cursor over the Stop sign input node, right-click and select Create->constant.
That’ll give you a simple boolean and you can switch it between true & false by clicking on it.
(It won’t look exactly like the one in the picture, because the picture one is actually a control from the front panel, but you don’t really need that.
If you really want that one there are two additional clicks you have to make: Change to Control and then unclick View as Icon.)

The arrow is found on the Programming -> Structures palette.
You will have to reverse it by right-clicking on it and choosing change direction.
The rhombus square thing underneath will appear after it’s wired, but in the latest version of LabVIEW it now looks like an asterisk.

The top VI is a feedback node. It is located under Programming -> Structures. To get the initial value, AKA the “rhombus/square looking thing”, in 2013, it changed to be an asterisk, and should always be visible.

Also, to get a constant or control or indicator for any input or output, simply right click on the point which you want to add this to, go down, and select the menu called Create. This will have a sub-menu with three buttons. Clicking any of them will create either a control, or a constant, or an indicator which matches the type of the input or output you clicked on, and wire it to that point. This is a very handy shortcut to know, especially if you do not know what type of input or output a VI is producing.

So, in short, to create a boolean constant for the stop node, right click on the node, and select Create -> Constant. This will automatically create the constant and wire it to the node.

(This Isn’t a question about Finding the Vi since it was solved but I didn’t feel like making another thread for something that is also related to this thread)

I have some questions regarding the code in the example. My team is trying to make it that button 1(trigger) be used as a on/off switch for a motor, so when we press the trigger it turns on our shooter at full speed and then when we click the trigger again it shuts off. How would I program a code that would perform this task of turning on and off motors by clicking the button? Since the example would be placed in the Periodic Task Vi would the code for the on/off switch also be placed here or on the Teleop Vi. Please if possible post an image, I find it much easier to understand.

Here is only one way of many to do this.
This example goes in Teleop and you would add a Motor Set inside each of the inner True/False cases. One to set the motor to the power you want, the other case to set it to 0.