WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-17-2009, 02:43 PM
ursi ursi is offline
Member
 
Join Date: Dec 2009
Posts: 11
Implement LabJack

Hi, I'm new in working with vizard and not that familiar with python yet.

What we want to do is to send an event trigger out of vizard (keydown event) to a data collection program so that we can synchronize our recordings with the event occurred in our virtual world.

As far as I know, using LabJack to send a voltage signal out would be the best solution and so to directly connect with the AD transducer.
May you help me implementing LabJack in our 'World' code?

What we want to do is to move the room relative to the global system on a keydwon event. So, for our data analysis we need know the exact time of this event relativ to our data recordings:

--------------------
def onkeydown(key):
if key == 't':
# ANIMATION PATH (to move the room itself)
...
...
vizact.ontimer(0.1,pathFWBWs.play)

# HERE WE WANT TO SEND OUT OUR TRIGGER EVENT TO LABJACK...

viz.callback(viz.KEYDOWN_EVENT,onkeydown)
--------------------

Thank's for your help!
Reply With Quote
 


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
labjack plugin Jerry Vizard 1 03-14-2007 04:36 PM


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


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