I now have a script and timeline, which keeps running in a loop, until all the values have been taken. However, there is also a code for closing the current scene, so that it continues to the next scene in the carousel. Or is there something to start the next scene right away?
Original Message:
Sent: 01-10-2024 08:45
From: Harm Dijkman
Subject: Carousel with single scene, but mulyiple datalinq results
Found it! Useful!
An error came up for me, but it has nothing to do with the script I'm stuck on. I'm going to do some more research.
------------------------------
Harm Dijkman
RTV OOST
Original Message:
Sent: 01-10-2024 08:07
From: Simon Redmile
Subject: Carousel with single scene, but mulyiple datalinq results
This one that will tell you errors with your script, it's pretty much impossible to script correctly without it.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 01-10-2024 07:50
From: Harm Dijkman
Subject: Carousel with single scene, but mulyiple datalinq results
i'm only using the live log. Is this what you meant?
------------------------------
Harm Dijkman
RTV OOST
Original Message:
Sent: 01-10-2024 07:46
From: Simon Redmile
Subject: Carousel with single scene, but mulyiple datalinq results
Are you using the debug monitor?
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 01-10-2024 07:44
From: Harm Dijkman
Subject: Carousel with single scene, but mulyiple datalinq results
I have a scene with a timeline in which the first part is general information. This is transferred to the first block of information, after which the counter is added up at the end and it is checked whether the next value exists. If it can be extracted from datalinq then it goes back to frame 30 with the new values.the only thing I can't check is the value of my 'Keys'. Maybe that counter doesn't work.
So maybe the question is more: how do I check this counter during online? And do you see any other rarities
hereby my file for more information
https://we.tl/t-Sqkw9p4Jcb?
------------------------------
Harm Dijkman
RTV OOST
Original Message:
Sent: 01-10-2024 06:08
From: Simon Redmile
Subject: Carousel with single scene, but mulyiple datalinq results
do you have all the required objects for this script to work?
Do you use debug monitor?
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 01-10-2024 05:39
From: Harm Dijkman
Subject: Carousel with single scene, but mulyiple datalinq results
I found out that you can place a script within 1 scene (on a timeline) where you can have a relID check if there are multiple results that can be displayed. You can then call it up by restarting the timeline and increasing the relid by 1 and refreshing the values of the datalinq, but with the code below nothing happens to me. And I think it's true. Am I missing something?
//Row is the actual number, checkrow is row incremented with one, to check is this value excist.
dim keys as xpDatalinqKeys
dim key, checkey as xpDatalinqKey
dim checknext as xpTextObject
dim Controle as xpTextObject
dim curTakeItem, nextTakeItem as xpTakeItem
dim seqGrp as xpTakeItemGroup
Dim outFB as xpoutputframebuffer
Dim text2 as xpTextObject
Engine.getoutputframebuffer(0, outFB)
outFB.GetTakeItemOnLayer(0,curTakeItem)
curTakeItem.GetGroup(seqGrp)
Scene.GetDatalinqKeys(keys)
//counter
keys.GetKeyByName("ROW", key)
keys.GetKeyByName("CHECKROW", checkey)
//values from datalinq
Scene.GetObjectByName("MESSAGE",Controle)
Scene.GetObjectByName("CHECK",checknext)
//Checks next row.
if not checknext.Text = Controle.Text then
seqGrp.Pause
key.AsString = (CINT(key.asString) + 1)
checkey.AsString = (CINT(checkey.asString) + 1)
scene.RefreshDatalinqs
engine.DebugMessage("increment",0)
else
seqGrp.Resume
scene.SceneDirector.stop
end if
------------------------------
Harm Dijkman
RTV OOST
Original Message:
Sent: 01-10-2024 04:52
From: Harm Dijkman
Subject: Carousel with single scene, but mulyiple datalinq results
I want to make a slide show with x-number of slides. These pages are generated via datalinq, but the number is variable (when live it can change). Sometimes there are 3, sometimes thirty. If you put a number of scenes together in the sequence, the total number is not known at that moment. AND also during the live being the number can decrease/increase.
With a crawl you can perfectly overcome this with <n+1>, but how do you format this if you don't make a crawl?
------------------------------
Harm Dijkman
RTV OOST
------------------------------