Simplefocstudio own variables

Hello, Can I plot my own variables in simpleFOCStudio?

Did you ever get this figured out?

Currently that’s not possible. But it’s not much work to use Arduino Serial Plotter or Teleplot just by writing to the Serial stream yourself…

Hi @DarkMajster,

I don’t think it’s possible without making quite significant changes. On one hand, you would need to alter the data stream sent by the engine to include the variables you want to send along with the ones currently being sent. On the other hand, you would have to modify the Python application to be able to interpret this new data and plot it. The way the application interprets the data depends on the position the data occupies in the frames sent by the engine.

In summary, it’s “possible”, but it would involve making very significant changes to both the firmware and the software.

yeah, I simply changed variable that is being send instead of Vd or sth like that

In the github repository, where is the first part of the code that takes values from serial and the part that handles the final plotting?

I program in python as a hobby but this is quite different from the basic stuff I do and as such, I am struggling to grasp the structure of this project.

You can start your investigation at these points

and here :

1 Like