WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Plug-in development (https://forum.worldviz.com/forumdisplay.php?f=8)
-   -   problem talking to usb device in Vizard (https://forum.worldviz.com/showthread.php?t=618)

Vbents 06-14-2006 03:05 PM

problem talking to usb device in Vizard
 
Hi,

I have written a .dll to allow Vizard to get data from a usb device that collects physiological data (ex: heart rate) from the user. The module works when I run it from Python.exe (Python 2.3, if this matters). However, when I use the same commands in Vizard, it is always unable to find the device--the other functions which do not depend on the device still work.

Unfortunately, I do not really know how the code finds the USB device because it is a proprietary function.

Is Vizard doing something that alters the ports? And how can I get around this? I am currently not including any Vizard files, if that could be the problem.

Thanks for your help,
Ben

Vbents 06-14-2006 03:16 PM

After looking at the sensor.zip file, should I just transfer my code to this project and compile it as a .dls file? Would that resolve the problem of finding the usb device?

Gladsomebeast 06-15-2006 03:08 PM

Vizard does not interfere with USB connections.

I suspect that Vizard does not like your Python plugin DLL. Do any other functions in the DLL sucsed. Check out the VizardSDK download on the Vizard Download page. This zip has a Python plugin project which your DLL should match.


All times are GMT -7. The time now is 05:12 AM.

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