Hi,
I have problem with setting neutral value for "Preferred source" parameter on Appear X20. When im running script it changes value for "N/A", but with an error:
In dropdown menu there is such a value. Also i Tried to set value for script to: -2 or N/A
but only No Preferences changes value, but with an error above. What am i doing wrong?
Thanks in advance for your help!
BR,
Adrian
Hi Adrian,
Setting the value 'No Preferences' indeed results in no preferred source being set, if this is successful, the value 'N/A' will show inside the table cell.
Most likely the set towards the device is working correctly with your script, the only unfortunate thing is that the value 'No Preferences' doesn't exactly map currently with the exception value defined on that column being 'N/A' (='-2').
When executing a script, there is a flag available 'After executing a SET command, ...' which automatically checks if the value being set ('No Preferences') is eventually present in that table cell. Since this is not the case for that parameter (result is '-2'), the script returns the error you are experiencing now.
Simply unchecking this flag when executing the script will prevent the error.
Script execution options | DataMiner Docs
Hope this helps!
Kind regards,