Go to Post At first, "water game" was funny. Then it went to silly. Now it's just dumb. Not to mention unrealistic for FIRST. - EricH [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

 
 
 
Thread Tools Rating: Thread Rating: 11 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #7   Spotlight this post!  
Unread 18-03-2009, 05:22
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 688
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Using Tables in LabView.

Sounds like what you want is in fact an array of clusters. Start by making a Cluster Control, then drag in three Numeric Controls and two boolean controls (switches of some sort). Give these appropriate labels, like the ones you described ("Start Time," "X Position," etc.). It may be helpful to physically arrange the controls in a horizontal line like you show, but this is not necessary.

Once you have made your cluster control, make an Array Control, then drag your Cluster Control into it. You can then show multiple elements in the Array Control by dragging on the corner to expand the control. Note that even though you have displayed multiple elements of the array, not all of them will necessarily be used; when they're grayed out, they are "empty" elements. You can then go in and fill in the data. If you need more elements than the array control shows, you can increment the index counter (the little box in the upper left corner of the control), which will change the range of elements of the array that are displayed. If ever you want to remove an element from the array (make it grayed out again), right click on it, and choose Data Operations>>Delete Element. You can also clear the entire array by using Data Operation>>Empty Array. To figure out how many elements have been inputted, just use the Array Size function in your code.

For more info on arrays and clusters, see this page on NI.com

--Ryan
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor
Reply With Quote
 


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
Using Limit Switches in LabVIEW VeedotJaydot NI LabVIEW 2 14-02-2009 16:01
FOLLOWING the target using labview psychomonkey NI LabVIEW 8 12-02-2009 07:42
Using Run in Labview cabbagekid2 FRC Control System 5 07-01-2009 13:05
Using LabView to Teach Students.. Sykan NI LabVIEW 1 22-09-2008 12:14
Using the CMU cam in LabView VeedotJaydot Technical Discussion 1 10-09-2008 16:39


All times are GMT -5. The time now is 20:42.

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