Your comments

WOOOOO! Thank you!

Solved - once again thank you. I am still a bit of a novice when it comes to Javascript, so still getting to grips with the syntax. Appreciate your assistance!


In addition, if I want to trigger more than one thing, what would be the correct syntax? I have used an 'else if' statement to create various states, however can only trigger one action - I want to for example, show a page AND a popup depending on a value:


IR.AddListener(IR.EVENT_TAG_CHANGE , IR.GetDevice("F10A_Server"), function(name,value)
{
   IR.Log("Name = " + name + ", Value = " + value);    //For Debug Only
   if(name == "SIM_OTTrigger" && value == 0)
      IR.ShowPage("System_Start");
   else if(name == "SIM_OTTrigger" && value == 1)
      IR.ShowPage("Navigation");
      IR.ShowPopup("Inputs");



});                                                                            

Yay! Problem solved:


IR.AddListener(IR.EVENT_TAG_CHANGE , IR.GetDevice("F10A_Server"), function(name,value)
{
   IR.Log("Name = " + name + ", Value = " + value);    //For Debug Only
   if(name == "SIM_OTTrigger" && value == 1)
      IR.ShowPage("System_Start");
});              

Thanks - will check it out now!

Which log window should I be looking for exactly? I am testing this by logging into the server and sending a trigger value (in this case 1) however the device does not respond.

The Driver I'm looking too at the moment is a built-in iRidium Server drive (named F10A_Server in this project). I will check the log and post below:

Thanks Francesco - I have tried your code but didn't have luck in having it show a page - perhaps my syntax is wrong?


I have tried this but I think I have made mistakes - I am not terribly fluent in Javascript:


Server = F10A_Server

Tag = SIM_PBTrigger

Value to activate = 1

Page to open = Navigation


-----------


IR.AddListener(IR.EVENT_TAG_CHANGE, IR.GetDevice("F10A_Server")),
{
   IR.GetVariable("Drivers.F10A_Server.SIM_PBTrigger"), function(value);
      {
      IR.Log(value);
      }
   {     
   if(IR.Log("value") == 1),
   IR.GetPage("Navigation");
   }
}


Yes - this would be fantastic for me too