Quote:
Originally Posted by MPaulHolmes
I've been updating the software more, so that all the optional variables are in the normal nice format, like real life actual amps (with 1 decimal) and real life volts, and also % of voltage being used, etc.. 16 variables to choose from (0, 1, 2, ..., or all 16). And as you suggested, the 1kHz timer is one of the 16, so you can know what time things are actually happening. I should get it tested and sent over to you hopefully tomorrow. And when you mentioned the csv format or whatever it was called, I looked that up, and just changed it so the output format would be CSV.
|
Cool. That will make it faster to import to LibreOffice Calc - the open source version of excel
Quote:
No sense forcing people to cut and paste into excel. Here's the list of variables:
Code:
// bit 15 set: display counter1ms
// Bit 15 set: display Id
// bit 14 set: display Iq
// Bit 13 set: display IdRef
// bit 12 set: display IqRef
// Bit 11 set: display Vd
// bit 10 set: display Vq
// Bit 9 set: display Ia
// bit 8 set: display Ib
// bit 7 set: display Ic
// Bit 6 set: display Va
// bit 5 set: display Vb
// bit 4 set: display Vc
// Bit 3 set: display rawThrottle
// bit 2 set: display normalizedThrottle
// Bit 1 set: display temperature
// bit 0 set: display slipSpeedRPM
// Bit 3 set: display electricalSpeedRPM
// bit 2 set: display mechanicalSpeedRPM
// Bit 1 set: display batteryCurrent
// bit 0 set: display % of voltage being used. Ratio of radius of <Vd,Vq> to Total voltage.
|
So - more than 16 means you can do 32 and have some spare slots for future expansion!
I would suggest this split - no real reason but it seems to work out.
Code:
// LogFlags1
// Bit 15 set: display Id
// bit 14 set: display Iq
// Bit 13 set: display IdRef
// bit 12 set: display IqRef
// Bit 11 set: display Vd
// bit 10 set: display Vq
// Bit 9 set: display Ia
// bit 8 set: display Ib
// bit 7 set: display Ic
// Bit 6 set: display Va
// bit 5 set: display Vb
// bit 4 set: display Vc
// bits 3 - 0 are for future
// LogFlags2
// bit 15 set: display counter1ms
// Bit 14 set: display rawThrottle
// bit 13 set: display normalizedThrottle
// Bit 12 set: display temperature
// bit 11 set: display slipSpeedRPM
// Bit 10 set: display electricalSpeedRPM
// bit 9 set: display mechanicalSpeedRPM
// Bit 8 set: display batteryCurrent
// bit 7 set: display % of voltage being used. Ratio of radius of <Vd,Vq> to Total voltage.
// bits 6 - 0 are for future
Looking forward to the new code!