03-18-2008 09:58 AM
03-19-2008 01:22 PM
Hi mightymouse,
Unfortunately with your current setup you only have two counters available. You can route the counter signal through the PFI lines, but you cannot configure the PFI terminals to act as a counter. You will need another DAQ card with an additional 2 counters to get meet your setup requirements. NI also offers counter/timer cards that have more than 2 counters on a single card.
03-19-2008 08:55 PM
03-21-2008 12:59 PM
To set up the PWM signal use these resources to help you get started:
There is a great example that ships with DAQmx called PWM-Counter Output.vi that shows how this can be accomplished. (Open LabVIEW Example Finder. Go to help >> Find Examples. Search for PWM)
You can also check the following link for more examples with PWM.
Pulse Width Modulation (PWM) Using NI-DAQmx and LabVIEW
To measure a signal from your sensor:
Like I mentioned before you will not be able to make pulse measurements, count digital edges, etc… without two additional counters. You can read in your TTL signals directly using the digital input lines on your NI ELVIS board. The LabVIEW Example Finder referenced above has some great examples for getting started with reading in a digital signal. Browse to Hardware Input and Output >> DAQmx >> Digital Measurements.
08-07-2011 07:48 PM
Hi, I am having similar problems with counters on my ELVIS II board. I am trying to count angular rotation from a two-pulse encoder. I am not sure where and how to configure Labview 2010 for the B signal. Hence, I can only get it to continously count up. When I try to use the DAQ assistant, it gives no indication on where to plugin the B signal. When I try to use the DAQ assistant, it gives no indication on where to plugin the B signal. The other examples I found on the net use the old ELVIS and and older version of Labview. Hence, I could not get those examples working as well. Can I pls get advice on this?