Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help #1

Open
brojob48 opened this issue Sep 9, 2023 · 33 comments
Open

Help #1

brojob48 opened this issue Sep 9, 2023 · 33 comments

Comments

@brojob48
Copy link

brojob48 commented Sep 9, 2023

Hey i love what you did with this code, i wanted to understand how to insert new variables to be converted.

At the moment im only getting the following variables

image
image

I wanted to get GPS speed, LongAcc and LatAcc etc.

At the moment im not getting any GPS channels

Another thing, I wanted to compare data from Mychron/ Alfano and Unipro which are 3 different dashes.

Do you know how i can use your code to do that for different dashes.

@ludovicb1239
Copy link
Owner

ludovicb1239 commented Sep 9, 2023 via email

@brojob48
Copy link
Author

brojob48 commented Sep 9, 2023

Ah sorry to take your time !

Nice, im gonna take a look, im sure the GPS_Speed channel was listed as a math channel in Motec and i couldnt see any values on it... Is there anywhere in the code i can change the name?

I know aim changes some of their channels depending on the Mychron version, that might be the reason.

@ludovicb1239
Copy link
Owner

ludovicb1239 commented Sep 9, 2023 via email

@ludovicb1239
Copy link
Owner

Ive changed code so that theres .txt file that contains the names to be converted. No need for recompile

@mitchdetailed
Copy link

Ah sorry to take your time !

Nice, im gonna take a look, im sure the GPS_Speed channel was listed as a math channel in Motec and i couldnt see any values on it... Is there anywhere in the code i can change the name?

I know aim changes some of their channels depending on the Mychron version, that might be the reason.

channel alias and channel mappings are the way to unify channel names across multiple log files in i2

@brojob48
Copy link
Author

brojob48 commented Sep 12, 2023 via email

@brojob48
Copy link
Author

Ah sorry to take your time !

Nice, im gonna take a look, im sure the GPS_Speed channel was listed as a math channel in Motec and i couldnt see any values on it... Is there anywhere in the code i can change the name?

I know aim changes some of their channels depending on the Mychron version, that might be the reason.

channel alias and channel mappings are the way to unify channel names across multiple log files in i2

Where exactly is that? I'm not really a programmer, I'm a engineer that is trying to get something done hahahahah

@ludovicb1239
Copy link
Owner

Yeah thats exactly why I changed it so that theres no code changes to make. Theres an .txt containing the name conversion next to the .exe app. Hope it helps

@mitchdetailed
Copy link

mitchdetailed commented Sep 12, 2023 via email

@brojob48
Copy link
Author

I was now able to convert all my channels to Motec, it was very good! Thank You!

But when i plot all the data i still cant used the GPS data basically... Do you think it is possible to get the distance X axis with a time compare from the converted data instead of only the time based graph?

@ludovicb1239
Copy link
Owner

I can't tell you what it really is; I can only tell you what it feels like.
I dont know if that's possible, wether if it's in i2 or in the conversion

@mitchdetailed
Copy link

mitchdetailed commented Sep 14, 2023 via email

@brojob48
Copy link
Author

you'll need to set calculated speed and distance up correctly.

On Thu, Sep 14, 2023, 6:00 AM brojob48 @.> wrote: I was now able to convert all my channels to Motec, it was very good! Thank You! But when i plot all the data i still cant used the GPS data basically... Do you think it is possible to get the distance X axis with a time compare from the converted data instead of only the time based graph? — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI62NLWORZBOE7MDQKD5VYLX2LPWTANCNFSM6AAAAAA4RTLXYM . You are receiving this because you commented.Message ID: @.>

But how am i supposed to do that? In the conversion or inside I2?

@claykos
Copy link

claykos commented Mar 2, 2024

This tool is amazing! I am having one issue where when I generate a track map in i2 from the data, I cannot generate sections. The map generates correctly using either GPS data or speed/accel but the "generate sections" button is greyed out. I'm guessing there is some data missing to enable this due to channel mappings, but haven't been able to figure it out. Any ideas? Thanks!!

@claykos
Copy link

claykos commented Mar 2, 2024

