LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Send a character to Arduino serial port?

Hello,

I had my Arduino communicate with LabVIEW via bluetooth (JY-MCU). Now, I trying fo find a way to send a character such as: 'F', 'B', etc. to the serial port, but I don't know how to do it. Can anyone help me with this? Thanks in advance.

P/s: I intend to use these characters to control some things like a motor going forward, backward, or stop.

Message 1 of 2
(7,166 Views)

This looks interesting, but it might be reinventing the wheel if you are trying to communicate to the Arduino with LabVIEW over bluetooth. I'm all for going low-level to better understand things, so if that's the purpose, then go for it.

Otherwise, you might want to check out LIFA: http://digital.ni.com/public.nsf/allkb/D86D6E2927F9C37A8625788E0077E86B

ni.com/arduino

It uses a common API to communicate to the Arduino over Xbee, USB, Bluetooth, RS232... it's all VISA calls doing serial communication. The tricky part that you'll run into is with wireless, there needs to be extra handshaking before communication. It's all documented in the Arduino Open VI and it's all open source. If anything, it'll teach you many things so you don't have to learn it the long way.

Ben J.
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(3,294 Views)