Go to Post It is amazing how much a person's participation in FIRST can shape his/her character. - Jupee [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 11-02-2010, 16:31
aksharma's Avatar
aksharma aksharma is offline
Registered User
FRC #2410 (Metal Mustang Robotics)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Kansas
Posts: 5
aksharma is an unknown quantity at this point
State Machines and Robot Framework

We have been trying to create a kicking mechanism in LabVIEW using multiple limit switches, and to do this we need a state machine. We have been trying to learn how to do this by watching the videos on LV Mastery, but they mention a Type Def called RobotData.ctl. We do not have this Type Def in our framework. We think it is in the Advanced Framework, but the main problem is that we do not have an option of using the Basic or Advanced Framework when we try to create a robot project. We have updated LabVIEW already, so we aren't really sure what is going on.

Is there a way to either create the state machine as described in the video without the Type Def or a way to get the option to have an advanced or basic framework?
Reply With Quote
  #2   Spotlight this post!  
Unread 11-02-2010, 17:54
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: State Machines and Robot Framework

That TypeDef is created by the Mastery Narrator in one of the TipJar videos. It is simply a bunch of different datatypes, in a cluster, converted to a typedef. It's a simple way to keep important data in one place, with the same names/labels/whatever.

Creating a typedef is not very difficult, but I don't have LV on my work PC and don't want to get one of the steps wrong. You basically right-click a cluster, go to its advanced properties page, and use a pull-down to change it into a TypeDef. Hopefully somebody else will reply with the detailed steps, or I can post again later when I get home.

Basic/Advanced doesn't apply this year ... it's all just the Framework.
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2010, 12:33
aksharma's Avatar
aksharma aksharma is offline
Registered User
FRC #2410 (Metal Mustang Robotics)
Team Role: Leadership
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Kansas
Posts: 5
aksharma is an unknown quantity at this point
Re: State Machines and Robot Framework

Thanks, that explanation helped us. We were able to figure it out.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cruch Time Help! 3 LabVIEW Tutorial Videos: State Machines; Faster Code; Simulation LVMastery NI LabVIEW 11 09-02-2009 14:36
State Based Machines in LabView Greg Marra General Forum 0 11-11-2008 11:07
Hawaii Gov. Lingle State of State speech-FIRST and STEM MoeMom FIRST In the News... 0 29-01-2008 17:04
What machines are you using? (CNC, lathes, mills, 3-in-1 machines?) MrB Technical Discussion 17 03-11-2006 11:55
State Machines doyler Programming 7 11-01-2005 00:53


All times are GMT -5. The time now is 04:24.

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