This tool is amazing! I am having one issue where when I generate a track map in i2 from the data, I cannot generate sections. The map generates correctly using either GPS data or speed/accel but the "generate sections" button is greyed out. I'm guessing there is some data missing to enable this due to channel mappings, but haven't been able to figure it out. Any ideas? Thanks!!

I was able to solve it! For anyone else - using the "channel mappings" to get the default motec channel names is the key. I had been using math channels to convert, but need to be "channel mapping"

@ludovicb1239
Copy link
Owner

ludovicb1239 commented Mar 2, 2024 via email

@mitchdetailed
Copy link

mitchdetailed commented Mar 2, 2024 via email

@ludovicb1239
Copy link
Owner

Nope, I am not part of any team or anything. Just a young programmer who got tasked to make a converter app !

@claykos
Copy link

claykos commented Mar 2, 2024

Thanks so much! Man solved his issue in 20 mins thats impressive! 😂 Because I have no experience in both software, I don't know much of the features. I was tasked to make the data conversion, so I can't help much with channel mapping. Glad to hear that you found a solution!

On Sat, Mar 2, 2024, 08:18 claykos @.> wrote: This tool is amazing! I am having one issue where when I generate a track map in i2 from the data, I cannot generate sections. The map generates correctly using either GPS data or speed/accel but the "generate sections" button is greyed out. I'm guessing there is some data missing to enable this due to channel mappings, but haven't been able to figure it out. Any ideas? Thanks!! I was able to solve it! For anyone else - using the "channel mappings" to get the default motec channel names is the key. I had been using math channels to convert, but need to be "channel mapping" — Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOJLFXWSC5EXYRQUKUCFPHLYWF4OBAVCNFSM6AAAAAA4RTLXYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZUGYZDANBQGQ . You are receiving this because you commented.Message ID: @.>

Lol - I was messing with it for at least 3 hours before posting here. Just needed that last 20 mins after I asked! The issue was because the channel units of measure (eg mph, G, G, ...) do not seem to come across in the translation. Without that Metadata i2 doesn't seem to "understand." Using the channel mappings in i2 I can define a new name and add default units. That resolved it.

@mitchdetailed
Copy link

mitchdetailed commented Mar 2, 2024 via email

@ludovicb1239
Copy link
Owner

nice

@claykos
Copy link

claykos commented Mar 2, 2024

Yes! Pretty familiar with i2 but never had to deal with channel mappings as the data was coming off motec devices so units/names were as expected. At first was creating math channels to resolve the missing units and that mostly worked, and got me to a track map and plots that worked but something in the background wasn't quite right....

@Valkin22
Copy link

Had the same issue and was able to fix the channels through channel mapping.

But I am now facing an issue when putting GPS speed onto a rainbow track, it just disappears. That also goes for every other channel. The channel outings for GPS Speed work properly though.

@unrivaledrides
Copy link

Love this convertor. I'm wondering if it's possible to convert to Standard log files (rather than Pro log files). I see a comment or two in the source code, but I'm wondering if more information is available?
eg:
// ProLogging related ?
writer.Write((uint)0xD20822); //0x824404

@mitchdetailed
Copy link

mitchdetailed commented Jun 14, 2024 via email

@unrivaledrides
Copy link

What I'd really like to understand is the difference between Std and Pro files so that I could convert std files to pro.

@mitchdetailed
Copy link

mitchdetailed commented Jun 14, 2024 via email

@unrivaledrides
Copy link

Understand. Many thanks.

@ludovicb1239
Copy link
Owner

Yea play around with this line, i think putting anything will make the file strd but I aint so sure.

@ludovicb1239
Copy link
Owner

Fol legal reasons I don't give a fuck 👍

@unrivaledrides
Copy link

Yea play around with this line, i think putting anything will make the file strd but I aint so sure.

Sure does, but adding it to a std file doesn't make it pro. I'm licensed to view std files in i2pro, but the notion caught my curiosity.

@ludovicb1239
Copy link
Owner

If I remember correctly, there's a few things that need to be right for a file to be pro

@unrivaledrides
Copy link

One other comment: I need to change the logging device type from ADL to M1 to be able to use a lot of my workbooks. There are some differences there. Perhaps a menu option would be useful, though if I remember right, Circuit workbooks are the most flexible so ADL is usually better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants