|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Multiple outputs
Quote:
I was interested in seeing that code as a example that could learn from. Thanks! |
|
#2
|
||||
|
||||
|
Re: Multiple outputs
Here is an example. The zip is just the subVIs.
|
|
#3
|
|||
|
|||
|
Re: Multiple outputs
This is the error code I get when tried to use the codes. Can you tell me what I did wrong?
|
|
#4
|
|||||
|
|||||
|
Re: Multiple outputs
1) Your Motor Output needs to be told which motor you are talking about.
2) You have not defined what to do with all the possible cases of joystick buttons. At the very least you need a "default" case to cover all uncovered bases. |
|
#5
|
|||
|
|||
|
Re: Multiple outputs
Can you send me some screen examples? I'm new and I can't visualize what you're telling me. Thank you.
|
|
#6
|
|||||
|
|||||
|
Re: Multiple outputs
Here's what you need:
1) Add a Motor reference (this motor needs to be opened in Begin.vi) 2) Put the cursor on the cases and right-click to choose "Add Case for Every Value" Then look for every new case that needs a motor value added to it. The output tunnel carrying the motor value will be solid when you have them all. It'll have a white center if you haven't fixed all the missing cases. Last edited by Mark McLeod : 26-01-2011 at 19:31. |
|
#7
|
|||
|
|||
|
Re: Multiple outputs
Thank you! Everything is working great now.
|
|
#8
|
|||||
|
|||||
|
Re: Multiple outputs
As an aside, here is how I would select between multiple joystick or custom DS buttons.
Last edited by Mark McLeod : 03-02-2011 at 07:15. |
|
#9
|
||||
|
||||
|
Re: Multiple outputs
I would've broke both the motors up into two case structures and then have a boolean series hooked up to nested case structures.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|