Go to Post My lasting impression of 217 (for years now) has been based on how their robot looks, dynamically. It is poultry in motion. :) - Richard Wallace [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
  #1   Spotlight this post!  
Unread 30-12-2011, 23:47
baronep's Avatar
baronep baronep is offline
Student President
FRC #2848 (Jesuit All-Sparks)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Dallas TX
Posts: 167
baronep is on a distinguished road
Various Labview Questions

I have a specific programming task that I have been trying to tackle for a little while which I'm sure has been solved before.

I have an absolute position sensor which outputs a value of 0to5v and a motor which turns the shaft attached to the sensor. The desired affect is that when I push a button, the axle will rotate 1/6 of a rotation (it is geared down so the physics shouldn't be a problem). Then, when I push the button again, it will rotate another 1/6 rotation.

Another question, it seems that in out labview code, we have not used much in the way of "variables" like the local variables. Is my team just finding the "hard way around" problems that would be easily solved using variable nodes or would that just be inefficient?

Finally, In years past we have had problems with while loops in our teleop code (the robot would try to execute an automatic sequence and then it would timeout or drive into a wall). The workaround that we have used is a case structure with a bunch of feedback nodes.

Anyway, help would be appreciated
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 09:36.

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