logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
kevev  
#1 Posted : Thursday, November 28, 2019 12:55:07 PM(UTC)
kevev

Rank: Advanced Member

Groups: Registered
Joined: 1/14/2018(UTC)
Posts: 153
Location: Texas

Thanks: 6 times
Was thanked: 9 time(s) in 5 post(s)
We are pulling live clock data from a Daktronics scoreboard controller. The output is CSV.

Is there a way to have our data source set the color for the play clock numbers to red when the number is 5 seconds or less?

Thanks in Advance!
doggy  
#2 Posted : Thursday, November 28, 2019 2:42:58 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
With a bit of scripting it can

Read clock value from title and check , change color of text display accordingly
Slaver  
#3 Posted : Thursday, November 28, 2019 6:45:12 PM(UTC)
Slaver

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2014(UTC)
Posts: 112
Location: Germany

Thanks: 27 times
Was thanked: 8 time(s) in 8 post(s)
Sounds like Basketball. Also interesting in a solution for it.
doggy  
#4 Posted : Thursday, November 28, 2019 8:36:43 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
@Slaver As Mentioned with scripting

Get value from title (Input.Find("title").Text("Something.Text") )

do some compare beetween value and your cutoff set

Set the textcolour API.Function("SetTextColour",Input:="title",SelectedName:="Something.Text",Value:="#00FF00" ) or #FF0000
kevev  
#5 Posted : Friday, November 29, 2019 3:17:13 AM(UTC)
kevev

Rank: Advanced Member

Groups: Registered
Joined: 1/14/2018(UTC)
Posts: 153
Location: Texas

Thanks: 6 times
Was thanked: 9 time(s) in 5 post(s)
Confusing lol! Not sure where the script would go, or how to run it. Doggy would you be willing to share an example for my situation?
doggy  
#6 Posted : Friday, November 29, 2019 4:12:17 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,057
Belgium
Location: Belgium

Thanks: 283 times
Was thanked: 916 time(s) in 755 post(s)
Quote:
Not sure where the script would go, or how to run it


They go under Settings-> Scripting and you run them by calling them or initiate them to run continuously ;-)

May I advice you then to first have a look at the help files in particular the Scripting and Automation & Developer Information headings.

Scripting is basically little programs you make that can interact with your vMix setups, call it more elaborate shorcuts.

If you don't know how to program you will need to learn to program (vb.net) or ask someone to do it for you

I assume you are using GT titles so this is how it would work following the previously mentioned logic "Read clock value from title and check , change color of text display accordingly"
The same can be done with xaml title but with some code embedded into the title (in the end more user friendly) but will demand a little more of the above mentioned learning

In order for someone to help with the code you will need to provide some details also :
- what is the name of the title input
- what is the name of the text input field
- how does the format of the clock look like in your data source
- ....
Users browsing this topic
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.