Go to Post So the bar is set insanely high. Probably unachievably high for some of us. But what a shame it would be to lower it. - pfreivald [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 14-03-2009, 21:51
Shivang1923 Shivang1923 is offline
I make robot go VROOM VROOM!
FRC #1923 (MidKnight Inventors)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: West Windsor, NJ
Posts: 38
Shivang1923 has a spectacular aura aboutShivang1923 has a spectacular aura about
Re: Case Structures

Quote:
Originally Posted by Garii View Post
Cases are extremely versatile, all you have to do is wire something to the boolean case node and it will switch to what ever you wire it to. the only other things I'd like to add is that if your doing an array or something like that that the case doesn't always add all the variables available
in that case, you right-click and select 'add case after' and it should create a new case with the next variable in the array
Reply With Quote
  #2   Spotlight this post!  
Unread 15-03-2009, 10:50
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Case Structures

Just to keep the terminology clean, cases/switches don't do arrays at all. The string and enum have a set of values they support, but the thing wired must be a scalar, not an array.

In the case of the enum, it may be useful to use the popup for creating all cases at once, otherwise use the Add before or Add after.

Greg McKaskle
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
paper: FIRST Drive Trains and Structures Madison Extra Discussion 18 04-12-2007 17:37
Green light Case Lablabla Technical Discussion 9 16-01-2007 21:53
Compiler has troubles with structures? steven114 Programming 1 21-02-2006 18:28
Question: Carrying Case UIDzero Technical Discussion 10 10-11-2003 14:35
Bone structures x_cat_SHAUN 3D Animation and Competition 1 11-02-2003 18:57


All times are GMT -5. The time now is 07:35.

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