LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple counter input using NI 6602

I am using NI-DAQmx to write a VI  that will read 10 pwm measurements using 10 counters on 2 NI 6602 PCI interfaces.  It is my understanding that I must create a task for each respective counter.  I have attempted to implement a for loop to accomplish this, as shown in attached VI draft.  As it stands the VI will not write any data to file.  I suspect there are multiple errors in the VI.  I would ask if anyone could take a look at the attached VI and perhaps provide some insight?
 
Saul LaCoursiere
0 Kudos
Message 1 of 4
(3,149 Views)
I should note that I am using LabVIEW 8.0
0 Kudos
Message 2 of 4
(3,146 Views)

Hi Saul,

It looks like you had a subVI "Create Header" which needs to be included to run, so I deleted all of the report related code.  The Counter portion ran fine.  If you can't get the report generation portion to work, you may want to simplify your code (for example start with a single counter task) and build up from there.

Please repost if you have further questions.

Thanks,

Luke
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,113 Views)
Luke,
 
Thanks for the reply.  It isn't quite clear to me what you deleted when you say "report related code."  Could you attach the VI with the deleted code? 
 
Thanks,
 
Saul

Message Edited by S. LaCoursiere on 06-04-2007 02:25 PM

0 Kudos
Message 4 of 4
(3,084 Views)