Go to Post I'm 5'5", and I'm our team's drive coach. Our drivers are nearly always taller than me. In my case, it's not the driver's station that needs to be made of lexan...it's our drivers. - StephLee [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2015, 20:26
vasa.dhananjay vasa.dhananjay is offline
Registered User
FRC #4748
 
Join Date: Feb 2015
Location: United States
Posts: 5
vasa.dhananjay is an unknown quantity at this point
Re: First LabView Program - Trouble with motor control

I tried running the example as well and it doesn't appear to be working either. For some reason I can't get the PWM to output anything.
  #2   Spotlight this post!  
Unread 13-02-2015, 21:12
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,077
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: First LabView Program - Trouble with motor control

Quote:
Originally Posted by vasa.dhananjay View Post
I tried running the example as well and it doesn't appear to be working either. For some reason I can't get the PWM to output anything.
How are you determining that the PWM is not outputting anything? i.e. LabVIEW probes, Driver Station, Dashboard, LEDs on motor controllers, voltmeter, something else?


  #3   Spotlight this post!  
Unread 13-02-2015, 21:42
vasa.dhananjay vasa.dhananjay is offline
Registered User
FRC #4748
 
Join Date: Feb 2015
Location: United States
Posts: 5
vasa.dhananjay is an unknown quantity at this point
Re: First LabView Program - Trouble with motor control

I've tried with the voltmeter/oscilloscope and I LABVIEW probed some of the blocks when I did the example exercise and it seems to be setting the PWM to a value of 1537 . As far as I've delved into the internal blocks anyway. I'm not sure where to look to see if there are any issues with it actually setting the PWM to that value. The drive station hasn't spat out any errors either.

I just tried doing the arcade drive example. I can see that LABVIEW is reading the joystick values no problem but I get the following message when looking at the wire after declaring which PWM from the dropdown: PWM Channel | Not Executed.
Attached Thumbnails
Click image for larger version

Name:	PWM Not executed.png
Views:	12
Size:	72.7 KB
ID:	18338  

Last edited by vasa.dhananjay : 13-02-2015 at 22:27. Reason: Additional Info
  #4   Spotlight this post!  
Unread 14-02-2015, 07:41
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: First LabView Program - Trouble with motor control

That message means the Driver Station hasn't been put in Teleop mode and Enabled.

Maybe a screenshot of the Driver Station while the robot is Enabled.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 15-02-2015, 00:29
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 56
mshafer1 is an unknown quantity at this point
Re: First LabView Program - Trouble with motor control

Quote:
Originally Posted by Mark McLeod View Post
That message means the Driver Station hasn't been put in Teleop mode and Enabled.

Maybe a screenshot of the Driver Station while the robot is Enabled.
The vi in the example that was posted in the beginning tutorial your first post is meant to be stand alone. Try putting the code in the teleop.vi and enable the robot from the driverstation after either deploying the project, or running robot main.vi
Closed Thread


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 01:40.

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