LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Adapting Vl53L0X ToF Sensor to LabView

Highlighted

Good Day Everyone,

 

I have an automation job working with the NI myRIO in an existing control system, and I would like to attach the Vl53L0X for locating objects. On the bench, I've been able to use the VL53L0X with an Arduino library flawlessly. However, it is not clear how to get the myRIO to even talk with the sensor (I2C only). 

 

Is there a way to convert Arduino header files to a LabView SubVI? 

 

I'm ready to put some leg work in, I just need to know how to even start. 

 

My current tests so far:

I've used a logic sniffer to analyze what the Arduino is sending the sensor, hoping I could dumbly mimic it on the myRIO, but could not make sense of the multiple, multiple write and reads before any data was actually sent. I believe that ST (the chip manufacturer) has purposefully obfuscated their chip for some unclear reason, forcing developers to go through their extremely limiting C API.  

 

Best,

SBones

0 Kudos
Message 1 of 2
(939 Views)

Have you made any more progress on this?

Im looking to use labview to read distance measurement for benchtop instrument we are building.

We are using a NI compaq daq. 

 

M

0 Kudos
Message 2 of 2
(877 Views)