NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Active Participant
Kobi_K
Posts: 205
0 Kudos
Accepted Solution

NI 6602 Write and Read Frequency

[ Edited ]

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

Active Participant
Kobi_K
Posts: 205
0 Kudos

Re: NI 6602 Write and Read Frequency

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

Trusted Enthusiast
RobertoBozzolo
Posts: 4,525
0 Kudos

Rif.: NI 6602 Write and Read Frequency

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)




Using LW/CVI from 3.1 on.

My contributions to the Developer Zone Community
________________________________________
If I have helped you, why not giving a kudos?
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page