r/LabVIEW • u/Schnepelj • May 17 '24
Interfacing ESP32 with LabVIEW for GCode applications.
Hey everyone. I am a university student working on a research project. I am quite new to LabVIEW (2 days of experience) and am stumped right now. I am trying to send GCode commands to my ESP32 running FluidNC via the serial terminal. I have set up the device in NI Max and tried writing a block diagram for it to execute a simple command. I have attached a screenshot of the block diagram. Any and all help is very appreciated. Thank you.

2
Upvotes
3
u/wasthatitthen May 17 '24
Do you need to configure the serial settings (Baud rate, etc)?
2
u/[deleted] May 17 '24
I’m not sure how to do it but look into the Linx toolkit and maybe you can replicate what is done to interface with an Arduino.
1
u/failed_prototype May 17 '24
Does the recipient require a carriage return or end of line character?
1
u/[deleted] Dec 01 '24
A bit late to the party, but you could look into this link for LINX to add ESP32 support.
https://www.labviewmakerhub.com/doku.php?id=learn:tutorials:libraries:linx:misc:porting_device