1 of 3 < >

Viz Libero 6.6 released

Viz Libero 6.6 released, for details see
2 of 3 < >

Viz Story 1.3 Released

Viz Story 1.3 Released.
For more details, check the Product updates section on our website

Documentation bundled with Viz Story 1.3 and release notes are found at Vizrt's ftp server
3 of 3 < >

Posting messages removed from non registered users

Due to the vast amount of spam the last few months we have as of today removed the ability to post messages from users that are not fully registered.

We do apologize if this causes troubles for some of you but access will be give when the registration is fully completed.

Best Regards
The Moderators
See more
See less

DataCountdown plugin help

  • Filter
  • Time
  • Show
Clear All
new posts

  • DataCountdown plugin help

    Hello everyone, I would like to know how to create control texts for target day, target month and target year for a Scene that has a DataCountdown plugin.
    I need to be able to access and change these parameters in Content Pilot.

    I'd appreciate any advice, many thanks!

  • #2
    which viz do you run, 3.x or 2.8?


    • #3
      Hello adishin, I'm running 3.3


      • #4
        Setup some text fields in your template named Days, Months, Years, Hours, Minutes, Seconds and link the text fields to the commands to use when you click a button.

        Sub ClickSetClockCountdown(Days, Months, Years, Hours, Minutes, Seconds)
        buffer_put "-1 RENDERER*TREE*$COUNTDOWN*FUNCTION*DataCountdown*TargetDay SET " & Days
        buffer_put "-1 RENDERER*TREE*$COUNTDOWN*FUNCTION*DataCountdown*TargetMonth SET " & Months
        buffer_put "-1 RENDERER*TREE*$COUNTDOWN*FUNCTION*DataCountdown*TargetYear SET " & Years
        buffer_put "-1 RENDERER*TREE*$COUNTDOWN*FUNCTION*DataCountdown*TargetHour SET " & Hours)
        SCENE*YourPath*TREE*$COUNTDOWN*FUNCTION*DataCountdown*TargetMin SET " & Minutes
        SCENE*YourPath*TREE*$COUNTDOWN*FUNCTION*DataCountdown*TargetSec SET " & Seconds
        End Sub

        Something like this should work


        • #5
          Thanks a lot for your help guys!
          I ended up using ControlParamenter (it was easier to set up) and it worked.


          • #6
            Everything is working as expected on the scene.
            Now on the VCP template, I have created a DateTimePicker control so the user can select the countdown target date.
            The issue I'm having now is that I can't retrieve day or month or year from the DateTimePicker. All I get is a decimal number:

            'DateTimePicker: futureDate
            'ControlParam for day: dayEdit
            'ControlParam for month: monthEdit
            'ControlParam for year: yearEdit

            dayEdit.Value = futureDate.Date
            dayEdit.Text = futureDate.Date

            Depending on the date this will return a decimal like 42129.6578; I have tried doing futureDate.Value.Day and futureDate.Date.Day but the error says is not supported.


            • #7
              Issue resolved, here is the correct syntax to retrieve data from the DateTimePicker:


              Thanks to all for your support.


              • #8
                What if i need the template to autoselect todays date instead of having the Journalist choose that via DateTimePicker? The DateTimePicker shows me todays date at the bottom with a red circle around it. That is what I want it to autoselect. What parameter/syntax do i refer to here?


                • #9
                  sub Init()
                    DateTimePicker.Date = Date()
                  end sub


                  • #10
                    Thanks man. You are a star


                    • #11
                      Dyou have a sample scene I can look at? i'm trying this and not sure where to put the commands.


                      • #12

                        I have added 2 examples for you. One for triggering an event when the time reach 0 and the other for controlling the countdown value. Hope this helps
                        Attached Files


                        • #13

                          the parameter control in the datacountdown scene works great. I could swear I tried that at one point... Do you know if there is a way to have this hold at 00:00:00 until its triggered? Thanks again. You rock.


                          • #14
                            Hold function

                            This is the easy way out, but it works. All you need to do is load the scene and its stuck on 00:00:00 on continue it just switches to another running countdown. It does the trick though.
                            Attached Files


                            • #15
                              Hi, i try to use countdown clock with the datapool. iIt works well in Artist but when I run it through the Trio it will not work. The clock get right values but it does not count down.