Go to Post A video is worth 30,000 words a second. - Thromgord [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
  #2   Spotlight this post!  
Unread 23-02-2016, 20:49
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Re: Programming Help: how to read first value

Quote:
Originally Posted by 1uan View Post
I am using a NavX IMU board for our robot this year and I want the first value that the navx reads when the sub-vi is executed to become the set point in the PID function and the other values from the navx to be the process variable in the PID function. currently i have a button to set the set point value but i want the sub-vi to do this automatically. The Subvi takes the yaw value of the Navx and uses it to hold heading.


Any help is appreciated.
The easiest option would be to get the status of the board and wait for the connected Boolean to be true and calibration state is complete. You could use a feedback node to keep track when you trigger the storing of the set point so it won't continue to update.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
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 20:46.

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