Thread
:
External Trigger via LabJack
View Single Post
#
2
01-15-2010, 03:11 PM
Jeff
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
You could use vizact.onupdate to check every frame if the trigger has occurred and then either do something there or call another function
Code:
def checkTrigger(): trigg = d.eAnalogIn(0) if trigg > 0: ExtTrigg() vizact.onupdate(0, checkTrigger)
Jeff
View Public Profile
Find all posts by Jeff