KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions Dashboards Streaming (For Dummies) Re: Dashboards Streaming (For Dummies)

  • Laura

    Administrator
    March 31, 2023 at 12:00 am

    Hey Roc,

    Thanks. Don’t think the Platform stuff is going to fit the bill given I already have a backend with the TP stuff going on.

    I’ve been working off the UI options, since Im using Dashboards, and have managed to get data streaming in but it appears to stop after 20-30 seconds.

     

    Do I need to add anything to the TP sym.q file?

    Once I’ve added the:

    .u.snap:{tablename}

    .ringBuffer.read:{[t;i] $[i<=count t; i#t;i rotate t]};
    .ringBuffer.write:{[t;r;i] @[t;(i mod count value t)+til 1;:;r];};
    .stream.i:0-1;
    .stream.tablename:20000#tablename;

    Is there any other requisite to stream data into Dashboards?