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
Video Team  
#1 Posted : Saturday, January 13, 2024 5:00:15 AM(UTC)
Video Team

Rank: Newbie

Groups: Registered
Joined: 2/8/2022(UTC)
Posts: 1
United States
Location: Raleigh, NC

Thanks: 1 times
I have searched but I cannot find the XAML string that will allow my timer to run to a day and time. I'm trying to get it to countdown to our Sunday worship start time and then reset to the next Sunday.
doggy  
#2 Posted : Saturday, January 13, 2024 5:20:11 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 294 times
Was thanked: 961 time(s) in 795 post(s)
Originally Posted by: Video Team Go to Quoted Post
I have searched but I cannot find the XAML string that will allow my timer to run to a day and time.


What is an XAML String ?

Quote:
I'm trying to get it to countdown to our Sunday worship start time and then reset to the next Sunday.


very recent posts to get started ?:

https://forums.vmix.com/...clock-more-than-24-hours
doggy  
#3 Posted : Saturday, January 13, 2024 6:45:42 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 294 times
Was thanked: 961 time(s) in 795 post(s)
Originally Posted by: Video Team Go to Quoted Post
I have searched but I cannot find the XAML string that will allow my timer to run to a day and time. I'm trying to get it to countdown to our Sunday worship start time and then reset to the next Sunday.


A PM stating "I've already looked through those. It doesn't help me." refering to the link posted showing an examples script for a countdown more than 24 hrs is not very helpful to give additional help.

the vMix intrnal countdown is limited hence refering to a script. now a script has to be tailored to your specific needs. The script does eactly what you asked initially "timer to run to a day and time"

in essence when the countdown finishes one has to add the amount of days to your initial countdown data/time to start over the countdown for your second request

You dont mention if your system is running 24hrs or not . This is important as a script does not continue running when vMix is clossed as such one needs to take this into account
here is an example of adding days for the next worship days and time:
Code:
Dim enddate As DateTime = DateTime.Parse("2024-1-13 09:40:00")

Do while true
console.writeline(enddate.tostring("ddd-dd-MM-yyyy"))
sleep(1000)
enddate=enddate.AddDays(7)
loop
Users browsing this topic
Guest
Similar Topics
LOOPING COUNTDOWN TIMERS (General Discussion)
by Apmoir 7/28/2020 10:49:53 PM(UTC)
Countdown Timers and Data Sources (General Discussion)
by zd20 7/5/2020 7:53:54 AM(UTC)
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.