Page 1 of 8

OpenXsensor Configurator

Posted: Thu Jul 17, 2014 4:15 pm
by davx
Hi,

A little subject about an OXS config file generator utility, developed (still not really) in the processing environment.

It's just a start, there is nothing more to show than this image:
OXS_conf_01.jpg
But, I think it's doable ! (how much time it will take, that is another story :mrgreen: )

Stay tuned ;)

Re: OpenXsensor Configurator

Posted: Thu Jul 17, 2014 4:53 pm
by mstrens
@davx,
let me know when you need some help.

Re: OpenXsensor Configurator

Posted: Thu Jul 17, 2014 5:01 pm
by Tempo
Very good idea ! Keep up the good work !

Re: OpenXsensor Configurator

Posted: Thu Jul 17, 2014 5:08 pm
by davx
mstrens wrote:@davx,
let me know when you need some help.
Ok, thanks.

Re: OpenXsensor Configurator

Posted: Thu Jul 17, 2014 5:40 pm
by jhsa
Im patient. ;) :) thanks..

Re: OpenXsensor Configurator

Posted: Fri Jul 18, 2014 9:22 am
by jhsa
I just saw the picture now as before i was on my phone and it didn't display.. It looks really good..

Thank you.

João

Re: OpenXsensor Configurator

Posted: Fri Jul 18, 2014 4:33 pm
by davx
Hi,

Some progresses...
OXS_conf_02.jpg

Re: OpenXsensor Configurator

Posted: Fri Jul 18, 2014 4:39 pm
by MikeB
Nice! (BTW it's Protocol not Portocol). I'm sure my keyboard (USB) sends keys in the wrong order!

Mike.

Re: OpenXsensor Configurator

Posted: Fri Jul 18, 2014 4:55 pm
by jhsa
Looking great, really. Im not just saying ;)
One thing though. Don't forget we can use the analog ports from the arduino for whatever sensor we might need. Not only those. So, maybe in sensors a field called "other" or something similar.. Just an idea.. we could for example have some feedback from the plane using a pot, optical sensor, etc, to sense a position for example. We could also use switches on the digital pins to sense end points or other positions.

OFF TOPIC - I wonder if the frsky protocol could be extended to add more fields. As long as the radio fw allows for it, it should be possible?

João

Re: OpenXsensor Configurator

Posted: Fri Jul 18, 2014 5:09 pm
by davx
Thanks guys !
MikeB wrote:Nice! (BTW it's Protocol not Portocol)..
Oh yes :mrgreen: I'm sure there will be some more... (and my keyboard is not USB, must be something else)

Will you find the one on the first screen ? ;)

jhsa wrote:Looking great, really. Im not just saying ;)
One thing though. Don't forget we can use the analog ports from the arduino for whatever sensor we might need.
Whatever the thing we connect to an analog port, it is voltage, so when it will be there, the VOLTAGE Tab will let you do what you're talking about.
This first tab is just activating the different processes, it's done this way to facilitate the config file writing later.

Bye

Re: OpenXsensor Configurator

Posted: Sun Jul 20, 2014 5:10 pm
by davx
Hi,

A little update :
OXS_conf_03.jpg
Not much news to see, the majority of work is not visible, but it's progressing nicely ;)

Bye.

Re: OpenXsensor Configurator

Posted: Sun Jul 20, 2014 5:13 pm
by jhsa
Looking very good. Thank you..

João

Re: OpenXsensor Configurator

Posted: Mon Jul 21, 2014 10:25 am
by mstrens
davx wrote:Hi,

A little update :
OXS_conf_03.jpg
Not much news to see, the majority of work is not visible, but it's progressing nicely ;)

Bye.
@davx
It looks like the user could click directly on the button "Write config" whitout filling the tabs.

I think it is better using a process like when you install a program: the user have to go throught several screens before he can finish. At any steps, it is possible to go to previous steps or to continue (if there is no error).
Each time a user select an option, other boxes become available or are greyed.
That was the way I did it in visual basic.
I don't know if you can do something similar.

Re: OpenXsensor Configurator

Posted: Mon Jul 21, 2014 11:00 am
by jhsa
I do like the looks of it..

One thing that I think is necessary is the ability to load existing config files and edit them. it would make it easy to do some small changes without having to configure all fields again..

João

Re: OpenXsensor Configurator

Posted: Mon Jul 21, 2014 11:12 am
by davx
@mstrens,
mstrens wrote:It looks like the user could click directly on the button "Write config" whitout filling the tabs.
This part is not finished but it shouldn't be a problem, if button is clicked too early, just continue with the settings and click again.
I think it is better using a process like when you install a program: the user have to go throught several screens before he can finish.
I beg to differ on this point, if a user wants to use OXS only for, e.g. , voltage, I think he should not have to go through all the pages he doesn't need.
Each time a user select an option, other boxes become available or are greyed.
Yes, but there's nothing to greyed on the "General settings" Tab.

It's still a work in progress, nothing is really fixed. I will consider your remarks.

Bye.

Re: OpenXsensor Configurator

Posted: Mon Jul 21, 2014 11:17 am
by davx
jhsa wrote:One thing that I think is necessary is the ability to load existing config files and edit them. it would make it easy to do some small changes without having to configure all fields again..
Maybe not for the first release, but obviously, this is planned ;)

