vMix Forums
»
General
»
General Discussion
»
Conditional Statements with Data sources
Rank: Member
Groups: Registered
Joined: 5/9/2017(UTC) Posts: 11 Location: Maryland
Thanks: 1 times Was thanked: 6 time(s) in 2 post(s)
|
Are we able to use conditional statements with data sources?
For example, if I have a data source that will output either "0.5", "1", or "2", can I use IF statements so that vMix replaces it with a different Unicode symbol for each one?
So something like: "if {0} = 0.5 then output "◯", or if {0} = 1 then output "●", or if {0} = 2 then output "◎", else output {0}"
If not, then Feature Request?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/20/2014(UTC) Posts: 2,721 Location: Bordeaux, France Thanks: 243 times Was thanked: 794 time(s) in 589 post(s)
|
Hi
I believe it's possible to do this using Blend.
Another solution I use is to do the case analysis and substitutions in a script on a web server that will regenerate a new datasource ready to use.
Guillaume
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 7/1/2015(UTC) Posts: 1,151 Location: Houston TX Thanks: 319 times Was thanked: 263 time(s) in 233 post(s)
|
If you look at broadcast graphics systems, where I spent 20 years of my life, you'll find that there usually a point where the data collection & manipulation is taken away from the display platform.
The display platform (vMix) needs to be robust, and all the data handling can get complicated. It often makes more sense to pre-process the info to be displayed elsewhere, keeping the actual point of display as simple as possible.
It's a long winded way of saying that vMix is great but part of what makes it great is that it doesn't try to be all things to all people.
|
1 user thanked mjgraves for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,223 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
mjgraves wrote:It often makes more sense to pre-process the info to be displayed elsewhere, keeping the actual point of display as simple as possible. agree (dealing with calculated scores an ranking results)
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Conditional Statements with Data sources
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