Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

read form serial port using labview

Status
Not open for further replies.

smhb

Newbie level 1
Newbie level 1
Joined
Aug 18, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
hello everybody,

I am trying to connect my device through serial port and then get the waveform real-time. I have written a program but the problem is that the graph is an straight line with zero amplitude that sometimes show up which is not desired one.Could you please somebody help me and check the attached vi. I really need your help. Thanks in advance.


Regards,
 

Attachments

  • read from serial port.png
    read from serial port.png
    119 KB · Views: 137

It is not so complicated
I made sampling ADC with ATmega8 microcontroller and sent it to COM port. Sample rate was about 5000 sps but it can be up to 10000sps. Higher than that is not possible bue to baud rate limit of com port.. 115200..
I send 1 byte per ADC measured value to achieve maximum SMPS speed.
LABVIEW 10 is used and signal is displayed as on oscilloscope, and some signal processing is made such as Frequency measurement, RMS (DC), AC amplitude, high and low level.. and all these parameters are displayed on separate charts.
Complete code and tutorial you can read and download here

https://www.electronics-base.com/in...abivew-plotting-and-signal-processing-example
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top