Re: OpenXsensor Configurator

Posted: Mon Jul 21, 2014 11:32 am
by jhsa
davx wrote: I beg to differ on this point, if a user wants to use OXS only for, e.g. , voltage, I think he should not have to go through all the pages he doesn't need.
I agree. we probably end up checking all the other stuff anyway, but we will do it following our own logic.

But either method would work fine :)

João

Re: OpenXsensor Configurator

Posted: Tue Jul 22, 2014 4:39 pm
by davx
Hi,

A little screen with a new tab and some grayed elements:
OXS_conf_04.jpg
Bye

Re: OpenXsensor Configurator

Posted: Tue Jul 22, 2014 4:59 pm
by jhsa
Looking very good :)

João

Re: OpenXsensor Configurator

Posted: Thu Jul 24, 2014 5:07 pm
by davx
Hi,

Another one:
OXS_conf_05.jpg
I can almost see the end of the tunnel ;)

Bye.

Re: OpenXsensor Configurator

Posted: Thu Jul 24, 2014 5:12 pm
by jhsa
wow.. :D

João

Re: OpenXsensor Configurator

Posted: Sat Jul 26, 2014 11:34 am
by davx
Hi,

One more:
OXS_conf_06.jpg
Maybe a beta soon... ;)

Re: OpenXsensor Configurator

Posted: Sat Jul 26, 2014 12:38 pm
by jhsa
I prefer the mV/A as you have in there than the step thing that is currently used.. just can get my sensor right :( Before it was quite easy. And the offset should also be in mV
Now that I know how to fix the code so I don't have false alarms, I'm very tempted to go back to the old version and just fix it..
Just my 2c

João

EDIT: and by the way, it's looking great as are all the other screens. Thank you..

Re: OpenXsensor Configurator

Posted: Sun Jul 27, 2014 9:16 pm
by davx
jhsa wrote:I prefer the mV/A as you have in there than the step thing that is currently used.. just can get my sensor right :( Before it was quite easy. And the offset should also be in mV
That's the aim of the configurator, simplify the OXS settings, the calculations are done under the hood ;)

Re: OpenXsensor Configurator

Posted: Sun Jul 27, 2014 9:27 pm
by davx
Hi,

Let me just say that it's not finished, you can play with every tabs, buttons...any controllers but please don't press "Write Config"...

Yes, you'll find a pre beta below ;)
It's win32 for now, if anyone wants another version, just ask !

The install is pretty complicated: unrar where you want and double click "OXS_Configurator.exe" 8-)

Have fun !

Re: OpenXsensor Configurator

Posted: Mon Jul 28, 2014 7:16 pm
by mstrens
davx wrote:Hi,

Let me just say that it's not finished, you can play with every tabs, buttons...any controllers but please don't press "Write Config"...

Yes, you'll find a pre beta below ;)
It's win32 for now, if anyone wants another version, just ask !

The install is pretty complicated: unrar where you want and double click "OXS_Configurator.exe" 8-)

Have fun !
I have window7 64.
I presume I need another version.
If you provide it, I will give some feedback.

Re: OpenXsensor Configurator

Posted: Mon Jul 28, 2014 7:39 pm
by KAL
@mstrens: works great on my win7 (64) machine.

@davx: splendid work, monsieur. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - btw: I couldn't resist :lol:

Klaus

Re: OpenXsensor Configurator

Posted: Mon Jul 28, 2014 8:44 pm
by Tempo
I couldn´t resist too :mrgreen:

Re: OpenXsensor Configurator

Posted: Mon Jul 28, 2014 10:49 pm
by jhsa
I take my hat to you.. what a splendid job in there :shock: :D I do like the way you have chosen to select the options.. Very good indeed.
I know it is not finished, not even close, but in case you missed it, we shouldn't be able to select the same pins for different sensors.. At the moment is possible for example to select A0 for current and voltage.. I'm not criticizing, just trying to help in case you missed something ;)

Also, in the "send data" menu, when we have only one voltage sensor and want to send only the total voltage what field should we use? I don't see the one we use at the moment in the config.h. Or did I miss it?
This is really a great app, thank you..

By the way,can you tell I also couldn't resist?? :mrgreen:
And I have win7 64 too
João

Re: OpenXsensor Configurator

Posted: Tue Jul 29, 2014 6:51 am
by davx
Hi,

Thanks everyone !

@mstrens,

Yes, it should work on every win flavor, tested on XP, 7 64b and 8.1 64b.

And I should have said that you need java installed.
jhsa wrote:I know it is not finished, not even close
Hum...in fact, it's not so far from first release.
we shouldn't be able to select the same pins for different sensors..
That's a behavior I've already discussed with mstrens and for the moment, we can choose what we want in the pins drop down list. The validation process is done when writing the config file, which the beta can't do now.
in the "send data" menu, when we have only one voltage sensor and want to send only the total voltage what field should we use? I don't see the one we use at the moment in the config.h. Or did I miss it?
Perhaps it was too late for you ;) but you should choose your volt in the first list and "VFAS_NEW" in the second with HUB protocol or "VFAS 1st" with Smart Port, same as in the config file itself.