Go to Post Valentine's day, who has time for Valentine's day?????? I have code to write!! - paulcd2000 [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
  #5   Spotlight this post!  
Unread 17-03-2009, 07:15
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
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.

Quote:
Originally Posted by Burmeister #279 View Post
as for the problem, could either of you show me an image or vi that i could use as a base for developing this system. i want to read time, x and y value [or right and left] and at most two boolean inputs. Thanks again for the help.
Apologies if I'm a bit dense, but where do you want to read these inputs from? If these are settings you're trying to read in from the DS, you can read x and y axes and buttons from the joystick the same way you normally would, but I'm not sure that would work the best for mode switches, usually I'd go for something more persistent, like toggle switches and pots connected to the digital and analog inputs on the side of the DS. I can give you instructions on how to hook these up if this is what you want.

When you say time, what time are you referring to? Using the Get Tick Count VI on the Timing palette, you can get a sort of system time that you can use for relative timing applications, but the actual number may not mean anything in particular (I'm not sure where it would be getting accurate real world time from). You could expand off of this, for example storing the time you entered into autonomous mode, teleop mode, etc, you could get a sense of how long the match had been running for.

If you're talking about reading in multiple sets of these values, i.e. in your array control, you can use a cluster for that. Just drag out a cluster control, put in some number controls or boolean controls (what ever you need), then drag the cluster into the array control. This will give you an array of these clusters. When you're reading them, index into your array, then use Unbundle to get at the individual values.

Sorry if I've missed the point of your post.

--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 21:44.

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