|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We are trying to program the motor to go forward a certain speed and then go back. We put this in sequence and there is an error. Please help. The following attachment is our program
|
|
#2
|
|||
|
|||
|
Re: Sequences
The red X with two arrow heads point towards it indicates that two data sources are connected together. In this diagram, the constant produces data and so does the subVI outside the sequence.
What was the desired effect of connecting those together? Greg McKaskle |
|
#3
|
|||||
|
|||||
|
Re: Sequences
Is this something like what you wanted? (Note that it doesn't feed the watchdog. You'll need to do that if you want to do things this way.)
|
|
#4
|
||||
|
||||
|
Re: Sequences
however *don't quote me on this* if you put this in your teleop, or auto or whatever you are putting it into, you can't use a wait vi because it halts the rest of your program. I wrote a state machine to do this so that the code continuously loops, but can still be timed. If you want some more info, go to LVmastery.com and look at the state machine tutorial.
|
|
#5
|
|||
|
|||
|
Re: Sequences
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PrintToScreen vs printf escape sequences | rwood359 | Programming | 0 | 02-09-2008 15:18 |
| RC Secret Key Sequences | tdlrali | Programming | 9 | 05-02-2007 07:16 |