WorldViz User Forum  

Go Back   WorldViz User Forum > Search Forums

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: ursi
Forum: Vizard 02-08-2010, 05:00 PM
Replies: 4
Views: 8,471
Posted By ursi
scheduled animation paths: jumps

Hi

Three animation paths should be scheduled one after another.

The path speed should be 100 steps/sec
pathFW.speed(100) # default: 1/sec?

I thought the waiting time should be devided by...
Forum: Plug-in development 01-21-2010, 10:57 AM
Replies: 10
Views: 16,559
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,559
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,559
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,559
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,559
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,559
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,559
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...
Forum: Vizard 01-07-2010, 01:54 PM
Replies: 4
Views: 11,672
Posted By ursi
Hi, thank's for the link. I tried to import...

Hi, thank's for the link.

I tried to import u12 with the following code:
-----------
import u12
d = u12.U12()
d.eAnalogOut(2.2, -1)
-----------

But vizard can not find the module u12....
Forum: Vizard 01-04-2010, 10:49 AM
Replies: 4
Views: 11,672
Posted By ursi
We have LabJack U12, what's about this device?...

We have LabJack U12, what's about this device? Can we just replace ue9 by U12 in the following code?

For UE9:
>>> import ue9
>>> d = ue9.UE9()
>>> d.commConfig()
{'IPAddress' : '192.168.1.209'...
Forum: Vizard 12-17-2009, 02:43 PM
Replies: 4
Views: 11,672
Posted By ursi
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...
Showing results 1 to 11 of 11

 
Forum Jump

All times are GMT -7. The time now is 11:17 AM.


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