LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 6602 Write and Read Frequency

Solved!
Go to solution

Hi all ,

 

I Have NI 6602 timing card and i'm trying to use it in order to write and read using the

 

DAQmxWriteCtrFreq (taskHandle1, 0, 1, 10.0, DAQmx_Val_GroupByChannel, &freq, &duty, &writtenVal, 0);

 

and

 

DAQmxReadCounterScalarF64(taskHandle2,10.0,&dataVal,0);
what i'm trying to do is to write to ctt0 and to read from ctr7 ( they are crossed in the card )
i'm having a bit problems with that can some one give me a tip on how to do it properly ?
just write freq to ctr0 and read freq from ctr7.....

 

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 3
(3,206 Views)

After a few things i only need to make an output counter frequency...

 

but i just didn't make any progress any one knows how ?

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 2 of 3
(3,195 Views)
Solution
Accepted by topic author Kobi_K

You should have the following sample installed on your PC that may help you in this task: DigPulseTrain-Cont.prj (it could be located in \program files\National Instruments\CVIx\samples\daqmx\counter\generate pulse folder)



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 3
(3,185 Views)