Hi,
I have a visio with an Range slider control which is perfectly fine. However it takes the max value out of the driver and the max value is depending on the configuration of the device. The driver reports back an maximum of 5000ms however when i go above 2000ms i'll get an error.
Is there a way to limit the range within the visio to 2000?
Where is the value of 2000 available, if not in the driver?
There is an check in the Qaction:
if (delay > helper.MaxChannelDelay)
{
string message = String.Format(
“Max {0} ms of delay is supported with the current system configuration.”,
helper.MaxChannelDelay);
protocol.ShowInformationMessage(message);
return;
}
Because it’s just same device and other configuration that we’ll hit the 5000ms.
the 2000ms is indeed coming from the device somewhere.
I checked this internally, there might be a call that we could use in the driver to accomplish this:
NT_UPDATE_DESCRIPTION_XML (127) | DataMiner Docs
There is currently no way to change the allowed range on the Visual Overview. It will always take the range from the driver to determine the possible values.
With this said, I have to agree that this should probably be fixed in the driver rather than introducing a way to circumvent the range on the Visual Overview.
Just wondering if the driver does not have to be adapted to dynamically change its range in that case, but I’m personally not sure if that’s possible.