LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting to a Grbl firmware( cnc XPro) using LV ?

Solved!
Go to solution

Hi, I'm trying to send gcode commands to my microcontroller (XPro v2) which is flashed with a grbl firmware, I'm not sure if Lifa is a good place to start with. I would appreciate any tips on how to send  those codes to my controller. 

 

Thanks 

Ahmed. 

 

Regards 

0 Kudos
Message 1 of 5
(6,826 Views)
Solution
Accepted by topic author AHmedalnahdi

You cannot use LIFA (which is deprecated btw) to communicate with something that does not have LIFA firmware on it.

 

You first need to determine what type of communication your device uses.  If it's serial communication then I'd recommend looking at the serial communication example that come with LabVIEW.

0 Kudos
Message 2 of 5
(6,796 Views)

Thanks for the reply. 

Yes indeed it is a serial communication. So what I'll need is just use a VISA configration to simply send my G Codes to the microcontroller ? (I'm a bit noobie here so bare with me ^_^ )

 

 

0 Kudos
Message 3 of 5
(6,790 Views)

Yes.

0 Kudos
Message 4 of 5
(6,776 Views)

Old thread, but If you had this... it will solve your problem:

If you have a CNC controller that is compatible GRBL 1.1 then I think I have what you need:

https://lavag.org/files/file/303-rgbl-11/

I was able to control a GRBL controller based on a Arduino Mega with firmware GRBL 1.1 that has a CNC shield connected to it.

Good luck

Benoit

0 Kudos
Message 5 of 5
(5,230 Views)