DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

BusLogToTDM script outputs all channels in 123(numeric)

Solved!
Go to solution

Hello,

 

I have recently wrote a series of scripts to automate the bus log converter process for converting various CAN logs into TDM to view in diadem. The problem I am running in to is that when i convert a file through my scripts, all of the channels show as 123. If i go to the navigator, open bus log converter(this is now configured by the settings in my script), hit convert, now all of the channels show as XY.

 

I want the channels to be XY because this way when we drag a parameter out onto a View plot, it automatically plots the correct x-time against the Y we pulled out. It does not do this when the data is in 123 format.

 

I cant for the life of me figure this out in the help manual. There must be an additional line of code that is needed to output the channels as XY. Any ideas?

 

FYI I am using Diadem 2021 SP1

 

-Lou

0 Kudos
Message 1 of 2
(1,136 Views)
Solution
Accepted by topic author LK_13

I have figured this out, the issue was with how the script was loading the data. I needed to call out:

Call DataFileLoad(sLogFileOutput & ".tdm", "TDM","Load|ChnXYRelation")

 

0 Kudos
Message 2 of 2
(1,121 Views)