|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: LabVIEW POV Help?
Quote:
|
|
#2
|
||||
|
||||
|
Re: LabVIEW POV Help?
My LabVIEW expired and I'm too lazy to put in the new activation code. Attached is a bad MS Paint drawing of what I think it looks like from memory.
|
|
#3
|
||||
|
||||
|
Re: LabVIEW POV Help?
Here, this diagram should be very helpful.
|
|
#4
|
||||
|
||||
|
Re: LabVIEW POV Help?
Ok, I've tried this out with no luck, is there something I'm likely missing? I don't know how to copy my code into Chief Delphi to show you.
|
|
#5
|
||||
|
||||
|
Re: LabVIEW POV Help?
You can either select the code you want and in one of the menus there's an option like "Make PNG from selection" or you can just take a screen grab with any screen grabbing program.
|
|
#6
|
||||
|
||||
|
Re: LabVIEW POV Help?
Ok, we figured out my problem and got the code to work, although it goes back to the starting position when we let go of the hat switch, any ideas on how to make it stay in the same spot? thanks
|
|
#7
|
|||
|
|||
|
Re: LabVIEW POV Help?
Quote:
Presumably you set some value to the servo when the hat switch is depressed. i would look in the code for any other place where that servo is set and see how your code can reach that location (presumably by way of teleop.vi) |
|
#8
|
|||||
|
|||||
|
Re: LabVIEW POV Help?
Quote:
Just how you do that depends on what your code looks like. |
|
#9
|
||||
|
||||
|
Re: LabVIEW POV Help?
Another option is to put the servo.set command in a conditional statement and then only set it if the POV value is not -1. Then when the POV value is -1 the servo won't get set to a new value and it will keep its last value.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|