LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RGB color sensor


@BrinkHombre wrote:

Hey TestEng12,

 

What data acquisition card are you using in your PC? The type of card could help the community better recommend a sensor.

 

Also, what kind of signal does the Adafruit sensor send out based on the colors it sees?

 

Best regards,


Hi Ryan, Both the sparkfun and adafruit sensors I was looking at (sparkfun) link below say they use I2C output. I don't know what this means but it seems as though it's made to communicate with a micro-controller. Do you know if I can wire this into the Lab view box and be able to do something with it in lab view?

 

I don't know what NI card is in the computer, I looked through the syllabus and lab handouts and it's never mentioned. On a side note having the card in the computer seems like a old method, is that true? I would think it should be USB or at least a GPIB cable or something.

 

Edit: link to sparkfun sensor: https://www.sparkfun.com/products/12787

Thanks,

Mark

0 Kudos
Message 11 of 12
(551 Views)

Hey Mark,

 

Can you verify which DAQ card you have in your PC? As far as it being an old method, some of our PCI(e) cards are being phased out, but many customer still utilize the PXI(e) and PCI(e) technology in their applications. It can actually be quite powerful!

 

Also, these articles may provide some more insight into how to use LabVIEW with I2C protocol. One of them even includes a USB DAQ device.

 

  1. Using I2C with LabVIEW and the USB-8451
  2. Understanding the I2C Two Wire Bus Interface with NI LabVIEW
  3. How to Use I2C in LabVIEW

 

Best regards,

Ryan B.
Technical Support Engineer
National Instruments
0 Kudos
Message 12 of 12
(520 Views)