Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   LED HELP (http://www.chiefdelphi.com/forums/showthread.php?t=127193)

Nzoner 25-02-2014 18:58

LED HELP
 
Our team purchased this LED package from AndyMark. We are using labview and wish to make these LEDS act as feeback LEDs (Like when the robot is in range of the goal or if it is in autnomous or teleop). We are lost however. :(
We are wondering how to use this package to control the lights and have the microcontroller communicate with the cRio so that we can continue to use LabView to control the lights. Please help.

pastelpony 26-02-2014 22:53

Re: LED HELP
 
Is the microcontroller an Arduino? If so, there is an Arduino interface for LabVIEW that you can use. http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835

Joe Ross 27-02-2014 01:23

Re: LED HELP
 
Quote:

Originally Posted by pastelpony (Post 1350336)
Is the microcontroller an Arduino? If so, there is an Arduino interface for LabVIEW that you can use. http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835

Have you used the LabVIEW Arduino interface? It's designed to take over the Arduino completely and read data from the arduino to LabVIEW for processing. It isn't designed to provide an interface for talking to an existing Arduino program. I don't think it will help.

killer_rabbit3 27-02-2014 07:38

Re: LED HELP
 
You can always not use the microcontroller and use a spike instead. This would allow you to control the led's and use an already existing vi library in labVIEW FRC.

martin417 27-02-2014 07:43

Re: LED HELP
 
Quote:

Originally Posted by killer_rabbit3 (Post 1350425)
You can always not use the microcontroller and use a spike instead. This would allow you to control the led's and use an already existing vi library in labVIEW FRC.

No, thes LEDs are not "on-off" LEDs, they are a string of individually address-able LEDs. They need a controller (like an Arduino) to send out address signals. You can't do that with a Spike.

pastelpony 27-02-2014 17:20

Re: LED HELP
 
Quote:

Originally Posted by Joe Ross (Post 1350399)
Have you used the LabVIEW Arduino interface? It's designed to take over the Arduino completely and read data from the arduino to LabVIEW for processing. It isn't designed to provide an interface for talking to an existing Arduino program. I don't think it will help.

Oops, wrong program. I have that interface; works well for LEDs and sensors.


All times are GMT -5. The time now is 08:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi