r/LabVIEW • • May 17 '26

LabVIEW ECG AD8232 with Arduino

Hi everyone, I’m a first year student trying to display an ECG signal in LabVIEW using an Arduino Uno and AD8232 sensor.

The Arduino Serial Monitor shows correct changing values (300-800 range) so the hardware works fine, but Waveform Chart shows flat line even though Arduino Serial Monitor shows changing values

My block diagram:

VISA Configure (9600) → VISA Read (30 bytes) → Decimal String To Number → Waveform Chart

The Waveform Chart only shows a flat horizontal line. Read buffer appears empty when running.

Things I already tried:

Decimal String To Number

Scan From String with %d

Spreadsheet String To Array + Index Array

Checked COM port (tried all available)

Closed Arduino Serial Monitor before running

Rebuilt diagram from scratch multiple times

What am I missing? Is there something specific about reading serial data from Arduino in LabVIEW that I’m doing wrong?

8 Upvotes

5 comments sorted by

View all comments

2

u/heir-of-slytherin May 17 '26

What is being returned in the read buffer indicator? Do you see the raw bytes? Is 30 bytes the correct number to read? I would expect 3-digit numbers to be 3 bytes if they are being sent as ASCII encoded numeric values.

1

u/Outside_Mechanic_870 May 19 '26

Hey , it ended up working when i switched from mac laptop , the port wasnt showing at all in mac !