Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2167

Using NI 9401 with cDAQ9174 for RPM Measurements: How to Output 5V for Power While Acquiring RPM

$
0
0

Hi,

 

I'm new to LabView and how to use these modules. I want to use a digital hall effect sensor to measure the RPM of a rotating shaft.

 

How do I output a continuous 5 volts from NI 9401 to power the sensor, while also acquiring the measurement?

 

Steps I need to take:

1) Generate 5V signal on output line to power the sensor (sensor can be powered from 3V to 28V).

2) Acquire digital signal from sensor on a separate line on the module.

3) Convert digital signal to frequency.

 

I've tried working through DAQAssistant to generate an output signal. All it gives me when I set up a Digital Line Output is a checkbox to Invert Line. I set the Generation Mode to Continuous Samples, and that is all I changed. Where do I go from here? Once I get the 5V power to the sensor, do I need a separate while loop for the input line or can everything be in one loop?

 

Thanks in advance!


Viewing all articles
Browse latest Browse all 2167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>