I was wondering if there was an easy way to embed the OA Log viewer (pictured in the link into a page/pnl either as an embedded module or child panel.
https://postimg.cc/kDW8hSPN
There are a couple of test pages we use for development and it would nice to incorporate the Log Viewer into these pages directly for testing and debugging purposes. It's a small thing but it would be helpful in cutting down all the window juggling.
Is it possible to Embed the OA Log Viewer into a page or panel
Search
Re: Is it possible to Embed the OA Log Viewer into a page or panel
The log viewer is an own executable "WCCOAtoolLogViewer" and cannot be embedded into to a runtime panel.
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist
-
- Posts: 373
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Is it possible to Embed the OA Log Viewer into a page or panel
Perhaps it is cheaper to buy and add a second monitor to the system, than spending time on getting everything on a single monitor.
However here are some ideas to prevent the window juggling:
However here are some ideas to prevent the window juggling:
- Perhaps the logviewer can be made visible by lowering the module
- Put the windows side by side
- Create your own logviewer, the FileSystemWatcher can help with that
Re: Is it possible to Embed the OA Log Viewer into a page or panel
Cheers, thank you for all the suggestions.
-
- Posts: 373
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Is it possible to Embed the OA Log Viewer into a page or panel
If the logviewer is opened with openLogViewer it should be possible to dock it
Re: Is it possible to Embed the OA Log Viewer into a page or panel
@gschijndel regarding your statement "If the logviewer is opened with openLogViewer it should be possible to dock it"
Would you be able to provide an example please on how to do this programmatically.
The docs https://www.winccoa.com/documentation/ ... iewer.html
seem to indicate it should be possible:
"The Log Viewer will either be docked to the module it was opened for or displayed as a separate window. The separate window can be docked manually, the docking state will not be changed in code, so the Log Viewer will open as separate window again after it is closed."
But I'm unsure how to do this in code. Any help would be appreciated.
Would you be able to provide an example please on how to do this programmatically.
The docs https://www.winccoa.com/documentation/ ... iewer.html
seem to indicate it should be possible:
"The Log Viewer will either be docked to the module it was opened for or displayed as a separate window. The separate window can be docked manually, the docking state will not be changed in code, so the Log Viewer will open as separate window again after it is closed."
But I'm unsure how to do this in code. Any help would be appreciated.
Re: Is it possible to Embed the OA Log Viewer into a page or panel
Installing OBS will help. And then you need to make a panel WebView_ewo1 with a script
main()
{
this.url("http://localhost:5000/"); // docker run --rm -p5000:5000 ghcr.io/niek/obs-web
}
1.Installation of OBS Studio:
Download and install OBS Studio from the official website.
2.Installation of the OBS-WebSocket Plugin:
Download and install the OBS-WebSocket plugin from the official repository.
3.Configuration of OBS Studio:
Open OBS Studio and add a screen capture source for your application.
Configure the streaming settings.
4.Configuration of OBS-WebSocket:
In OBS Studio, go to Tools -> WebSocket Server Settings.
Enable the WebSocket server and set the port (default is 4455).
5.Using the Docker:
docker run --rm -p5000:5000 ghcr.io/niek/obs-web
This command will start a server on port 5000, which can be used to interact with OBS-WebSocket.
Now I have problems with OpenGL 2.0 but I hope it's only my local problems. This solution perfectly works in browser
main()
{
this.url("http://localhost:5000/"); // docker run --rm -p5000:5000 ghcr.io/niek/obs-web
}
1.Installation of OBS Studio:
Download and install OBS Studio from the official website.
2.Installation of the OBS-WebSocket Plugin:
Download and install the OBS-WebSocket plugin from the official repository.
3.Configuration of OBS Studio:
Open OBS Studio and add a screen capture source for your application.
Configure the streaming settings.
4.Configuration of OBS-WebSocket:
In OBS Studio, go to Tools -> WebSocket Server Settings.
Enable the WebSocket server and set the port (default is 4455).
5.Using the Docker:
docker run --rm -p5000:5000 ghcr.io/niek/obs-web
This command will start a server on port 5000, which can be used to interact with OBS-WebSocket.
Now I have problems with OpenGL 2.0 but I hope it's only my local problems. This solution perfectly works in browser
-
- Posts: 373
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Is it possible to Embed the OA Log Viewer into a page or panel
It seems that the function has been updated with 3.20, it looks like it has an optional argument to force the logviewer to be docked.
The translator 2.0 has a docked logviewer (it does not use the optional argument), so now the documentation seems to be correct.
The translator 2.0 has a docked logviewer (it does not use the optional argument), so now the documentation seems to be correct.