You are here

Sampled Data not working

4 posts / 0 new
Last post
ben5243
Offline
Last seen: 2 years 7 months ago
Joined: 2019-02-05 19:46
Posts: 3
Sampled Data not working

I'm using VESC Tool v0.91 and custom VESC board with hall sensor inputs.

I spin the motor at constant RPM with my controller and all the real time data shows up in VESC Tool very well, no problems.  RPM, Duty Cycle, Motor Current, etc.

When I go to the Sampled Data tab and try to click "Sample Now" the loading bar goes to about 30% then stops and never does anything.  I've tried all the other buttons too, stopping and starting the motors, changing RPM.  The BEMF tab is the same.

Am I doing something wrong in VESC Tool or is there something wrong in hardware?

 

Thanks

benjamin
Offline
Last seen: 21 hours 34 min ago
VESC FreeVESC OriginalVESC Platinum
Joined: 2016-12-26 15:20
Posts: 487

The sampled data currently only works over USB, so if you are using some other interface that might be the cause. I will probably have a look at that soon and make it work over all interfaces.

henxan
Offline
Last seen: 2 years 11 months ago
Joined: 2019-11-13 22:52
Posts: 6

Hi!

I use an USB-cable to communicate with the VESC (Mini FSESC 4.20), and I have the exact same problem as OP. So this problem is certainly not only related to non-USB communication.

EDIT: Btw, I forgot to mention that I use VESC tool v. 1.28 smiley

bayetan
Offline
Last seen: 2 weeks 3 days ago
VESC Free
Joined: 2019-08-30 02:40
Posts: 6

I noticed the "Sampled Data" has a problem downloading to completion when you have the "Realtime Data" enabled.  Turn off the "Realtime Data" whenever you want to "Sample Data" and it works every time.

I also think the x-axis is not getting updated properly.  When you change the Dec (Decimation?) to something other than 1, the time axis doesn't change.