Serial Port Interfacing with LabVIEW. LabVIEW Interfacing. Cable Connectors DB-9 Connector. Pin-outs A Data Communications Equipment (DCE) can be interfaced to a Data Terminal Equipment (DTE) using a straight through serial cable. Typically, PC's are defined as a DTE and peripherals are defined as DCE. To interface a DCE with another. Also, you should take a look at the examples in LabVIEW for serial communications. DTE (Data Terminal Equipment) and DCE (Data Communication Equipment). An RS-232 communication link was expected to have a piece of DTE at each end with DCE in the middle. Can some one help me with some examples of performing serial communication classes. Looking at the examples under serial communication in LabVIEW is an excellent starting point. LabVIEW VISA Tutorial. Communication must be established with the Resource Manager at the beginning of any. LabVIEW Tutorial with Serial Connection. Browse other questions tagged serial-port labview serial-communication or ask your own question.
Display Serial Data on Real Time Graph in Labview

- In the last post, we have the below vi at the end. This vi get continuous data from the COM Port and then display it in the Response and the 1D array.
Serial Communication With Labview Tutorial Data Pdf
- As you can see in the above figure, the logic we used is quite simple, what we did is we simply get the array just before Data 1D and then broke it into parts i.e. array(0), array(1) and array(2) and then fed it to the Graph plots.
- In this particular example I am using accelerometer IMUv2 and displaying its values on the graph.
- After adding these blocks you are done. Now press Ctrl+T and open the Front Panel. My front Panel looks like as shown in below figure:
- Now, you can see the data is displayed. In this vi, we have displayed the data in three formats:
- Response: It shows the complete data coming from the Serial Port.
- Data1D: It separates the data and then displays it in digital format.
- Graphs: They plot the real time graph of the coming data.
Free Labview Tutorial
I have attached the vi below for download but I would recommend you guys to design it by yourself so that you learn the most out of it.
Download the Labview vi
JLCPCB – Prototype 10 PCBs for $2 (For Any Color)
China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: