Go to Post I mean I am a pocket protector kind of guy. - techhelpbb [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 30-01-2017, 17:19
Chieftainator1's Avatar
Chieftainator1 Chieftainator1 is offline
Registered User
AKA: Carson Ausra
FRC #5182 (The Chieftainators)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Dowagiac, MI
Posts: 4
Chieftainator1 is an unknown quantity at this point
Re: LabVIEW POV Help?

Quote:
Originally Posted by Ari423 View Post
POVs in LabVIEW have recently been made much simpler. The same way you would get the axes and buttons on a joystick, there should be a third output array on the Joystick Get vi for POVs. The POV you want will be the first (and only) element in the array. If you index the first element of that array, you will end up with a single integer value. IIRC that integer corresponds to the angle that the POV hat is at, with forward being 0* and CW+. Then you can either send that angle value directly to the servo if you have a 360* servo or use some kind of function to map POV inputs to servo angle outputs. Good luck!
Can you show us an example by chance? we still are having trouble, after reading your reply, Thanks!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi