Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Duty cycle measurement using RLP

Hi All,
I 'm using a PCI-6229 in RTX environment and, I would like to measure a duty cycle.
Is there any exemple file?
 
Your help is welcome
 
FV1234
0 Kudos
Message 1 of 12
(12,213 Views)
Hey,

I would answer this ... 

Regards

Richard Keromen

0 Kudos
Message 2 of 12
(12,190 Views)

Hello Richard K,

I sorry but I would like to program my board with register level because I'm in RTX environment. I can start with gpctex3.cpp but I have no informations to do a buffered semiperiod measurement.

Thanks for your help.

FV1234

0 Kudos
Message 3 of 12
(12,183 Views)

Hello,

As you noticed, there are no examples on how to do buffered counter operations for M Series in the MHDDK examples.  However, the M Series counter functionality is based on the same technology used in the 660x counter/timer boards.  Below is a link to the 660x Register Level Programming manual, which should help point you in the right direction.  I hope this helps.

http://digital.ni.com/manuals.nsf/websearch/4CE1C778F442B01386256C870060F9F3

0 Kudos
Message 4 of 12
(12,175 Views)

I used also the DAQ-STC Technical Reference Manual

Thanks for your help

0 Kudos
Message 5 of 12
(12,151 Views)

Hello Jeremy,

My acquisition works fine but sometime, the first acquired point is the High level and sometime, the first acquired point is the Low level. I created a semi period task with MAX and with each acquisition, the first acquisred point is the same level.

In my code, I programed the gate polarity at 1.

Do you know what is the source of my problem?

Thanks for your helps

FV

0 Kudos
Message 6 of 12
(12,137 Views)
up
0 Kudos
Message 7 of 12
(12,116 Views)

Hi Fv1234-

Are you using a software arm or a hardware arm signal?  You should be able to set a hardware arm on the input signal and choose a level/edge that meets your needs.  Can you please give a bit more info about how you're configuring the counter?

Thanks-

Tom W
National Instruments
0 Kudos
Message 8 of 12
(12,041 Views)

Hi Tom,

I 'm using a software arm. But with MAX, I have also a software arm???

To use a hardware arm, can I put my waveform on the auxiliary pin and configure the second gate of the counter?

Thanks a lot.

FV1234.

0 Kudos
Message 9 of 12
(12,010 Views)

Hi Tom,

It works, I configure the second gate and now every time, my acquisition starts at the same level.

Thanks a lot

FV1234

Message 10 of 12
(12,007 Views)