LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create/get ColorPal driver for LabVIEW ?

Solved!
Go to solution

Good morning !

 

I'm a french student in internship in England and I work on the Starter Kit 2.0 (with DaNI Robot). My company would like to transform the obstacle avoidance feature (thanks to the ultrasonic sensor) in a colored line follower (thanks to the ColorPal from Parallax). Thus I want to program in LabVIEW but I don't really know how to get the necessary ColorPal driver or the VIs to communicate between the sbRIO 9632 and this color sensor. I use the same wire as the ultrasonic sensor to plug the ColorPal.

Thank you in advance for your help.

 

Regards

Kevin

0 Kudos
Message 1 of 3
(2,575 Views)
Solution
Accepted by kak40

Hi Kevin,

 

I have taken a look at the documentation for the ColorPal and it seems it is programmed using serial i/o. As you can see below:

 

colorpalprogramming.png

 

What you will need to do is use LabVIEW's VISA and Serial functions found under the instrument i/o palette to communicate with your ColorPal. I recommend downloading the ColorPal documentation from their website and study the syntax of the commands you will need.

 

Also for reference here is a good place to get started when programming VISA.

 

Kind Regards,


Larry Colvin
Associate Principal Engineer
Dyson Technology Ltd.

Message 2 of 3
(2,500 Views)

Hi

 

I'm looking at doing the same thing.

 

Did you manage to get it working?

 

Regards

0 Kudos
Message 3 of 3
(2,292 Views)