03-26-2012 05:31 PM
Howdee all..
I have an application that's actually pretty simple. I need to generate pulse trains on all 8 counters of a 6602, and they need to be triggered together via a software trigger (Frequency will be the same, but their delay/Phase and DC may be different channel to channel).
What's the best way to do this?
Just a reminder, I am using all 8 counters as output.
03-26-2012 11:49 PM
OK. So I guess I posted too late in the day and no one chimed in- so I broke out the hardware, wired up some LEDs and here we are...
Looks like you can create one task, add each of the counters to it and then start the task. At least, this SEEMS to work with two channels. I will have to break out a DAQ card or a scope (which I don't have) to verify that they are synched.
BUT if this is the case, why are there so many examples of starting two counters on a 660x card with AI Start signals and the like?
03-27-2012 03:48 PM
Hi Jed,
This is Marcus in Application Engineering. It looks as though you are on your way right now in regards to getting your program set up. To help answer some of your question yes, as you have seen multiple counters can be placed in one task. You could wire the output of one PFI line into a second one and use the output of the first PFI line both as a source to separate device as well as using it as a trigger for a second PFI line that will trigger your reaming counters.
Are the examples that you are referring to located in LabVIEW? I am looking for the specific examples you are referencing.
Regards,
Marcus
03-27-2012 04:02 PM
Hi Marcus,
Right now the code I wrote looks like this (all counters are on the same 6602 card..)...
This appears to work, but I can't be sure that the counters all started together without a scope. So the $64K question is, since they are all on the same card, does the code above start all the pulse trains instantaneously, or will I have to go back and set them up to use a digital trigger (and do that thing with the PFI lines)?
As for the other example...
03-28-2012 10:15 AM
Hi Jed,
Would it be possible for you to post a larger picture of your code or the code itself so that I can take a closer look at it and determine if it will work for your application?
Thanks,
Marcus