Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

run two counters simultaneously with out affecting each other

Hi

I am new to labview. I am trying to figure out how the two counters/ timers( one is nongateable standard timer and another is standard timer which is software based) run simultaneously. I created it in different while loops. Is it possible to create two counters in single loop with out affecting each other?
0 Kudos
Message 1 of 2
(3,401 Views)

Hi Pavani,

Welcome to the forums!  As a new LabVIEW user there are many helpful resources out there to get you started.  I would like to point you to the two links in my signature.  The first is a six hour LabVIEW course and the second helps you learn DAQmx.  Also take advantage of the shipping examples.  When you open LabVIEW select Find Examples to open the Example Finder.  Assuming you are using DAQmx, you can go to Hardware Input and Output>>DAQmx>>Counter Measurements and find many useful example programs that either do what you want or can be modified to perform the task you desire.

To answer you question, two counters in the same loop do not affect each other.  The counters will gather data separately.  By putting them in the same loop, you just perform the reads in software at the same time.

 

Regards,

Ima
Applications Engineer
National Instruments
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
0 Kudos
Message 2 of 2
(3,387 Views)