PDA

View Full Version : Output Window - Maximum Threshold Reached


KBJ
11-05-2010, 10:52 AM
I just received this message at the top of the Output window:

"You have reached the maximum threshold of the Output window. Some of your output messages have been surpressed." (Note spelling error.)

At that point, I tried to use Ctrl-A and Ctrl-C to copy the contents of the output window to the paste buffer. Nothing happened (it didn't copy).

(I copy the Output window to the paste buffer so I can search the contents of the window after pasting it into Notepad -- adding a Ctrl-F or right-click-menu Find facility would be a nice improvement to the Output window.)

I found the workaround of using right-click + Save-As to write the Output window contents out to a file, but that's not as nice as being able to highlight the desired text and copy just what you want to the paste buffer.

It would also be useful to have an option where instead of just freezing the output window, that the output window would be treated as a "ring buffer" (new stuff added at the end of the window with lines removed from the top to make room.)

Also, it would be useful if a time-stamp were added to the message, so we can tell how much Output window data has been lost.

gg80108
11-05-2010, 11:03 AM
I just received this message at the top of the Output window:

"You have reached the maximum threshold of the Output window. Some of your output messages have been surpressed." (Note spelling error.)

At that point, I tried to use Ctrl-A and Ctrl-C to copy the contents of the output window to the paste buffer. Nothing happened (it didn't copy).

(I copy the Output window to the paste buffer so I can search the contents of the window after pasting it into Notepad -- adding a Ctrl-F or right-click-menu Find facility would be a nice improvement to the Output window.)

I found the workaround of using right-click + Save-As to write the Output window contents out to a file, but that's not as nice as being able to highlight the desired text and copy just what you want to the paste buffer.

It would also be useful to have an option where instead of just freezing the output window, that the output window would be treated as a "ring buffer" (new stuff added at the end of the window with lines removed from the top to make room.)

Also, it would be useful if a time-stamp were added to the message, so we can tell how much Output window data has been lost.

I agree,, reported this issue about 6 months ago for an improvement...

NinjaTrader_RyanM
11-05-2010, 11:16 AM
Hello KBJ,

Thank you for your comments and suggestions. If you are running into the limit of the output window, you should consider moving this to a file. These samples can help with writing information to a file.

Using StreamWriter to write to a text file (http://www.ninjatrader-support.com/vb/showthread.php?t=3475) - also applicable to strategies
Using System.IO File properties to write to and read from a text file (http://www.ninjatrader-support.com/vb/showthread.php?t=3477) - also applicable to strategies

cbaer
06-04-2011, 06:43 PM
Hi,

How can one increase the size of the output window text buffer?

thx,

cbaer

NinjaTrader_RyanM
06-06-2011, 08:09 AM
Hello cbaer,

Unfortunately there is no control on output buffer size. If you are running into the limit of the output window, you should consider moving this to a file. You can also consider programatically clearing this with ClearOutputWindow() (http://www.ninjatrader.com/support/helpGuides/nt7/clearoutputwindow.htm)

These samples can help with writing information to a file.

Using StreamWriter to write to a text file - also applicable to strategies
Using System.IO File properties to write to and read from a text file - also applicable to strategies