I’m trying to make the autonomous so it will activate 2 motors for the whole period and nothing else besides the movement of the robot itself.
The movement is something I don’t know where to start with… I want it to run forward for like 10 seconds and then start spinning:D It’s a tank drive so I only need to move one of the axis… But how do I coordinate a movement after the other :S?
You want the robot to move at one speed and direction for a while, then change to move at another speed and direction? The sample Autonomous Independent does exactly that. It uses a clever trick to make things happen in sequence: chaining the error out of one VI to the error in of the next. The Delay and Feed VI takes care of the timing, and the dataflow inherent in LabVIEW takes care of the sequencing.
Both Motor Opens are configured for the same PWM output. That right there will keep it from controlling two motors.
I can’t tell from the section you posted what the loop structure is surrounding it, but I suspect the Motor Close VIs are misplaced. They should go outside everything, in the same realm as the Motor Opens (but on the right instead of the left).
You don’t need to do anything fancy with timing if you just want the motors to run during the whole autonomous period. Just turn them on and forget them; the parallel drive sequence will make it so that everything inside the loop runs for as long as your Delay and Feed VIs total.