03-20-2008 02:10 PM
03-21-2008 12:58 PM
Hi Antoine,
I have been reading you post for a while and I have concluded that it will help me a lot if I can have the code; if you were so kind to attach it to the discussion forum, I will be more than glad to try on my test machine.
“I need to make sure that the data I will record with the digitizer will be exactly aligned with the start of the sequence I am generating with the AWG.” In this case, and I will like to make sure I’m getting this correctly the 5412 is going to trigger the 5142 and either a user control or an external trigger is going to trigger the 5412. In this case the user control or the external trigger is going to start or stop de generation on the fgen and the fgen will control the scope. So what we really need to do is figure a way of using multiple triggers with the 5412.
I was also thinking to do what I need another way: Is it possible to somehow combine the 2 events I want to trigger off of? You can handle this with another card. Using card with change detection, you can the FGEN trigger from multiple sources.
I will wait for you answer to make sure I got everything correctly
03-21-2008 01:51 PM
03-24-2008 10:30 AM
Hi Antoine,
I’m glad you were able to find the problem and also great for you to help with the NI community by posting the results and the solution. Even though we do have a couple of example in our developer zone where fgen and scopes are synchronizing; having one more would only make us a better example library. If you don’t mind posting your code even if it is not complete I will really appreciate it.