Graphics

 View Only
  • 1.  Visual Logic Basics

    Posted 10-30-2017 16:15
    Greetings.

    I am new to Xpression. I want to get my hands dirty with Visual Logic. Was hoping to find samples on how to do some of the advanced visual logic scripting. I have 2 basic functions I could use the help with.

    1. I have a lower 3rd. It's default position is set with a drop note off. I would like to have the entire lower 3rd move up when the bottom note is turned on.
    2. Enter a tricode and all of my template's colors and logos would change to that teams tricode I enter.

    Finally if there is a place where I can learn more advanced ways to use Visual Logic, that would be terrific.

    Thank you


  • 2.  RE: Visual Logic Basics

    Posted 10-30-2017 19:56

    1. Just off the top of my head, If note=visible, L3 Y Pos moves up.
    2. This comes from Datalinq. There are plenty of examples on the forum for how to do this. This is how I set up mine:

    Excel Doc: C1: Tricode C2: Primary Color PNG Swatch Path C3: Secondary Color PNG Swatch Path C4: Logo Image Path
    You could swap the color swatch for RGB codes that can be read by XP I believe

    Datalinq

    SELECT [LOGO] FROM [MASTERTRI] WHERE [TEAM TRI] = "%TRI%"
    LOGO=Column 4 path
    MASTERTRI=Table in Excel
    TEAM TRI=Column 1 Tricode
    %TRI% = DataLinq key


    #XPression


  • 3.  RE: Visual Logic Basics

    Posted 10-31-2017 05:19
    Hi broadcastguy,

    XPression U has some good videos about Visual Logic. Here are a few (the first one should help with your first question):

    Visual Logic
    https://www.rossvideo.com/graphics-system/xpression/xpression-u/video-tutorial-202/

    Counting Down to a Date or Time Using Function Blocks in XPression Visual Logic
    https://www.rossvideo.com/graphics-system/xpression/xpression-u/video-tutorial-144/

    Creating a Bar Graph using VL
    https://www.rossvideo.com/graphics-system/xpression/xpression-u/quick-tips-121/

    Creating a Pie Chart using VL
    https://www.rossvideo.com/graphics-system/xpression/xpression-u/quick-tips-123/

    Sort Selector Function Block
    https://www.rossvideo.com/graphics-system/xpression/xpression-u/video-tutorial-206/

    Regards,

    James.
    #XPression


  • 4.  RE: Visual Logic Basics

    Posted 10-31-2017 12:01
    Thank you all for the input. Will play around with this. Much appreciated.
    #XPression