|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |