Page 1 of 2

Scaling the inputs in the log player

Posted: Wed Jul 15, 2015 4:31 pm
by djstatic
Now that I have my DLP working, I'm starting to see where improvements could be made (I understand you're super busy and all).

It would be nice to be able to scale the vertical axis for each input. e.g. I have a boost gauge that measure -25 inch-Hg to 40psi. Half the data is out of view.

if you could move it up (or down) on the grid (maybe click and drag) or set the parameters would be awesome.

Re: Scaling the inputs in the log player

Posted: Thu Jul 16, 2015 4:55 pm
by Matt

Re: Scaling the inputs in the log player

Posted: Thu Jul 16, 2015 5:47 pm
by djstatic
Cool.

If it's too hard to do in the Nistune UI, maybe allow settings in the aux#.csv file on the first line, second column:
Gauge name, [min]:[max]

aux2.csv example:
Boost,[-30]:[40]
0000,-30
0100,-20
.....
and just put the center point in the middle of the graph (in this case, 10)

Re: Scaling the inputs in the log player

Posted: Thu Jul 30, 2015 1:06 am
by Matt
I believe that this already works okay. You need to specify the min, max as the range of values

For example in my test -10 to 30 psi
MyBoost
0000,-10
1000,-5
1500,0
2000,2
2500,5
3000,10
3500,15
4000,20
4500,25
5000,30

Re: Scaling the inputs in the log player

Posted: Thu Jul 30, 2015 11:06 pm
by djstatic
Image

First split log LO2 0 to 200 - not much use when you want 0.6 to 1.4

Next one, AEM Lambda (on aux1 of DLP-IO8) Won't show above 1 in the sale. But we know the log file is playing up from the other thread.

Re: Scaling the inputs in the log player

Posted: Thu Jul 30, 2015 11:21 pm
by djstatic
Image

Red circle. Why is the scale maxing at 4235?

Blue circle (heh, using a track pad). Both should be the same. Pos.Boost just has 0,0 in the aux file until it makes positive boost.

Regardless of the different value, why is the scale wrong?

Re: Scaling the inputs in the log player

Posted: Sat Aug 01, 2015 12:23 am
by Matt
Email me the CSV files you are using and I'll attach them to the problem report

Re: Scaling the inputs in the log player

Posted: Sat Aug 01, 2015 12:06 pm
by djstatic
Same files as uploaded over here:
viewtopic.php?f=32&t=3169&p=23705&e=23705

Re: Scaling the inputs in the log player

Posted: Mon Aug 03, 2015 6:17 pm
by Matt
Problem with your aux3.csv file. Add a carriage return to the end of the line. The scanf() function reads the line as 42[35] hence the massive output

Re: Scaling the inputs in the log player

Posted: Mon Aug 03, 2015 6:20 pm
by Matt
Should be looking better now. I couldn't easily any positive boost numbers in the log though

Re: Scaling the inputs in the log player

Posted: Mon Aug 03, 2015 6:43 pm
by Matt

Re: Scaling the inputs in the log player

Posted: Mon Aug 03, 2015 10:36 pm
by djstatic
Just so you know I did a log today and LO2 was still 0 to 200 on version 1.2.45

Re: Scaling the inputs in the log player

Posted: Mon Aug 03, 2015 10:46 pm
by djstatic
Ignore my last post, I just saw the 1.2.46 update :)

Re: Scaling the inputs in the log player

Posted: Tue Aug 04, 2015 7:38 pm
by Matt
Yeah you need to update the software when I do a fix!

Re: Scaling the inputs in the log player

Posted: Tue Aug 04, 2015 9:05 pm
by djstatic
Is there a secret location for the test releases?