libximc  2.2.0
Data Fields
chart_data_t Struct Reference

Additional device state. More...

Data Fields

int WindingVoltageA
 In the case step motor, the voltage across the winding A; in the case of a brushless, the voltage on the first coil, in the case of the only DC.
int WindingVoltageB
 In the case step motor, the voltage across the winding B; in case of a brushless, the voltage on the second winding, and in the case of DC is not used.
int WindingVoltageC
 In the case of a brushless, the voltage on the third winding, in the case step motor and DC is not used.
int WindingCurrentA
 In the case step motor, the current in the coil A; brushless if the current in the first coil, and in the case of a single DC.
int WindingCurrentB
 In the case step motor, the current in the coil B; brushless if the current in the second coil, and in the case of DC is not used.
int WindingCurrentC
 In the case of a brushless, the current in the third winding, in the case step motor and DC is not used.
unsigned int Pot
 Potentiometer in ten-thousandths of [0, 10000].
unsigned int Joy
 The joystick to the ten-thousandths [0, 10000].
int DutyCycle
 Duty cycle of PWM.

Detailed Description

Additional device state.

This structure contains additional values such as winding's voltages, currents and temperature.

See also:
get_chart_data
get_chart_data