Facility Control

 View Only
  • 1.  Variables within rosstalk strings

    Posted 11-27-2014 16:13
    Hi,

    Is it possible to use a variable within the actual string being sent to a switcher or any other way to feed a value into the string? This is my script:

    var MVboxnmbr = ogscript.getValue(0x20,0);

    rosstalk.sendMessage('10.20.30.401, 7788, 'MVBOX 1:MVboxnmbr:IN:1');

    Thanks


  • 2.  RE: Variables within rosstalk strings

    Posted 11-27-2014 16:53

    You're close!

    `

    var MVboxnmbr = ogscript.getValue(0Á—20,0);

    rosstalk.sendMessage('10.20.30.401', 7788, 'MVBOX 1:' + MVboxnmbr + ':IN:1');`

    #DashBoard


  • 3.  RE: Variables within rosstalk strings

    Posted 11-27-2014 17:10
    Ah, close, but still far. Thanks James!

    #DashBoard