|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: First LabView Program - Trouble with motor control
Quote:
|
|
#3
|
|||
|
|||
|
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. Last edited by vasa.dhananjay : 13-02-2015 at 22:27. Reason: Additional Info |
|
#4
|
|||||
|
|||||
|
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. |
|
#5
|
|||
|
|||
|
Re: First LabView Program - Trouble with motor control
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
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|