WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-21-2008, 11:37 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The vpx plugin only supports getting the gaze point of one eye. You could use the ctypes module to manually access the function of the Arrington Viewpoint API. What specific functions do you need, other than getting the gaze point of both eyes?
Reply With Quote
  #2  
Old 07-21-2008, 12:34 PM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello,

At present, I want to access the Pupil Width (APW and BPW), Quality of eye movement data (AQU and BQU), Fixation Duration (AFX and BFX) and the x,y gaze direction coordinates (ALX, ALY and BLX, BLY) for both the eyes.

Thanks for your patient help.

Uttama
Reply With Quote
  #3  
Old 07-22-2008, 04:07 PM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello,

Actually, I would be carrying out some psychological experiments using the Arrington eye tracker. So, Pupil Width (APW and BPW), Quality of eye movement data (AQU and BQU)-if possible, Fixation Duration (AFX and BFX) and the x,y gaze direction coordinates (ALX, ALY and BLX, BLY) for both the eyes would be required.

I was looking for the ctypes in the Vizard help menu. I could not find sustantial amount of information regarding ctypes. So, any help in using ctypes would be really appreciated.

Thanks in advance for valuable suggestions.

Uttama
Reply With Quote
  #4  
Old 07-25-2008, 01:31 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
ctypes is 3rd party plugin for Python. You can find a tutorial for the plugin here:
http://python.net/crew/theller/ctypes/tutorial.html
Reply With Quote
  #5  
Old 07-28-2008, 10:24 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello,

Thanks for the suggestion. I have downloaded the ctypes.

When, I am writing:

from ctypes import *

There occurs no error.

The tutorial says....

libc = cdll.msvcrt
libc.printf

I am getting <_FuncPtr object at 0x00B80B70>

So, in my case....do I use.....?

vpx = ......msvcrt
vpx.printf

Any suggestions.....actually, I want to access vpx.dll and insert the other features such as coordinates of both the eye gazes...I hope my question is clear...

In fact, I am little confused regarding the approach to be used.....and not sure whether I am going the correct way.

Any suggestions would be really appreciated.

Thanks for giving your valuable time.
Reply With Quote
  #6  
Old 07-31-2008, 07:10 AM
Uttama_vizard Uttama_vizard is offline
Member
 
Join Date: Sep 2007
Posts: 60
Hello,

Any further suggestion regarding ctypes would be really appreciated. I have given my problem...in the last posting.

If required, I will clarify further.

Thanks

Uttama
Reply With Quote
  #7  
Old 07-31-2008, 05:21 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
I'm not very familiar with ctypes, so I cannot help you that much. I think the important thing is that you are using the correct function name. In your example, you are using printf, which is not a function exported by the vpx.dll
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Vizard Sensor Plugin farshizzo Plug-in development 25 08-01-2019 12:24 AM
Live Characters plugin Frank Verberne Vizard 7 03-01-2012 02:23 AM
Vicon Plugin Micheal Plug-in development 2 08-29-2007 03:03 AM
Could not find plugin to load objects... halley Vizard 1 05-30-2006 11:01 AM
Shooting Star Plugin duda Vizard 3 03-14-2005 11:52 AM


All times are GMT -7. The time now is 01:09 PM.


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