Trying to use a variable (layerNum) to send XPression graphics to screen with a RossTalk command in DashBoard, when a button in a custom panel is clicked. I need these graphics to go to the top-most layer of the framebuffer. Code looks like this:
var [
layerNum] = [20];
function callbackFunction(success, cmd, result, exception)
{
ogscript.debug ('Test message - LayerNum is: ' +
layerNum);
}
rosstalk.sendMessage('155.241.240.198', 7788, 'TAKE 4001:Framebuffer 1:
layerNum', callbackFunction);
I can get the value of layerNum (20) to show correctly in my debug statement, but it is not working in my RossTalk command. My graphic goes to Layer 1 (as it is defined in XPression Sequencer). I'm assuming I have my syntax wrong, and that value is just being ignored.
Any ideas on correct syntax/method to do this? Brian Ford?