Hello,
I have a TSE card inserted in my opengear box, which I´d like to monitoring the ANC Enconde Status (attached photo). In resume, when I switch the Encode mode between ''Disabled'' and ''Caption CDP" , I´d like to see these changes in a label running in my custom Dashboard panel. I already created a parameter called ''label'' and created a logic to this parameter gets the current Encode mode and show me which option is selected. The photos describing my case and the progamming are list below. I don´t know why, but it does not work as expected so far.
Programming to get Encode mode status:
<param expand="true" height="40" left="136" oid="0x2" style="bg-align:center;txt-align:center;" top="199" width="202">
<task tasktype="ogscript">
/*! block id=1026,1032,1027 !*/
if (params.getParam("TES-8643.1", '0xD120', 0).getValue() == "Caption CDP")
{
params.setValue('0x2', 0, 1);
} else {
}
/*! block id=1023,1031,1024 !*/
if (params.getParam("TES-8643.1", '0xD120', 0).getValue() == "Disabled")
{
params.setValue('0x2', 0, 0);
} else {
}
/*!!
<block id="1026" type="if" x="344" y="447" w="268" INPUT1="ID:1032" OPERATION="equals" INPUT2="Caption CDP" TRUE="ID:1027" FALSE="" IGNORE="" />
<block id="1032" type="param_TES-8643.1&amp;Encode Mode (0xD120)[0]" x="21" y="442" w="243" SET="" />
<block id="1027" type="param_setvalue" x="608" y="568" w="318" PARAM="[root, Params for teste%20-%20CC.grid, Not In Menu, Label (0x2)]" PARAM_DATA="_top&amp;0x2[0]" VALUE="1" />
<block id="1023" type="if" x="282" y="113" w="268" INPUT1="ID:1031" OPERATION="equals" INPUT2="Disabled" TRUE="ID:1024" FALSE="" IGNORE="" />
<block id="1031" type="param_TES-8643.1&amp;Encode Mode (0xD120)[0]" x="7" y="112" w="243" SET="" />
<block id="1024" type="param_setvalue" x="558" y="280" w="318" PARAM="[root, Params for teste%20-%20CC.grid, Not In Menu, Label (0x2)]" PARAM_DATA="_top&amp;0x2[0]" VALUE="0" />
!!*/
/*!!<checksum>f5fe076e0ae5180f50e59fc20dae3859</checksum>!!*/</task>
</param>
Thanks,
------------------------------
João victhor Mariano
------------------------------