This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
The maximum number of values to display is set to 65,536 by default. This is the maximum number of values you can get with 16-bit data.
Increasing this number allows you to work with datasets that have a greater bit depth without scaling them down to 16 bit;
however, this increases computational effort and lowers performance.