LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

LIFA serial communication from Labview to Arduino (strings)

Hi,

I urgently need help regarding this.

I need to send a string from LV to Arduino. I made the block diagram which I have attached below. It's dependent on a switch (boolean).

Problem is that I have no clue what and where to edit in the firmware. ADrexel suggested interface.h file but there are cases there. In order for the firmware to detect the case such as,say,0x1E, then what will I have to do. Surely I will haveto send the case as well as the string.

Please explain me step by step rather than answering my only doubt, taking into the consideration my VI.

Thanks for taking time and pain.

0 Kudos
Message 1 of 4
(4,000 Views)

You should packet your data that you plan on sending so that the studio can parse the string. So if you have a case that you call, within the case you would want to look for the packet signifiers.

I would use a carriage return followed by a line feed. In the Arduino firmware case, you would build the string by looking for the carriage return and line feed.

How this helps.

CLD Certified 2014
0 Kudos
Message 2 of 4
(2,736 Views)

How does one packet a data?

0 Kudos
Message 3 of 4
(2,736 Views)

Hor help with LIFA, please visit the LIFA Community Group

Regards,

Hassan Atassi
Senior Group Manager, Digital Support
0 Kudos
Message 4 of 4
(2,736 Views)