Incorrect scaling in analysis window

Found a bug or got a feature request? Post it here.
Post Reply
fmbo
Posts: 17
Joined: Sat Jul 11, 2015 2:59 pm

Incorrect scaling in analysis window

Post by fmbo »

Hello everyone!

It seems that this issue started appearing in 1.9.0 and is still present in 1.10.2.

I have MAP channel set up in the range 0-3 bar. However, in the analysis screen it is shown like it is set in the range 0-255, Image.

It makes the analysis quite unconvenient.

Also, when making any changes to configutation, the app often resets the channel settings from 0-3 bar, precision 3 to 0-255 precision 0, which produces incorrect logging.

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi, the analysis ranges is derived from the channel settings you specify in the channel configuration, viewable using the gear icon for the particular channel you're editing.

What do you currently have those set to?

We're working on a feature that will let you override those settings in analysis, queued for a future version.
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

fmbo
Posts: 17
Joined: Sat Jul 11, 2015 2:59 pm

Post by fmbo »

This is the tricky thing — when I write the configuration, it is set for 0-3 for sure.

But when I read it back, it is sometimes set to 0-255. I couldn't figure our the real source of difference.

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Thanks. Is this with one of the analog channels?

If you can detect a pattern where this occurs, let us know. Be sure to watch out for loading a config file that has the old settings, because that will over-write any changes you've made.

In the meantime, we will double check editing it, writing it, and reading it back from the system.

Thanks,
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

VPD
Posts: 36
Joined: Sat Aug 11, 2018 1:40 pm
Location: NC

Post by VPD »

brentp wrote:Hi, the analysis ranges is derived from the channel settings you specify in the channel configuration, viewable using the gear icon for the particular channel you're editing.

We're working on a feature that will let you override those settings in analysis, queued for a future version.
This is the closest thread to my question so I'll just add on. When I use the heat map track overlay in analysis it appears the scale keeps the default range regardless of the range I enter in the channel config.

For example, I'm mapping a direct CAN channel to OilPress and it shows the range as 0-150 psi. When I logged the data I had left the range 0-150, but later when looking at the heat map I wanted a tighter range better matching my data so I edited the channel config, but the heat map range didn't update even after reloading the session.

All other channel specific settings like warning ranges seem to propagate around nicely, seems like this should have too from the text above. Is the range set at time of logging and stored with the data? I hope not, the useful range for best heat map visualization isn't known until data has been taken. I'm using the latest app version, is this a bug?

The analysis override improvement sounds even better. Auto scale based on data min/max values as an option would be nice too.

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi; Good question.

The scaling you specify in channel configuration affects what is reported at the time the data is broadcasted. Analysis holds a snapshot of data imported at the time, so the min/max scaling is handled separately.

Needless to say, 1.14.0 app will include the ability to adjust the scaling of the values in the datastore. That and other improvements are the highest SW priority. Stand by for some more information soon, including demo videos.

Thanks!
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

VPD
Posts: 36
Joined: Sat Aug 11, 2018 1:40 pm
Location: NC

Post by VPD »

Hi Brent, thanks for the quick reply. I need to clarify based on your response. I'm not talking about the scaling formula, I'm talking about the min/max range. To keep the same example, my oil pressure range is 0-75psi, my scaling formula is correct and my data reports that correctly with real psi values in real time and analysis so no problem with scaling.

Range: Under Edit CAN Channel Mapping -> Channel tab -> Channel gear icon -> Settings column -> Min/max field. I set this from 0-75, but in Analysis the heat map color legend in the upper right still shows 0-150psi. I can't find any way to change it.

Then when my actual data is only 0-50, and the range/legend is stuck at 0-150, I'm only using 1/3 of the color range so visualization is not good. Make sense now? Where is that 0-150 coming from and how do I change it?

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi - I think I understood what you wrote. Those min/max values are stored in the database (datastore.sq3) and are set at the time of the initial import. They're not connected to the current channel configuration.

Our feature task is to create an interface that will allow you to edit the current min/max for the currently imported channels.

Hope that clarifies things!
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

VPD
Posts: 36
Joined: Sat Aug 11, 2018 1:40 pm
Location: NC

Post by VPD »

Yes it does, thank you. I see a lot nice things coming in 1.14.0, looking forward to it.

Post Reply