WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 06-14-2006, 03:05 PM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
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
Reply With Quote
  #2  
Old 06-14-2006, 03:16 PM
Vbents Vbents is offline
Member
 
Join Date: Sep 2005
Posts: 25
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?
Reply With Quote
  #3  
Old 06-15-2006, 03:08 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
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.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:47 PM.


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