Graphics

 View Only
  • 1.  Paging Like Data Shift to next Table

    Posted 10-21-2024 06:40

    HI,

    Looking for some sort of example where we can learn to shift to the next table from Excel or XML of Datalinq.

    For: if we put script action on the timeline when it hits it gets data from the next table a so-on with loop. there is an example like <n+1> incremental but I am looking at this thing in some sort of scripting to increment dataling. xml, excel, jason, csv...??

    >Text Line 1

    >Text Line 2

    >Text Line 3

    .

    .

    .

    .

    so on...

    looking for the script command line. thanks in advance..



    ------------------------------
    [Wajahat] [Ali]
    [Team Lead] [RTG Designer]
    [Hum News][Karachi/Islamabad] [Pakistan]
    ------------------------------


  • 2.  RE: Paging Like Data Shift to next Table

    Posted 10-21-2024 08:24

    I would use a widget. 

    dim Counter as xpCounterWidget

     

    scene.Project.GetObjectByName("Counter Name", Counter)

     

    Counter.Value = Counter.Value + 1

    Then use a macro to get the widget from a text object into your datalinq query. 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Paging Like Data Shift to next Table

    Posted 10-21-2024 10:00

    Ok, now i have achieved the thing as described.

    in next now I have faced another issue is that. the data updated shows the counter widget in the preview and engine except for the Datalinq on the engine. how it can be solved and how to get looped and match when the last table reached. and starts from 1.

    and what cmd line will work to reset the counter when the scene gets offlined. which helps to start from the beginning.



    ------------------------------
    [Wajahat] [Ali]
    [Team Lead] [RTG Designer]
    [Hum News][Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 4.  RE: Paging Like Data Shift to next Table

    Posted 10-21-2024 10:37

    dim Counter as xpCounterWidget

     

    self.Project.GetObjectByName("Counter Name", Counter)

     

    Counter.Value = 0


    or 1 or whatever your first value is, put that on the OnOnline. 
    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 5.  RE: Paging Like Data Shift to next Table

    Posted 10-21-2024 11:29
    What will be engine updTe issue. I am unable to get datalinq update while i played through timeline. Its showing both counter and text updTe in preview. Except on framebuffer except counter.

    Sent from my iPhone




  • 6.  RE: Paging Like Data Shift to next Table

    Posted 10-21-2024 11:48

    live update and requery on the text objects with datalinq? 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 7.  RE: Paging Like Data Shift to next Table

    Posted 10-22-2024 05:43

    Thanks, Red. It's working now. Lastly, I am looking to match the case. For example, when the last table of Excel reaches the end, it matches the counter widget and starts from table 1.



    ------------------------------
    [Wajahat] [Ali]
    [Team Lead] [RTG Designer]
    [Hum News][Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 8.  RE: Paging Like Data Shift to next Table

    Posted 10-22-2024 05:51

    dim Total as xpTextObject

    dim Counter as xpCounterWidget

     

    scene.GetObjectByName("Total", Total)

     

     

    If Counter.Value < Cing(Total.text) then

        Counter.Value = Counter.Value + 1

    else

        Counter.Value = 1

    End if



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 9.  RE: Paging Like Data Shift to next Table

    Posted 10-22-2024 07:05

    Thnaks. that works. rest is now up to the designer and loop things... You are the Man.....



    ------------------------------
    [Wajahat] [Ali]
    [Team Lead] [RTG Designer]
    [Hum News][Karachi/Islamabad] [Pakistan]
    ------------------------------



  • 10.  RE: Paging Like Data Shift to next Table

    Posted 10-22-2024 07:16

    No problem :)



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------