Innovative Integration
 
Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Triggering ADCs in Thread

 
Post new topic   Reply to topic    II Support Forum Index -> Toro
View previous topic :: View next topic  
Author Message
otinanai



Joined: 04 Apr 2009
Posts: 6

PostPosted: Fri Apr 24, 2009 4:31 pm    Post subject: Triggering ADCs in Thread Reply with quote

Hallo!

We use a Toro card.

We have a problem when using the external triggering and trying to sample from the ADCs.

When we use Ain.Get() inside a function which is called from the IIMain, everything works fine when giving an external signal.

But when the Ain.Get() is called inside a thread, the external signal does not seem to start the sampling and the Ain.Get() does not return any buffer.

Can you please help us ?

Thank you!
Back to top
View user's profile Send private message
jhenderson
Site Admin


Joined: 07 Mar 2006
Posts: 1178
Location: So. Cal. USA

PostPosted: Sat Apr 25, 2009 7:23 am    Post subject: Reply with quote

External triggering is a firmware function and is completely independent of software notions such as thread context. Therefore, it is impossible for the triggering mechanism to be thread-aware.

I suspect that you are inferring that the trigger mechanism is not working because data does not flow or some other side effect. But, if you instrument your application without relying on communications such as PCI traffic, you will see that the trigger works fine regardless of thread context.

_________________
Jim
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    II Support Forum Index -> Toro (GMT - 8 Hours)
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

© Copyright 2006-2008 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional