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
hive8  
#1 Posted : Friday, March 5, 2021 5:25:09 PM(UTC)
hive8

Rank: Member

Groups: Registered
Joined: 11/14/2012(UTC)
Posts: 10
Location: Los Angeles

I have the following Title designed.

A text box with a number and a text box with a icon looking like a heart.

Can I animate the visibility of the text field via script based on a data source?

doggy  
#2 Posted : Friday, March 5, 2021 6:11:43 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,358
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
why script , use the data source : one row blank , next row your data and loop
hive8  
#3 Posted : Friday, March 5, 2021 6:22:44 PM(UTC)
hive8

Rank: Member

Groups: Registered
Joined: 11/14/2012(UTC)
Posts: 10
Location: Los Angeles

Made a CSV file with 2 rows. Where can i loop the data source?

Found the settings the lowest value i can add is 1 sec

The visibility should correspond with the heartrate number so thats a no go.

Problem is i need to update this value dynamically based on the value of the heart rate.
doggy  
#4 Posted : Friday, March 5, 2021 7:03:42 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,358
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
Originally Posted by: hive8 Go to Quoted Post
Made a CSV file with 2 rows. Where can i loop the data source?

Found the settings the lowest value i can add is 1 sec

The visibility should correspond with the heartrate number so thats a no go.

Problem is i need to update this value dynamically based on the value of the heart rate.


Now we are getting more details in what you want to achieve ;-)

While matching the value might be not exact a script is indeed the way to go

have loop in a script turning the displaying on/off (SetTextVisible) with a pause in between with delay based on the data



hive8  
#5 Posted : Tuesday, March 9, 2021 1:49:39 PM(UTC)
hive8

Rank: Member

Groups: Registered
Joined: 11/14/2012(UTC)
Posts: 10
Location: Los Angeles

Could you provide a little example. Just trying to wrap my head around it.
doggy  
#6 Posted : Tuesday, March 9, 2021 7:02:51 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,358
Belgium
Location: Belgium

Thanks: 191 times
Was thanked: 608 time(s) in 501 post(s)
Originally Posted by: hive8 Go to Quoted Post
Could you provide a little example. Just trying to wrap my head around it.


You mean give you the script ?

in a continuous loop read the heartbeat value from the title (*)
convert it to a numeric value

do a little test to check if between a range and if value has changed (matter of a bit more efficientand cleaner display later)

to make it look like a beat show the text or any other title element to depict the beating by turning its visibility on

Pause for a short bit

Hide the element

Pause for the heartbeat duration minus the previous pause (looks better then twice half the beat duration)

repeat

(*) check the "scripting for dummies" post in this forum
Check the helpfiles for the visibility functions (shortcut list)

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.