Go to Post We're still not ready for 2012.... - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2013, 14:26
chriz4gx chriz4gx is offline
Registered User
AKA: Christopher Villar
FRC #2871 (Beantown Botz)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston,MA
Posts: 45
chriz4gx is an unknown quantity at this point
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
Attached Thumbnails
Click image for larger version

Name:	ButtonTimedAction.jpg
Views:	27
Size:	62.2 KB
ID:	13762  
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2013, 14:56
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,834
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help Finding VI

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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-02-2013 at 15:00.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2013, 15:00
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Help Finding VI

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.
Reply With Quote
  #4   Spotlight this post!  
Unread 05-02-2013, 17:23
chriz4gx chriz4gx is offline
Registered User
AKA: Christopher Villar
FRC #2871 (Beantown Botz)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Boston,MA
Posts: 45
chriz4gx is an unknown quantity at this point
Re: Help Finding VI

(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.
Reply With Quote
  #5   Spotlight this post!  
Unread 05-02-2013, 18:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,834
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Help Finding VI

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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi