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
kruvek  
#1 Posted : Wednesday, October 25, 2017 3:28:42 PM(UTC)
kruvek

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?
DWAM  
#2 Posted : Wednesday, October 25, 2017 6:42:36 PM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
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
mjgraves  
#3 Posted : Thursday, October 26, 2017 11:02:53 AM(UTC)
mjgraves

Rank: Advanced Member

Groups: Registered
Joined: 7/1/2015(UTC)
Posts: 1,150
Man
United States
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.
thanks 1 user thanked mjgraves for this useful post.
kruvek on 10/26/2017(UTC)
doggy  
#4 Posted : Thursday, October 26, 2017 12:06:58 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 284 times
Was thanked: 920 time(s) in 759 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)
Users browsing this topic
Guest
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.