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

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple NI VISA Write to Arduino

Hello, I am a little inexperienced with LabView. I'm working on controlling a servo motor using Labview and Arduino. However, I want to start with the basics, because I know if i can get the basics down, I'll be able to figure out how to control a servo. Right now, I want to know how to be able to use Labview to control an LED. I'm using the Continuous Serial Write and Read.vi example to write data to arduino. When I type 5 in the command window, I am sending that arduino, and then sending that back to Labview so it can read it. I am able to do all that. But I want to digital write an arduino pin to control an LED when the arduino sees "5". I've attached my code. I can get data to write and read, but cant actually do any any thing with the data. Any advice would be appreciated.

0 Kudos
Message 1 of 2
(2,346 Views)

Where's the VI (i.e. the LabVIEW code)?  This is a LabVIEW Forum, designed to help you with your LabVIEW code.  For help with Arduino, an Arduino Forum would seem more appropriate ...

 

Bob Schor

0 Kudos
Message 2 of 2
(2,315 Views)