ni.com checkout is currently experiencing issues.

Support teams are actively working on the resolution.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Lux Sensor TSL2561

Dear all,

I am a student and am working on my project about a Goniophotometer.

In fact, I have done it with Arduino and submitted to my tutor already.

However, my superior told me last week that I could be better if I could programme, control and monitor via Labview.

That's why I start my labview.

I made my VI (I2C_luxSensorTestvi) but I couldn't manage to get the lux reading in my Labview screen(LuxSensorTest.jpg).

I am pleased to upload my VI, data sheet of the sensor and the working code (LCDwithSensor2013.zip) in arduino alone.

In my Arduino code, I need to include the library for the sensor. Should I include them in LIFA_Base or just use a generic I2C come with original LIFA?

P.S. This is not related to my project, so there isn't any time limit but I a curious in Labview for its powerful feature.

Thanks in advance for all fellows.

[standaloneWorkingSensor.jpg] is the photo when it work on arduino alone.

0 Kudos
Message 1 of 2
(4,163 Views)

You generally have two options.  Use the existing library and create custom LIFA functions (both in the firmware and in LabVIEW) to access the functions you created OR (if everything is standard I2C) you can re-create the library in LabVIEW using the I2C functions provided by LIFA.

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