Pre loader

Suppressing console output

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

1
0

I am considering applying server-side licensing for my javerScript application.

In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)

However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)

I wonder if there is a sample code implemented in C++ for server-side licensing.

Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?

Version
6.2.1.13304
  • You must to post comments
0
0

Hi Doug

I’m afraid there isn’t, the logic inside the attached property VisualXcceleratorEngine.IsEnabled performs a number of checks to determine compatibility, and we had to write this output to console window to assist in debugging on the various hardware out there.

Potentially we could change from using Trace.WriteLine to Console.WriteLine but then there’s no guarantee the output will be written by visual studio.

If you set this code instead in your application, it will enable visual xccelerator but with no compatibility check. I wouldn’t advise you do this for production code but might save you some logging while in development.

PerformanceHelper.SetEnableExtremeResamplers(sciChartSurface, true);
sciChartSurface.SetCurrentValue(SciChartSurfaceBase.RenderSurfaceProperty, new VisualXcceleratorRenderSurface());

Best regards,
Andrew

  • Miles Merckel
    Would be good to be able to suppress this message. Checking the console output for issues having to bypass this message every time is a not optimal.
  • You must to post comments
0
0

Update: in the latest version of SciChart WPF we can now suppress this console output

Set this static property once before any SciChartSurface is shown.

VisualXcceleratorEngine.WriteWarningsToOutput = false;

Let me know if this helps

Best regards,
Andrew

  • You must to post comments
0
0

This worked. Thanks

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies