Go to Post :( The Internet just ate my post. - Greg Marra [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 09-02-2009, 10:27
Guopeter Guopeter is offline
Registered User
AKA: Pie
FRC #0296 (Northern Knights)
Team Role: College Student
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Guelph, Ontario
Posts: 21
Guopeter is just really niceGuopeter is just really niceGuopeter is just really niceGuopeter is just really nice
how to graph joystick inputs as a function of time?

hey teams,
I'm having difficulties graphing the joystick value to an XY graph. All I'm able to do is to plot a point (Y) and move it around as time (X) changes; how do you create a trail with that point?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2009, 11:59
brianrumburg's Avatar
brianrumburg brianrumburg is offline
Registered User
AKA: Brian Rumburg
FRC #2352 (Metal Mayhem)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Oklahoma City, OK
Posts: 4
brianrumburg is an unknown quantity at this point
Re: how to graph joystick inputs as a function of time?

I was able to achieve this using the Express XY Graph VI. When you drop it in your code, you will see an XY Graph VI and another VI called Build XY Graph. Go into the properties for the Build XY Graph VI and uncheck 'Clear data on each call'. This should make your point leave a trail.

I've posted a working example in another thread:

http://www.chiefdelphi.com/forums/sh...ad.php?t=73971

I hope this is what you're looking for!

-Brian
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2009, 17:49
brianrumburg's Avatar
brianrumburg brianrumburg is offline
Registered User
AKA: Brian Rumburg
FRC #2352 (Metal Mayhem)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Oklahoma City, OK
Posts: 4
brianrumburg is an unknown quantity at this point
Re: how to graph joystick inputs as a function of time?

You might also look at the Waveform Chart VI. It plots a value over time (leaving trails) out of the box.

I've attached a quick example. Good luck!

-Brian
Attached Files
File Type: zip Waveform Chart Example.zip (8.9 KB, 36 views)
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
Loop time for OperatorControl function? Debug blows... Chris_Elston Programming 10 13-02-2006 14:42
Joystick Inputs Jatheon4316 Programming 12 06-02-2005 17:25
How do the Analog Inputs work? JBotAlan Electrical 3 07-01-2005 00:11
Haas CNC Mill Graph Function P-Dog Technical Discussion 9 13-03-2004 23:45
How to access other Digital inputs on OI? DougHogg Electrical 2 12-03-2003 13:57


All times are GMT -5. The time now is 10:32.

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