vMix Forums
»
General
»
GT
»
Title Not Fully Animating on Data Change With Scripting
Rank: Member
Groups: Registered
Joined: 8/26/2020(UTC) Posts: 16 Location: Charlotte Thanks: 1 times
|
Hello, I have a title I have made for timing and scoring a race and I have everything built with animations and using a script that doggy helped me with a couple weeks ago. Everything works great on the title except for my timings. I have an Interval bar below my driver names and it animates with the new timing data for each driver as another script pages through the data source rows. The issue comes with the timing data animations. Some of the data does not animate properly when the text field is updated. It seems to randomly animate different text fields, while the others cut. I have a hidden text field that the script then puts into the text field that is displayed. I did run a test to see if this issue is tied to that script and I found that it is the case. Has anyone run into an issue like this before? If so is there any fix? I have included the script and a video of the title w/ the issue below. Thank you and I appreciate any help. Video Link: https://streamable.com/dp8sx0Code:
dim HiddenTextBox As string = ""
do while true
For X As Integer = 1 To 5
HiddenTextBox = Input.Find("ticker_timing.gtzip").Text("TimeHide"+X.tostring+".Text")
if HiddenTextBox = "+1 lap" or HiddenTextBox = ""
Input.Find("ticker_timing.gtzip").Text("Time" + X.tostring + ".Text")= ""
elseif HiddenTextBox = "+2 laps"
Input.Find("ticker_timing.gtzip").Text("Time" + X.tostring + ".Text")= "1 lap"
else
Input.Find("ticker_timing.gtzip").Text("Time" + X.tostring + ".Text")= HiddenTextBox
end if
next
loop
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,243 Location: Belgium Thanks: 294 times Was thanked: 960 time(s) in 794 post(s)
|
Yeah , i noticed similar issues too. It looks like a timing conflict between updating the data combined with OnDataChange animations within a GT title .(animations not fully processed and such) To check try it without onDatachange animations or adding slight delays between the actual individual data updates. Probably due to onchange animations still happening while already dealing with the next item or so.
Has messed but up sweet ideas for me too to the point either things had to update slower and didn't look as good anymore or use no OnChange animations in the title
Other than that , your "idea" looks slick
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 6/16/2020(UTC) Posts: 77 Thanks: 8 times Was thanked: 2 time(s) in 2 post(s)
|
Hi, I can't see what the error is in the video but very apart from that I want to ask you about the code, I see that you give a lot to the process, that full loop is necessary? I think that for resources it will be taking away something from 10 per cent, not this too put it seems to me a sleep with about 100 would be fine, I say I am not the expert on the subject but in my way of coding I try not to give too much work to vmix with the processes, give it a break give it a sleep, or would be wrong ... :( translated from spanish to english by google
|
|
|
|
Rank: Member
Groups: Registered
Joined: 8/26/2020(UTC) Posts: 16 Location: Charlotte Thanks: 1 times
|
Originally Posted by: doggy Yeah , i noticed similar issues too. It looks like a timing conflict between updating the data combined with OnDataChange animations within a GT title .(animations not fully processed and such) To check try it without onDatachange animations or adding slight delays between the actual individual data updates. Probably due to onchange animations still happening while already dealing with the next item or so.
Has messed but up sweet ideas for me too to the point either things had to update slower and didn't look as good anymore or use no OnChange animations in the title
Other than that , your "idea" looks slick Thanks for the feedback! Unfortunately, we weren't able to get it to work correctly even with delays. It looked odd, just like you said. We ended up scrapping the timing idea and are just sticking with the animating top ticker. We're hoping to speak with the software developers for our data so I don't have to run scripts to correct their data errors. Once that happens we'll revisit the timing data.
|
|
|
|
vMix Forums
»
General
»
GT
»
Title Not Fully Animating on Data Change With Scripting
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close