WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Philips WOWvx (https://forum.worldviz.com/showthread.php?t=753)

bnord 09-19-2006 07:14 AM

Philips WOWvx
 
How can I call functions of the Philips WOWvx DLL from within a Python-Script? Is there an Example?

Best regards,
Björn

farshizzo 09-19-2006 10:44 AM

There are two ways to do this:

1) Create a python plugin that creates an interface to the functions. We are currently developing this, so it should be available shortly.

2) Install the ctypes python package which allows you to call arbitrary dll functions from within your python script. The following link contains more information:
http://starship.python.net/crew/theller/ctypes/

bnord 09-20-2006 04:41 AM

Ok, I will give ctypes a try.
Can you post to this forum when the plugin is available?

Thanks for the fast response.
Björn

Gladsomebeast 10-24-2006 01:18 PM

1 Attachment(s)
I have attached a Philips WOW python plugin that exposes all of the WOW commands. Vizard 3.0 requires the WOW verson that has the SetApplicationResolution function.

To install, place the PhilipsWOW.dll python plugin in the Vizard30/plug-ins folder and the Philips OpenGL.dll in the Vizard30/bin folder.

bnord 10-27-2006 06:45 AM

Upps! We have tested with Version 6.4.26.1 of the DLL. That don't has that function. Can you tell me the version-number of the DLL you are working with?

I asked our Display-Supplier but Philips told him that there is no new Version.

Gladsomebeast 10-27-2006 09:14 AM

The DLL version I have is 6.9.15.1 which has the SetApplicationResolution function.


All times are GMT -7. The time now is 08:12 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC