| View previous topic :: View next topic |
| Author |
Message |
phua
Joined: 04 May 2011 Posts: 31 Location: USA
|
Posted: Tue Jun 28, 2011 7:07 am Post subject: Questions on X5-400M from Lutfi |
|
|
By the way, now I'm trying snap example. Where the analog data comes from? Is it should be from generator signal or it could be from wave example? I've tried to connect the output of wave (D/A 0) to (A/D 0) of X5-400M, but I could only open the device from wave example or snap example, not both of them simultaniously.
And besides that, snap example elapsed time always be 0.00 sec, how it could be happen?
What's the differece between Wave and Snap Example?
Because when I tried to compare it, both of them have similiar main code (wave.cpp and snap.cpp). And both of them are using ApplicationIo. Besides that, why Snap still called function startStreaming? Shouldn't Snap doing data acquisition not transmission?
Thank you |
|
| Back to top |
|
 |
phua
Joined: 04 May 2011 Posts: 31 Location: USA
|
Posted: Tue Jun 28, 2011 7:17 am Post subject: support |
|
|
| The document \Innovative\X5-400M\Documents\X5-400M.pdf contain answers to most of your questions. |
|
| Back to top |
|
 |
lutfi
Joined: 06 Jun 2011 Posts: 31 Location: Indonesia
|
Posted: Wed Jun 29, 2011 11:05 pm Post subject: |
|
|
Thank you for your information Peter.
I've read the X5_400M user manual about snap and wave, and my conclusion is the main difference between them is in snap, we configure Input sub-object instead of Output. So I tried to create a Snap Console code using your code, but I'm using ApplicationIo from Snap example, is it correct?
Because it's give me some error altough I think the error comes from project configuration, (I'm not really sure about it)
Could you help me? Here's my project |
|
| Back to top |
|
 |
lutfi
Joined: 06 Jun 2011 Posts: 31 Location: Indonesia
|
Posted: Thu Jun 30, 2011 6:51 pm Post subject: |
|
|
Thank you Peter, now I've succeed to create snap console application.
here is the result
issue closed  |
|
| Back to top |
|
 |
phua
Joined: 04 May 2011 Posts: 31 Location: USA
|
Posted: Tue Jul 05, 2011 7:53 am Post subject: post |
|
|
| You are very welcome. |
|
| Back to top |
|
 |
|