Go to Post Give me a week, and a lot of caffeine and I could have one made. Problem is the lack of a week and caffeine. - Mike [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 19-01-2015, 16:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Linear Actuator Programming Help

Quote:
Originally Posted by Luid101 View Post
Ok.The code is in the timed tasks vi.
Is it outside all of the timed while loops in that vi, or is it inside one of them? If it's inside a while loop, which one is it in?

Quote:
The code at the left side is a toggle switch for the joystick input. If you could show us a better way of coding it we would be grateful!
If you can tell me what you want the code to do, I'm sure I can show you an efficient way of telling LabVIEW how to do it. The phrase "toggle switch for the joystick input" isn't enough detail for me to know what you want.

Quote:
I am pretty new to labview programming so I am not sure if there should be a wait or not, I saw it there so I didn't tamper with it.
There are specific places for wait functions, and specific reasons for using them. Besides the timed loops in Periodic Tasks, the only place I think I have put them in a robot program would be in a flat sequence in Autonomous Independent (or a flat sequence in Periodic Tasks, but that's a very special case).
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:12.

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