Logo-amall

Create a timeline based on some datas

Last active a year ago

6 replies

9 views

  • NI

    The goal here is to create a timeline with messages informations on message time slots.
    Here is an example of data :
    {'t':6.326131,'d':1,'s':9}0xF0FF03000600003C0F
    {'t':6.326269,'d':1,'s':9}0xF0FF03000600003C0F
    {'t':6.326823,'d':1,'s':11}0x00001100010200000297E7
    {'t':6.326943,'d':2,'s':1}0x0F
    {'t':6.327529,'d':1,'s':11}0x00001100010200000390E7
    {'t':6.327649,'d':2,'s':}0x0F
    {'t':6.328815,'d':1,'s':9}0x100011001E0000B03F
    {'t':6.328918,'d':2,'s':1}0x0F
    {'t':6.329184,'d':1,'s':51}0x100011001F2A000225002D0015573447303338200200FFFF00000000010100006761746500000000000000000000000000A389
    {'t':6.329707,'d':2,'s':1}0x0F
    {'t':6.329778,'d':1,'s':9}0x200011001E0000800C
    {'t':6.329876,'d':2,'s':1}0x0F
    {'t':6.330169,'d':1,'s':72}0x100021001F3F0002FFFFFFFFFFFFFFFFFFFFFFFFFFFF01000000000001020004627574746F6E5F6D6F640000000000006A0103000462757A7A65725F6D6F64000000000000002E1E
    {'t':6.330894,'d':2,'s':1}0x0F
    {'t':6.331027,'d':1,'s':114}0x200011001F69000225002D0015573447303338200200FFFF0000000001010000676174650000000000000000000000000002FFFFFFFFFFFFFFFFFFFFFFFFFFFF01000000000001020004627574746F6E5F6D6F640000000000006A0103000462757A7A65725F6D6F640000000000000095B4
    {'t':6.332173,'d':2,'s':1}0x0F
    {'t':6.339579,'d':1,'s':9}0x20001000210000D80F
    {'t':6.339707,'d':1,'s':10}0x1000200025010001976C
    {'t':6.339836,'d':1,'s':9}0x30001000210000C81E
    {'t':6.341254,'d':1,'s':9}0x20001000210000D80F
    {'t':6.341382,'d':3,'s':}0x1080
    {'t':6.341432,'d':1,'s':9}0x30001000210000C81E
    {'t':6.341549,'d':1,'s':10}0x1000200025010001976C
    {'t':6.343250,'d':1,'s':9}0x20001000210000D80F
    {'t':6.343378,'d':3,'s':}0x10E0
    {'t':6.343428,'d':1,'s':9}0x30001000210000C81E
    {'t':6.343546,'d':1,'s':10}0x1000200025010001976C
    {'t':6.345247,'d':1,'s':9}0x20001000210000D80F
    {'t':6.345376,'d':3,'s':3}0x10C0F8
    {'t':6.345436,'d':1,'s':9}0x30001000210000C81E
    {'t':6.345553,'d':1,'s':10}0x1000200025010001976C
    {'t':6.347244,'d':1,'s':9}0x20001000210000D80F
    {'t':6.347371,'d':1,'s':10}0x1000200025010001976C
    {'t':6.347500,'d':1,'s':9}0x30001000210000C81E
    {'t':6.349241,'d':1,'s':9}0x20001000210000D80F
    {'t':6.349369,'d':3,'s':2}0x1080
    {'t':6.349419,'d':1,'s':9}0x30001000210000C81E
    {'t':6.349536,'d':1,'s':10}0x1000200025010001976C
    {'t':6.351237,'d':1,'s':9}0x20001000210000D80F
    {'t':6.351366,'d':3,'s':3}0x10C0FC
    {'t':6.351426,'d':1,'s':9}0x30001000210000C81E
    {'t':6.351543,'d':1,'s':10}0x1000200025010001976C
    {'t':6.353234,'d':1,'s':9}0x20001000210000D80F
    {'t':6.353363,'d':3,'s':3}0x10C0F8
    {'t':6.353423,'d':1,'s':9}0x30001000210000C81E
    {'t':6.353540,'d':1,'s':10}0x1000200025010001976C
    {'t':6.355231,'d':1,'s':9}0x20001000210000D80F
    {'t':6.355359,'d':3,'s':2}0x10E0
    {'t':6.355409,'d':1,'s':9}0x30001000210000C81E
    {'t':6.355526,'d':1,'s':10}0x1000200025010001976C
    {'t':6.357228,'d':1,'s':9}0x20001000210000D80F
    {'t':6.357355,'d':1,'s':10}0x1000200025010001976C
    {'t':6.357484,'d':1,'s':9}0x30001000210000C81E

    t => timestamp (s with us resolution)
    d => frame type

    1->msg (msgt) 2->ack (statust)
    3->collision

    s => datasize (bytes number)

  • NA

    First timeline version: https://luos.devcraft.fr/
    You can:

    Move in past / future (click and hold graph to the left or right)
    Zoom in / zoom out (use mouse wheel)
    Display message detail (mouseover messge block to display tooltip)

    Next step:

    Replace static data by auto generated data
    Add start/pause/stop control to generate data
    Add scroll on vertical axis (in case of many lines)
    Add summary (ex: http://bl.ocks.org/cse4qf/95c335c73af588ce48646ac5125416c6)
    Decode data

    Don't hesitate if you have remarks.

  • NI

    This is really cool !
    For data duration estimation we can do some math to find the real duration per octet :
    (8bits + 1 start bit) * 1 / Baudrate
    (8+1 )*1 / 1000000 = 0.000009 => 9us
    Add start/pause/stop control to generate data => here those button control the recording of a sequence ?
    How do you sort message in lines ?

  • NA

    I'm not so bad, I took 10µs per octet 😄

    Add start/pause/stop control to generate data => here those button control the recording of a sequence ?

    Yes. But without physical board, this part is unclear. To have all message types, could you please send me an exemple of "collision message" ?

    How do you sort message in lines ?

    It's a fake repartition. Every 4 messages, we jump to the next line. After the 4th line, we go back to the 1st. I imagine that I could retrive module sender and/or module receiver in decrypted message, and group message by sender or receiver (user should be able to switch between this two views)

  • NI

    There is some collision example in datas I previously give to you :
    {'t':6.355359,'d':3,'s':2}0x10E0

  • JE

    This protocol is outdated and will be managed on the monitoring system

Last active a year ago

6 replies

9 views