Go to Post if the school doesn't have a team - just start one. - Pattie [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 23-01-2012, 20:00
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Jaguar Direction Control

Hello -

I've got a fan hooked up to a PWM Jaguar speed controller. I'm trying to make the fan turn full speed when I hold button 7, and turn full speed in the opposite direction when I hold button 8.

I've linked case structures to proper buttons (see pictures below).

I've opened the motor (plugged into PWM 7) twice (one to move forward, one to move in reverse) and set the refnum name to Shooter and NegShooter (reverse). The reason I opened the motor twice was because while I could get the motor to accept one case structure (containing the correct value) as a value, I could not get the motor to accept two.


Button 8 works fine, however when I hit button 7, nothing happens. What's wrong here?

Here's some images of code.




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 11:31.

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