To download NI software, including the products shown below, visit ni.com/downloads.
Laser displacement sensors are non-contact devices that measure distance, position, height, or thickness with high precision using laser technology. In this example, the optoNCDT 1910 laser sensor (model ILD1910-750) is used, connected via a 17-pin plug-in cable to an NI M Series USB DAQ device. The system acquires analog voltage output from the sensor, converts it to displacement (mm) in LabVIEW, displays the results in real time, and logs the data for further analysis.
This setup is ideal for applications requiring accurate, high-speed, and non-contact measurement such as quality control, automation, or structural monitoring where physical contact with the target is not possible or desirable.
| Step | Action |
|---|---|
| 1 | Connect the sensor’s analog output (typically 0–10 V) to an analog input channel on your NI USB DAQ (e.g., Dev1/ai0 or ai20). Use the 17-pin connector cable as specified by the sensor manual. |
| 2 | Ensure the sensor and DAQ share a common ground. |
| 3 | Power on the sensor and DAQ device. |
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.