View Single Post
  #7  
Old 01-20-2010, 12:06 PM
ursi ursi is offline
Member
 
Join Date: Dec 2009
Posts: 11
The problem still remains...

Code:
def ExtTrigg():
	print 'trigger > 2.0'


###+++++++++++++++++++++++++++
def checkTrigger():		
	trigg = d.eAnalogIn(0) # AI0
	if trigg > 2.0:
		ExtTrigg()

vizact.onupdate(0, checkTrigger)
How can I address the 'right' output to be checked?
Why does it not work to feed in a voltage?
Reply With Quote