![]() |
"simple" button problem
1 Attachment(s)
I'm new to LabView, so this is a big problem for me, but it's probably easily solved. We are trying to wire it, so that when we press a button on a joystick, it sends the signal to a relay which in turn turns a motor forward or backward. (So, actually, it's two buttons, but I'm just trying to get one to work for now.) I attached the program I have so far, but for all I know it could be entirely wrong. Can anyone tell me how to fix what I have, or give me an example program or something? Any advise would help.
|
Re: "simple" button problem
1 Attachment(s)
Here is what our team would do to set the relay. On the false side of the case, it just has it set the relay back to off. Hope this helps you out.
|
Re: "simple" button problem
add a case structure
true input/ 1 false input/ -1 that input should give your the wanted result i'll post again latter (my machine that runs labview can't connect to the internet) |
Re: "simple" button problem
As other have pointed is that you are getting the value from the button but not using it to modify the functionality of the code. Wire the button output to a condition statement that will range from 1 or -1 to the motor outputs.
|
Re: "simple" button problem
Quote:
|
Re: "simple" button problem
What items can you not find?
Greg McKaskle |
Re: "simple" button problem
1 Attachment(s)
I'm with 2791, and I cannot seem to find the "thing" (for lack of a better word) that you used to select the button. If i'm being vague, I've attached a button to better show what exactly I cannot seem to find.
Thanks In Advance! |
Re: "simple" button problem
It's called "Unbundle by Name" and can be found in the third box "Cluster, Class and Variant" under 'Programming" on the functions pallet.
|
| All times are GMT -5. The time now is 02:23. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi