ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial port and Arduino

Hi - A question for the group..

I currently have a pretty basic voltage monitoring vi setup using an Arduino with LIFA.

Would it be possible to have the vi monitor a further serial port aswell? So I basically want to indicate on the front panel the results of the arduino voltage monitoring and any incoming serial data on the serial port. Is that possible ?

cheers

Dave

0 Kudos
Message 1 of 4
(3,917 Views)

Are you wanting additional data over serial from the Arduino or a second serial device? If it is a second device, is it connected to the Arduino or directly to your computer?

LabVIEW can easily connect to multiple serial devices on a single computer. Just open a new VISA session configured for the appropriate port.

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

Hi - Thanks for the reply.

No the idea was for Labview to monitor a seperate serial port. While the Arduino is connected via USB..

d

0 Kudos
Message 3 of 4
(3,423 Views)

Take a look at the "Continuous Serial Write and Read" example.

C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Instrument IO\Serial\Continuous Serial Write and Read.vi

0 Kudos
Message 4 of 4
(3,423 Views)