WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: ursi
Forum: Plug-in development 01-21-2010, 10:57 AM
Replies: 10
Views: 16,926
Posted By ursi
Sorry, I figured it out... ...

Sorry, I figured it out...

vizact.ontimer(.01, checkTrigger)
Forum: Plug-in development 01-21-2010, 10:55 AM
Replies: 10
Views: 16,926
Posted By ursi
Ok, I see, that the if-condition work fine, if I...

Ok, I see, that the if-condition work fine, if I address the voltage output...

if trigg['voltage'] > 0.2:

So, the last question that remains is the higher frequency for checking the trigger?
Forum: Plug-in development 01-21-2010, 09:39 AM
Replies: 10
Views: 16,926
Posted By ursi
Hi, I can now feed in 'my' voltage from the...

Hi,

I can now feed in 'my' voltage from the external source and print just the voltage output. So, that works fine, thanks.

But it prints the result still every second, so the if-condition...
Forum: Plug-in development 01-20-2010, 12:06 PM
Replies: 10
Views: 16,926
Posted By ursi
The problem still remains... def ExtTrigg():...

The problem still remains...

def ExtTrigg():
print 'trigger > 2.0'


###+++++++++++++++++++++++++++
def checkTrigger():
trigg = d.eAnalogIn(0) # AI0
if trigg > 2.0:
Forum: Plug-in development 01-19-2010, 04:17 PM
Replies: 10
Views: 16,926
Posted By ursi
Hi I tried it like that to keep it simple: ...

Hi

I tried it like that to keep it simple:

##############################
import viz
viz.go()

import u12
d = u12.U12()
Forum: Plug-in development 01-18-2010, 11:04 AM
Replies: 10
Views: 16,926
Posted By ursi
Thanks! And the callback function is ok or...

Thanks!

And the callback function is ok or do I have to callback also the 'checkTrigger' function?

##############################
#Create the signal object
sig = vizact.signal(Trigg > 0)
...
Forum: Plug-in development 01-15-2010, 10:53 AM
Replies: 10
Views: 16,926
Posted By ursi
External Trigger via LabJack

Hi,
I wanna trigger a Vizard-function via an external trigger (via LabJack). How do I do that?

I wrote the following code using 'vizact.waitsignal':

##############################
import viz...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT -7. The time now is 02:58 PM.


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