LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6602

Wonder if anyone can offer some guidance.

 

I am using Labview 8.0 with a PCI-6602. I need to do a continuous time measurement on a signal between each rising edge and the next falling edge. Which pins do I need to use to do this?

 

I also want to do a continuous pulse count on the same signal using the falling edge. How do I configure this?

 

Is it then possible to measure/compare the time between each subsequent rising edge and the next falling edge?

 

Many thanks

Conor

0 Kudos
Message 1 of 2
(2,088 Views)

Hi Conor,

 

In order to communicate with the PCI 6602 you will use the NI DAQmx drivers. Here is a link that helps you to start using these VIs: http://zone.ni.com/devzone/cda/tut/p/id/5434
If you click on Basic Programming with NI-DAQmx it will give you an idea of where to start from.

 

From your description it sounds like you want to do semi period measurement. For this type of measurement you will need to wire your signal into the Gate input of a counter or a PFI line that is connected to the Gate input. Here is a link to the datasheet of this card: http://digital.ni.com/manuals.nsf/websearch/C9D48DBDFF5B3DE28625769400296538

 

If you want to do edge counting you will need to wire your signal into the source input of a counter. You can then choose whether you want to count the rising or falling edge.

 

Here are a few examples to get you started:

https://decibel.ni.com/content/docs/DOC-11415

https://decibel.ni.com/content/docs/DOC-10857

https://decibel.ni.com/content/docs/DOC-11541

 

There are many more good examples online and also in the Example Finder.  

 

Hope this helps.

Mahdieh G
Applications Engineer
National Instruments UK&Ireland
0 Kudos
Message 2 of 2
(2,056 Views)